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

bria /generate-background:e9e2ad46

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
fast
boolean
True
Use fast mode for best balance between speed and quality
refine_prompt
boolean
True
Refine the prompt for optimal results using Meta Llama 3
enhance_ref_image
boolean
True
Enhance reference image for optimal results
original_quality
boolean
False
Retain original input image size, otherwise scale to 1MP
force_rmbg
boolean
False
Force background removal even if image has alpha channel
content_moderation
boolean
False
Enable content moderation
seed
integer
Random seed. Set for reproducible generation

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'}