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 with exceptional motion smoothness, cinematic visual quality, outstanding prompt comprehension, and support for 1080p HD video output.
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

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

Request Body

string
required
First frame image for the video. Supported image formats include .jpg, .jpeg, .png. Image file size must not exceed 10MB, with a minimum resolution of 300*300 pixels.
string
required
Positive prompt text for video generation. Must not exceed 2500 characters.
string
default:"5"
Duration of the generated video (in seconds).Possible values: 5, 10
number
Guidance scale parameter that controls how closely the generated content adheres to the prompt.Range: 0 to 1
Step: 0.01
string
Negative prompt to specify content to avoid in the generation. Must not exceed 2500 characters.

Response

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.