GET

/v1/schemas/fal/image/fal-ai%2Fflux-2-flex

kind inputactivity imagehash 28f7d4c1extracted Jul 6, 2026version currentsource upstream spec ↗

Request body

9 properties · 1 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt to generate an image from.
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"
num_inference_stepsintegerThe number of inference steps to perform.2 ≤ n ≤ 50 · default: 28
enable_safety_checkerbooleanWhether to enable the safety checker.default: true
image_sizeImageSize | enumThe size of the generated image.default: "landscape_4_3"
guidance_scalenumberThe guidance scale to use for the generation.1.5 ≤ n ≤ 10 · default: 3.5
output_formatenumThe format of the generated image.jpeg | png · default: "jpeg"
seedintegerThe seed to use for the generation.nullable
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

Validate a payload

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