← All models
Generate Background
generate-background
Image generationby bria
Bria Background Generation 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 / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| fast | boolean | [DEPRECATED] Use fast mode. No longer used in V2 API. |
| seed | integer | Random seed. Set for reproducible generation |
| sync | boolean | Synchronous response mode |
| image | string | Image file |
| bg_prompt | string | Text description of the new scene or background. Either bg_prompt or ref_image_url must be provided |
| image_url | string | Image URL |
| force_rmbg | boolean | [DEPRECATED] Force background removal. No longer used in V2 API. |
| ref_image_url | string | URL of reference image for background generation. Either bg_prompt or ref_image_url must be provided |
| refine_prompt | boolean | Refine the prompt for optimal results |
| ref_image_file | string | Reference image file for background generation |
| negative_prompt | string | Negative prompt for image generation |
| original_quality | boolean | Retain original input image size, otherwise scale to 1MP |
| enhance_ref_image | boolean | [DEPRECATED] Enhance reference image. No longer used in V2 API. |
| content_moderation | boolean | Enable content moderation |
