falImage to imageComing soon
fal-ai/flux-2-lora-gallery/add-background
fal-ai/flux-2-lora-gallery/add-background is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
image_urls required | URLs or files | — | The URLs of the images. Provide an image with a white or clean background. |
prompt | text | Add Background forest | The prompt describing the background to add. Must start with 'Add Background' followed by your description. |
image_size | JSON | — | The size of the generated image. If not provided, the size of the input image will be used. |
guidance_scale | number 0 to 20 | 2.5 | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. |
num_inference_steps | number (whole) 4 to 50 | 40 | The number of inference steps to perform. |
acceleration | one of none, regular | regular | Acceleration level for image generation. 'regular' balances speed and quality. |
seed | number (whole) | — | Random seed for reproducibility. Same seed with same prompt will produce same result. |
output_format | one of png, jpeg, webp | png | The format of the output image |
num_images | number (whole) 1 to 4 | 1 | Number of images to generate |
lora_scale | number 0 to 2 | 1 | The strength of the add background effect. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/flux-2-lora-gallery/add-background",
"input": {
"image_urls": [
"<image_urls>"
]
}
}'