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

FieldTypeDescription
fastbooleanWhether 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.
promptThe prompt you would like to use to generate images.
image_urlrequiredstringInput Image to erase from
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
num_imagesintegerNumber of Images to generate.
ref_image_urlstringThe 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_promptbooleanWhether to refine prompt
negative_promptstringThe negative prompt you would like to use to generate images.

Output

FieldTypeDescription
seedintegerSeed value used for generation.
imagesarrayThe generated images