GET
/v1/schemas/fal/video/kling/v4/text-to-video
Accept:
Request body
6 properties · 0 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| aspect_ratio | enum | Aspect ratio of the generated video. | 16:9 | 9:16 | 1:1 | 4:3 | 3:4 | 21:9 · default: "16:9" |
| duration | integer | Video duration in seconds (3-30). | 3 ≤ n ≤ 30 · default: 5 |
| hdr | boolean | Whether to output 10-bit HDR instead of SDR. Supported at 1080p and 4k only, and billed on top of the base rate. | default: false |
| multi_prompt | KlingV4Shot[] | Per-shot prompts for multi-shot generation. The video duration is the sum of the shot durations. | items ≥ 1 · nullable |
| prompt | string | Text prompt. Either prompt or multi_prompt must be provided. | length ≤ 26000 · nullable |
| resolution | enum | Output resolution. | 720p | 1080p | 4k · default: "1080p" |
Types
1 $defsKlingV4Shotobject
| duration | integer | Shot duration in seconds. | 1 ≤ n ≤ 30 · default: 5 |
| prompt* | string | The prompt for this shot. | length ≥ 1 · length ≤ 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"kling/v4/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}