GET
/v1/schemas/fal/video/google/gemini-omni-flash/v1.2/text-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracea587692c29044d4fbb4cee80fea3053748e3bc711897bcac0bcd53c2e0588e47{
"fetchedAt": 1793941202,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
4 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt describing the video you want to generate. | length ≤ 20000 |
| resolution | enum | The resolution of the generated video. | 360p | 720p | 1080p | 4k · default: "720p" |
| aspect_ratio | enum | The aspect ratio of the generated video. | 16:9 | 9:16 · default: "16:9" |
| duration | integer | The duration of the generated video, in seconds. | 3 ≤ n ≤ 15 · default: 8 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"google/gemini-omni-flash/v1.2/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}