Skip to main content
POST
/
v3
/
async
/
kling-v3.0-pro-t2v
Kling v3.0 Pro Text-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/kling-v3.0-pro-t2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "sound": true,
  "prompt": "<string>",
  "duration": 123,
  "cfg_scale": 123,
  "aspect_ratio": "<string>",
  "multi_prompt": [
    {}
  ],
  "negative_prompt": "<string>"
}
'
{
  "task_id": "<string>"
}
Kling v3.0 Pro text-to-video generates high-quality videos from text prompts, featuring natural motion and smooth scene dynamics. It supports flexible durations from 3 to 15 seconds, synchronized audio and video generation, and multi-shot video generation.
This is an asynchronous API and only returns the async task’s task_id. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

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

Request Body

sound
boolean
default:false
Whether to generate audio while generating the video.
prompt
string
required
The positive prompt text for generating the video. It can describe scene motion, camera movement, actions, voice style, atmosphere, and sound effects. Must not exceed 2500 characters. Mutually exclusive with multi_prompt.Length limit: 0 - 2500
duration
integer
default:5
The duration of the generated video, in seconds. Supports flexible durations from 3 to 15 seconds.Value range: [3, 15]
cfg_scale
number
Controls the flexibility of video generation. Higher values make the generated content adhere more closely to the prompt; lower values produce more natural motion.Value range: [0, 1]
aspect_ratio
string
default:"16:9"
The aspect ratio of the generated video.Available values: 16:9, 9:16, 1:1
multi_prompt
array
A list of prompts for multi-shot video generation. Splits the video into multiple shots. Mutually exclusive with prompt.
negative_prompt
string
Negative prompt, specifying elements to avoid in the visuals and audio. Must not exceed 2500 characters.Length limit: 0 - 2500

Response

task_id
string
required
Use the task_id to request the Get Task Result API to retrieve the generated output.