Skip to main content
POST
https://api.novita.ai
/
v3
/
async
/
kling-o1-ref2v
Kling-o1 Reference Video Generation
curl --request POST \
  --url https://api.novita.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 video generation feature leverages character, prop, or scene references to generate creative videos from multiple perspectives. It extracts subject features and creates new video content while maintaining consistency between frames.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

video
string
The video URL.
images
array
default:"[]"
Including reference images of the element, scene, style, etc. Max 7.Array length: 0 - 7
prompt
string
required
The positive prompt for the generation.
duration
integer
default:5
The duration of the generated media in seconds.Optional values: 3, 4, 5, 6, 7, 8, 9, 10
aspect_ratio
string
default:"16:9"
The aspect ratio of the generated video.Optional values: 16:9, 9:16, 1:1
keep_original_sound
boolean
default:true
Select whether to keep the video original sound through the parameter.

Response

task_id
string
required
Use the task_id to request the Task Result API to retrieve the generated outputs.