Skip to main content
POST
/
v3
/
async
/
kling-o1-ref2v
Kling-o1 Reference to Video
curl --request POST \
  --url https://api.myrouter.ai/v3/async/kling-o1-ref2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "video": "<string>",
  "images": [
    {}
  ],
  "prompt": "<string>",
  "duration": 123,
  "aspect_ratio": "<string>",
  "keep_original_sound": true
}
'
{
  "task_id": "<string>"
}
Kling Omni Video O1 reference-to-video generation uses character, prop, or scene references to generate creative videos from multiple perspectives. It extracts subject features and creates new video content while maintaining frame-to-frame consistency.
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

video
string
Video URL.
images
array
default:"[]"
Reference images containing elements, scenes, styles, etc. Up to 7 images.Array length: 0 - 7
prompt
string
required
Positive prompt.
duration
integer
default:5
Duration of the generated media in seconds.Possible values: 3, 4, 5, 6, 7, 8, 9, 10
aspect_ratio
string
default:"16:9"
Aspect ratio of the generated video.Possible values: 16:9, 9:16, 1:1
keep_original_sound
boolean
default:true
Whether to keep the original audio from the video.

Response

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