← All models
Bria Background Replace
bria-background-replace
Image editby bria
Bria Background Replace allows for efficient swapping of backgrounds in images via text prompts or reference image, delivering realistic and polished results. Trained exclusively on licensed data for safe and risk-free commercial use
images
Pricing
- Price
- 5 cr / request
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| fast | boolean | Whether to use the fast model |
| seed | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| prompt | — | The prompt you would like to use to generate images. |
| image_urlrequired | string | Input Image to erase from |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| num_images | integer | Number of Images to generate. |
| ref_image_url | string | The URL of the reference image to be used for generating the new background. Use "" to leave empty. Either ref_image_url or bg_prompt has to be provided but not both. If both ref_image_url and ref_image_file are provided, ref_image_url will be used. Accepted formats are jpeg, jpg, png, webp. |
| refine_prompt | boolean | Whether to refine prompt |
| negative_prompt | string | The negative prompt you would like to use to generate images. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Seed value used for generation. |
| images | array | The generated images |
