Infery.ai
← 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

FieldTypeDescription
fastboolean[DEPRECATED] Use fast mode. No longer used in V2 API.
seedintegerRandom seed. Set for reproducible generation
syncbooleanSynchronous response mode
imagestringImage file
bg_promptstringText description of the new scene or background. Either bg_prompt or ref_image_url must be provided
image_urlstringImage URL
force_rmbgboolean[DEPRECATED] Force background removal. No longer used in V2 API.
ref_image_urlstringURL of reference image for background generation. Either bg_prompt or ref_image_url must be provided
refine_promptbooleanRefine the prompt for optimal results
ref_image_filestringReference image file for background generation
negative_promptstringNegative prompt for image generation
original_qualitybooleanRetain original input image size, otherwise scale to 1MP
enhance_ref_imageboolean[DEPRECATED] Enhance reference image. No longer used in V2 API.
content_moderationbooleanEnable content moderation