infery
← All models

Flux 2 Lora Gallery

flux-2-lora-gallery-add-background

Image editby Black Forest Labs

Add a background to images with white/clean background

images

Details

Accepts
image

Pricing

Price
2.63 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility. Same seed with same prompt will produce same result.
promptstringThe prompt describing the background to add. Must start with 'Add Background' followed by your description.
sync_modebooleanIf `True`, the media will be returned as a data URI and won't be saved in history.
image_sizeThe size of the generated image. If not provided, the size of the input image will be used.
image_urlsrequiredarrayThe URLs of the images. Provide an image with a white or clean background.
lora_scalenumberThe strength of the add background effect.
num_imagesintegerNumber of images to generate
accelerationstringenum: none, regularAcceleration level for image generation. 'regular' balances speed and quality.
output_formatstringenum: png, jpeg, webpThe format of the output image
guidance_scalenumberThe CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.
num_inference_stepsintegerThe number of inference steps to perform.
enable_safety_checkerbooleanWhether to enable the safety checker for the generated image. Disabling it requires account authorization; unauthorized requests are always checked.

Output

FieldTypeDescription
seedintegerThe seed used for generation
imagesarrayThe generated images with added background
promptstringThe prompt used for generation