Skip to main content
POST
/
v3
/
async
/
kling-o1-i2v
Kling-o1 Image to Video
curl --request POST \
  --url https://api.myrouter.ai/v3/async/kling-o1-i2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "image": "<string>",
  "prompt": "<string>",
  "duration": 123,
  "last_image": "<string>",
  "aspect_ratio": "<string>"
}
'
{
  "task_id": "<string>"
}
Kling Omni Video O1 image-to-video leverages MVL (Multimodal Vision Language) technology to transform static images into cinematic videos. It maintains subject consistency while adding natural motion, physics simulation, and smooth scene dynamics.
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 reference image. Supports Base64-encoded image or image URL. Supported formats: jpg/jpeg/png. File size must not exceed 10MB. Width and height must be at least 300px. Aspect ratio must be between 1:2.5 and 2.5:1.
prompt
string
required
Positive prompt for video generation. Maximum 2500 characters.Length limit: 0 - 2500
duration
integer
default:5
Duration of the generated video in seconds. Supports 5 and 10 seconds.Possible values: 5, 10
last_image
string
Last frame reference image. Supports Base64-encoded image or image URL. When setting the last frame, the first frame (image) must also be set. Supported formats: jpg/jpeg/png. File size must not exceed 10MB. Width and height must be at least 300px. Aspect ratio must be between 1:2.5 and 2.5:1.
aspect_ratio
string
default:"16:9"
Aspect ratio of the generated video. Required when no first frame reference image is used.Possible values: 16:9, 9:16, 1:1

Response

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