- Text to Video
- Image to Video
Create task
POST /kling/v1/videos/text2videocURL
200
string
required
Must be
kling-2.1-master.string
required
Positive prompt, up to 2,500 characters.
string
Content to avoid, up to 2,500 characters.
string
default:"std"
std for 720p or pro for 1080p.string
default:"5"
5 or 10 seconds.string
default:"16:9"
16:9, 9:16, or 1:1.object
Set
enabled to request an additional watermarked result.Query task by ID
GET /kling/v1/videos/text2video/{task_id}cURL
Task result
string
required
Use the ID returned by the matching create endpoint.
submitted, processing, succeed, or failed. Successful output is in data.task_result.videos; failure details are in data.task_status_msg. Result items contain id, url, watermark_url, and duration.
200
This Legacy model does not support an end frame, audio, specified voices, multi-shot, motion brush, camera control, or
cfg_scale.