About Kling O1 - Reference to Video
Kling O1 - Reference to Video is a multimodal video generation model designed for reference-guided video synthesis. It excels in transforming reference videos or images into new sequences while preserving motion dynamics, camera movements, and visual styles for consistent outputs.
Some other noteworthy features of Kling O1 - Reference to Video include image-to-video transformations, multi-reference image conditioning (up to 7 images), scene extension with continuity, and support for start/end frames or keyframes.
Ready to build with Kling O1 - Reference to Video?
Try Kling O1 - Reference to Video in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "kling-video-o1-reference-to-video",
"prompt": "@Element1 flies into the scene and lands on the table next to the ox in @Image1",
"input_image": [
"https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/daily_moo.png"
],
"elements": [
{
"frontal_image_url": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/red_bird.png",
"reference_image_urls": [
"https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/red_bird_side.png"
]
}
],
"aspect_ratio": "16:9",
"duration": 5
}'Request parameters
Every field Kling O1 - Reference to Video accepts in the request body. See the API reference for response formats.
https://hub.oxen.ai/api/ai/videos/generate| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text description of what you want to generate, or the instruction on how to edit the given image. |
input_image | array<string>nullable | Yes | — | Optional reference images. Use @Image1, @Image2, etc. in the prompt to refer to them. |
elements | array<object> | No | — | Optional element references. Use @Element1, @Element2, etc. in the prompt to refer to them. |
aspect_ratio | string | No | "16:9" | 9:161:116:9 |
duration | integer | No | 5 | Range: 5 – 10 |