GET
/v1/schemas/fal/video/fal-ai%2Fkling-video%2Fv2.6%2Fpro%2Ftext-to-video
Accept:
Request body
6 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | length ≤ 2500 | |
| generate_audio | boolean | Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. | default: true |
| cfg_scale | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. | 0 ≤ n ≤ 1 · default: 0.5 |
| duration | enum | The duration of the generated video in seconds | 5 | 10 · default: "5" |
| aspect_ratio | enum | The aspect ratio of the generated video frame | 16:9 | 9:16 | 1:1 · default: "16:9" |
| negative_prompt | string | length ≤ 2500 · default: "blur, distort, and low quality" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/kling-video/v2.6/pro/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}