GET
/v1/schemas/fal/image/fal-ai%2Fflux-pro%2Fv1.1
Accept:
Request body
8 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to generate an image from. | |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| output_format | enum | The format of the generated image. | jpeg | png · default: "jpeg" |
| safety_tolerance | enum | The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. | 1 | 2 | 3 | 4 | 5 | 6 · default: "2" |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| image_size | ImageSize | enum | The size of the generated image. | default: "landscape_4_3" |
| seed | integer | The same seed and the same prompt given to the same version of the model will output the same image every time. | nullable |
| enhance_prompt | boolean | Whether to enhance the prompt for better results. | default: false |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/flux-pro/v1.1","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}