GET

/v1/schemas/fal/image/blackforestlabs/flux-3/edit-image

kind inputactivity imagehash 9d1aa805…extracted Nov 27, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
30d8b64c9bd9ca45f32f0d675b5ce1d8e490c42fc942bdb2470ce3725d492ef9
{
  "fetchedAt": 1795755600,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

10 properties · 2 required · 2 $defs
propertytypedescriptionconstraints
image_urls*string[]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.items ≥ 1 · items ≤ 10
prompt*stringThe prompt to generate an image from.
resolutionenumOutput resolution tier. 4k can take several minutes.768sq | 1k | 1.5k | 2k | 4k · default: "1k"
output_formatenumThe format of the generated image.jpeg | png · default: "jpeg"
aspect_ratioenumOutput aspect ratio. Auto uses the first reference image when editing.auto | 21:9 | 2:1 | 16:9 | 3:2 | 7:5 · +9 more · default: "auto"
safety_toleranceintegerSafety tolerance, from 0 (strictest) to 4.0 ≤ n ≤ 4 · default: 2
bounding_boxesEditBoundingBox[]Optional layout, with (0, 0) at the top-left of each image: keep, move, resize or remove objects from the references, or place new ones. Name boxes in the prompt by label, e.g. `<dragon>`.items ≤ 32 · nullable
versionconstThe model version."latest" · default: "latest"
sync_modebooleanReturn the image as a data URI instead of storing it in request history.default: false
enable_prompt_expansionbooleanExpand the prompt while preserving its intent and reference roles.default: false

Types

2 $defs

Boxobject

x_max*numberRight edge as a fraction of the image width (0-1).0 ≤ n ≤ 1
x_min*numberLeft edge as a fraction of the image width (0-1).0 ≤ n ≤ 1
y_min*numberTop edge as a fraction of the image height (0-1).0 ≤ n ≤ 1
y_max*numberBottom edge as a fraction of the image height (0-1).0 ≤ n ≤ 1

EditBoundingBoxobject

boxBoxWhere the object goes in the output image, as on text-to-image. Use instead of `source_box`/`target_box`.nullable
target_boxBoxWhere the object goes in the output image. Leave unset to remove a referenced object; set both boxes to move or resize it.nullable
source_image_indexinteger0-based index into `image_urls` of the reference the object comes from. Leave unset for a new object.n ≥ 0 · nullable
source_boxBoxWhere the object is in the reference image. Requires `source_image_index`.nullable
labelstringShort name for the object in this box, e.g. `dragon`. Write `<dragon>` in the prompt to tie the box to those words; a box the prompt doesn't name is added to the scene. Defaults to `obj_<n>`.length ≤ 64 · nullable
description*stringWhat to draw in this box: the object and its look.length ≤ 500

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"blackforestlabs/flux-3/edit-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}