GET

/v1/schemas/fal/image/fal-ai/flux-2-max/edit

kind inputactivity imagehash c1f565c5…extracted Aug 8, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
08f4b6b2522b676a64d6d27ea456018ed0fed729e989a81a9aecd1f1876a1278
{
  "fetchedAt": 1786165357,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

8 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt to generate an image from.
image_urls*string[]List of URLs of input images for editing
safety_toleranceenumThe safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.1 | 2 | 3 | 4 | 5 · default: "2"
image_sizeImageSize | enumThe size of the generated image. If `auto`, the size will be determined by the model.default: "auto"
output_formatenumThe format of the generated image.jpeg | png · default: "jpeg"
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
enable_safety_checkerbooleanWhether to enable the safety checker. Disabling it requires account authorization; unauthorized requests are always checked.default: true
seedintegerThe seed to use for the generation.nullable

Types

1 $defs

ImageSizeobject

heightintegerThe height of the generated image.0 < n ≤ 14142 · default: 512
widthintegerThe width of the generated image.0 < n ≤ 14142 · default: 512

Validate a payload

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