Skip to main content
POST
Kling V2.1 Master Image-to-Video
Kling 2.1 Master is the flagship version of the Kling 2.1 series, featuring top-tier image-to-video generation capabilities, exceptional motion smoothness, cinematic visual effects, outstanding prompt understanding, and support for 1080p HD video output.
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 video generation result.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API key}}.

Request Body

string
required
The first-frame image for the video; supported image formats include .jpg, .jpeg, and .png; the image file size must not exceed 10MB, and the resolution must be at least 300*300 pixels.
string
required
The positive prompt text for generating the video; must not exceed 2500 characters.
string
default:"5"
The duration of the generated video (unit: seconds).Optional values: 5, 10
number
Guidance strength parameter, controlling how closely the generated content follows the prompt.Value range: 0 to 1
Step size: 0.01
string
Negative prompt, used to avoid undesired content; must not exceed 2500 characters.

Response Information

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