FLUX 3 Image Edit
blackforestlabs/flux-3/edit-imageEdit and enhance images with FLUX 3 Image Edit from fal through one Spiral API key. FLUX 3 Image Edit from Black Forest Labs makes precise local edits without changing the rest of the image, and combines up to 10 references into one balanced, well-composed result. It runs in the background and returns images. Pay as you go, with no subscription.
Pricing
resolution: otherwise $0.0624, 1k (default) $0.1248, 1.5k $0.1872, 2k $0.312, 4k $1.0608 per megapixel.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The prompt to generate an image from. |
image_urls required | URLs or files | — | Reference image URLs or data URIs, in image 1 through image 10 order. Each must be at least 256 pixels per dimension. Oversized images are automatically downscaled to at most 4 megapixels while preserving aspect ratio. The first controls auto aspect ratio. |
aspect_ratio | one of auto, 21:9, 2:1, 16:9, 3:2, 7:5, 4:3, 5:4, 1:1, 4:5, 3:4, 5:7, 2:3, 9:16, 1:2 | auto | Output aspect ratio. Auto uses the first reference image when editing. |
resolution | one of 768sq, 1k, 1.5k, 2k, 4k | 1k | Output resolution tier. 4k can take several minutes. |
enable_prompt_expansion | true or false | false | Expand the prompt while preserving its intent and reference roles. |
safety_tolerance | number (whole) 0 to 4 | 2 | Safety tolerance, from 0 (strictest) to 4. |
output_format | one of jpeg, png | jpeg | The format of the generated image. |
version | text | latest | The model version. |
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": "blackforestlabs/flux-3/edit-image",
"input": {
"prompt": "A red fox leaping over a stream in a pine forest, low-angle wildlife photograph.",
"image_urls": [
"<image_urls>"
]
}
}'Frequently asked questions
How much does FLUX 3 Image Edit cost?
`resolution`: otherwise $0.0624, 1k (default) $0.1248, 1.5k $0.1872, 2k $0.312, 4k $1.0608 per megapixel. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use FLUX 3 Image Edit through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "blackforestlabs/flux-3/edit-image"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use FLUX 3 Image Edit?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use FLUX 3 Image Edit?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.