GET
/v1/schemas/fal/image/fal-ai/gemini-25-flash-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace90c3eee7a8fcd46a0d992d58774d238bb6168472a948bc8abd42a7a3f445a9d3{
"fetchedAt": 1784696551,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
8 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt to generate an image from. | length ≥ 3 · length ≤ 50000 |
| output_format | enum | The format of the generated image. | jpeg | png | webp · default: "png" |
| 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 |
| safety_tolerance | enum | The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. | 1 | 2 | 3 | 4 | 5 | 6 · default: "4" |
| aspect_ratio | enum | The aspect ratio of the generated image. | 21:9 | 16:9 | 3:2 | 4:3 | 5:4 | 1:1 · +4 more · default: "1:1" |
| limit_generations | boolean | Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate. | default: true |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| seed | integer | The seed for the random number generator. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/gemini-25-flash-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}