Skip to main content
POST
/
v3
/
async
/
kling-v1.6-t2v
KLING V1.6 Text-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/kling-v1.6-t2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "mode": "<string>",
  "prompt": "<string>",
  "negative_prompt": "<string>",
  "duration": 123,
  "guidance_scale": 123
}
'
{
  "task_id": "<string>"
}
KLING V1.6 Text-to-Video is an AI text-to-video generation model developed by the Kuaishou AI team. It can transform text descriptions into dynamic 5-second 720p videos, delivering high-quality visual output with enhanced motion and semantic understanding capabilities.
This is an asynchronous API and will only return the asynchronous task’s task_id. You should use this task_id to request the Get Task Result API to retrieve the video generation result.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

mode
string
Video generation mode.Supported:
  • Standard: Fast generation, lower cost, generates 720p videos.
Default value: Standard.
prompt
string
required
The prompt text used to guide generation.Value range: 1 <= x <= 2000.
negative_prompt
string
Negative prompt, used to indicate content that the model should avoid generating.Value range: 0 <= x <= 2000.
duration
integer
Duration of the generated video (in seconds). Default value: 5.
Optional values: 5, 10
guidance_scale
float
Guidance strength parameter, which controls how closely the generated content adheres to the prompt.Value range: 0 <= x <= 1. Default value: 0.5.

Response

task_id
string
required
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result.