Skip to main content

Try Kling O1 - Reference to Video in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: kling-video-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.
MetricValue
Parameter CountUnknown
Mixture of ExpertsUnknown
Context LengthUnknown
MultilingualNo
Quantized*Unknown
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
This blocks until the video is ready (typically 5-15 minutes). Prefer Async or Async with SSE for anything beyond quick experimentation.See the video generation reference for more details.
curl -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"
  ]
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/kling-video-o1-reference-to-video

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"@Element1 flies into the scene and lands on the table next to the ox in @Image1"Text description of what you want to generate, or the instruction on how to edit the given image.
input_imagearray<string>["https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/daily_moo.png"]Optional reference images. Use @Image1, @Image2, etc. in the prompt to refer to them.

Optional parameters

FieldTypeDefaultDescription
elementsarray<object>[{"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"]}]Optional element references. Use @Element1, @Element2, etc. in the prompt to refer to them.
aspect_ratiostring"16:9"Video aspect ratio One of: 9:16, 1:1, 16:9.
durationinteger5Video duration in seconds One of: 5, 10.