GET
/v1/schemas/fal/image/fal-ai%2Fflux-2-pro%2Fedit
Accept:
Request body
8 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image_urls* | string[] | List of URLs of input images for editing | |
| prompt* | string | The prompt to generate an image from. | |
| 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 · default: "2" |
| enable_safety_checker | boolean | Whether to enable the safety checker. | default: true |
| image_size | ImageSize | enum | The size of the generated image. If `auto`, the size will be determined by the model. | default: "auto" |
| output_format | enum | The format of the generated image. | jpeg | png · default: "jpeg" |
| seed | integer | The seed to use for the generation. | nullable |
| 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/flux-2-pro/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}