Skip to main content
POST
/
v3
/
async
/
kling-v1.6-t2v
KLING V1.6 Text-to-Video
curl --request POST \
  --url https://api.myrouter.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 model developed by the Kuaishou AI team. It can transform text descriptions into dynamic 5-second 720p videos, with high-quality visual output and enhanced motion and semantic understanding.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

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

Request Body

mode
string
Video generation mode.Supported:
  • Standard: Fast generation, lower cost, produces 720p video.
Default: Standard.
prompt
string
required
Text prompt to guide the generation.Range: 1 <= x <= 2000.
negative_prompt
string
Negative prompt to indicate content the model should avoid generating.Range: 0 <= x <= 2000.
duration
integer
Duration of the generated video (in seconds). Default: 5.
Possible values: 5, 10
guidance_scale
float
Guidance scale parameter that controls how closely the generated content adheres to the prompt.Range: 0 <= x <= 1. Default: 0.5.

Response

task_id
string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.