You're looking at a specific version of this model. Jump to the model overview.

bria /generate-background:3a1f29ae

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Image file
image_url
string
Image URL
bg_prompt
string
Text description of the new scene or background. Either bg_prompt or ref_image_url must be provided
ref_image_url
string
URL of reference image for background generation. Either bg_prompt or ref_image_url must be provided
ref_image_file
string
Reference image file for background generation
negative_prompt
string
Negative prompt for image generation
sync
boolean
True
Synchronous response mode
refine_prompt
boolean
True
Refine the prompt for optimal results
original_quality
boolean
False
Retain original input image size, otherwise scale to 1MP
content_moderation
boolean
False
Enable content moderation
seed
integer
Random seed. Set for reproducible generation
fast
boolean
True
[DEPRECATED] Use fast mode. No longer used in V2 API.
enhance_ref_image
boolean
True
[DEPRECATED] Enhance reference image. No longer used in V2 API.
force_rmbg
boolean
False
[DEPRECATED] Force background removal. No longer used in V2 API.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}