GET
/v1/schemas/fal/video/fal-ai%2Fkandinsky5%2Ftext-to-video
Accept:
Request body
5 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt to guide video generation. | |
| duration | enum | The length of the video to generate (5s or 10s) | 5s | 10s · default: "5s" |
| aspect_ratio | enum | Aspect ratio of the generated video. One of (3:2, 1:1, 2:3). | 3:2 | 1:1 | 2:3 · default: "3:2" |
| num_inference_steps | integer | The number of inference steps. | 1 ≤ n ≤ 50 · default: 30 |
| resolution | const | Resolution of the generated video in W:H format. Will be calculated based on the aspect ratio(768x512, 512x512, 512x768). | "768x512" · default: "768x512" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/kandinsky5/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}