Skip to main content

Create task

POST /kling/v1/videos/text2video
cURL
200
string
required
Must be kling-2.0-master.
string
required
Positive prompt, up to 2,500 characters.
string
Content to avoid, up to 2,500 characters.
string
default:"pro"
Use pro; Kling 2.0 Master outputs 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.
Task status is 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
Generated result URLs are removed after 30 days. Save the files promptly.
This Legacy model supports 1080p only. It does not support an end frame, audio, specified voices, multi-shot, motion brush, camera control, or cfg_scale.