GET
/v1/schemas/fal/image/fal-ai%2Fflux-pro%2Fv1.1-ultra
Accept:
Request body
11 properties · 1 required · 0 $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 |
| raw | boolean | Generate less processed, more natural-looking images. | default: false |
| 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 |
| image_url | string | The image URL to generate an image from. | nullable |
| enhance_prompt | boolean | Whether to enhance the prompt for better results. | default: false |
| image_prompt_strength | number | The strength of the image prompt, between 0 and 1. | 0 ≤ n ≤ 1 · default: 0.1 |
| aspect_ratio | enum | string | The aspect ratio of the generated image. | default: "16:9" |
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-ultra","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}