GET
/v1/schemas/fal/image/fal-ai/gemini-25-flash-image/edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace050204df0adb47f595d1bbb046f11be0f50d03869eca2207e4903fb511ee5e92{
"fetchedAt": 1784696551,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt for image editing. | length ≥ 3 · length ≤ 50000 |
| image_urls* | string[] | The URLs of the images to use for image-to-image generation or image editing. | |
| 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" |
| 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 |
| output_format | enum | The format of the generated image. | jpeg | png | webp · default: "png" |
| aspect_ratio | enum | The aspect ratio of the generated image. | auto | 21:9 | 16:9 | 3:2 | 4:3 | 5:4 · +5 more · nullable |
| 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/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}