Kling Text-to-Video kling-v3
Submit a Kling text-to-video task via /kling/v1/videos/text2video. The request body is forwarded to the Kling official API after model mapping and public task ID injection.
POST
Kling Text-to-Video Task (kling-v3)
Authorizations
Body
application/json
Positive text prompt
- Must not exceed 2500 characters
- Use <<<voice_1>>> to specify a voice, index matching voice_list; up to 2 voices; sound must be 'on' when specifying voices; keep syntax simple, e.g.: A man<<<voice_1>>>says: "Hello"
- When voice_list is not empty and prompt references a voice ID, billing is based on 'with specified voice'
- Must not be empty when multi_shot is false or shot_type is intelligence.
Maximum string length:
2500Multi-shot information including prompt, duration, etc. Define shot index and corresponding prompt and duration via index, prompt, duration parameters.
- Max 6 shots, min 1 shot.
- Max length per shot content: 512 characters.
- Each shot duration must not exceed total task duration and must be >= 1.
- Sum of all shot durations must equal total task duration.
Use key:value format:
Required when multi_shot is true and shot_type is customize.
Required array length:
1 - 6 elementsVideo generation mode
- std: Standard mode, cost-effective, output video resolution 720P.
- pro: Expert mode (high quality), better video quality, output video resolution 1080P.
- 4k: 4K mode, high quality (same as pro), better video quality, output video resolution 4K.
Available options:
std, pro, 4k