Skip to main content
POST
/
v3
/
async
/
kling-v2.1-i2v-master
Kling V2.1 Master Image-to-Video
curl --request POST \
  --url https://api.myrouter.ai/v3/async/kling-v2.1-i2v-master \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "image": "<string>",
  "prompt": "<string>",
  "duration": "<string>",
  "guidance_scale": 123,
  "negative_prompt": "<string>"
}
'
{
  "task_id": "<string>"
}
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

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

Request Body

image
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.
prompt
string
required
Positive prompt text for video generation. Must not exceed 2500 characters.
duration
string
default:"5"
Duration of the generated video (in seconds).Possible values: 5, 10
guidance_scale
number
Guidance scale parameter that controls how closely the generated content adheres to the prompt.Range: 0 to 1
Step: 0.01
negative_prompt
string
Negative prompt to specify content to avoid in the generation. Must not exceed 2500 characters.

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.