跳转到主要内容
POST
Kling V2.6 Pro Text-to-Video
This is an asynchronous API and only returns the task_id of the asynchronous task.
This is an asynchronous API and only returns the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

string
必填
Enum value: application/json
string
必填
Bearer authentication format: Bearer {{API Key}}.

Request Body

boolean
默认值:true
Whether to generate audio while generating the video.
string
必填
Positive prompt text for generating the video; cannot exceed 2500 characters.
integer
默认值:5
Duration of the generated media (seconds)Optional values: 5, 10
number
默认值:0.5
Controls the flexibility of video generation. The higher the value, the more closely the generated content matches the prompt.Value range: [0, 1]
string
默认值:"1:1"
Aspect ratio of the generated videoOptional values: 16:9, 9:16, 1:1
string
Negative prompt; length must not exceed 2500 characters.

Response

string
必填
Use task_id to request the Get Task Result API to retrieve the generated output.
最后修改于 2026年6月10日