bria/generate-background ✓🔢🖼️📝 → 🖼️
About
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

Example Output
Output

Performance Metrics
9.38s
Prediction Time
9.54s
Total Time
All Input Parameters
{ "fast": true, "sync": true, "image": "https://replicate.delivery/pbxt/NIKKLcHFHaRbZBVggmGNysFkbRXT2zXx4h9VbV9kuX5yn4ms/unnamed-13.jpg", "bg_prompt": "in a parking lot", "force_rmbg": false, "num_results": 1, "refine_prompt": true, "original_quality": false, "enhance_ref_image": true, "content_moderation": false }
Input Parameters
- fast
- Use fast mode for best balance between speed and quality
- seed
- Random seed. Set for reproducible generation
- sync
- Synchronous response mode
- image
- Image file
- bg_prompt
- Text description of the new scene or background. Either bg_prompt or ref_image_url must be provided
- image_url
- Image URL
- force_rmbg
- Force background removal even if image has alpha channel
- ref_image_url
- URL of reference image for background generation. Either bg_prompt or ref_image_url must be provided
- refine_prompt
- Refine the prompt for optimal results using Meta Llama 3
- ref_image_file
- Reference image file for background generation
- negative_prompt
- Negative prompt for image generation
- original_quality
- Retain original input image size, otherwise scale to 1MP
- enhance_ref_image
- Enhance reference image for optimal results
- content_moderation
- Enable content moderation
Output Schema
Output
Example Execution Logs
Downloading 1657154 bytes Downloaded 1.58MB in 0.11sec
Version Details
- Version ID
3318f0b99e0b2a93a7db3aa6fcbd33c3614b5418dc32f30d01b9ec789bfafb51
- Version Created
- October 3, 2025