API docs / Video models

Kling O1 API

Edit videos through natural-language commands while preserving original motion and timing. Modifies characters, environments, and visual style based on text prompts and reference images without altering camera movement, subject actions, or scene layout. Supports up to 4 reference images for detailed character replacements and stylistic transformations. Uses structured visual inputs with frontal images and multiple angle references for accurate transformations. Handles videos from 3-10 seconds in duration with optional audio retention.

Model id
kwaivgi/kling-o1
Provider
Kling
Output
Video
Price
From 1742 credits per run, the same as on voor.ai. Options such as length or resolution can change it.

Request

POST https://voor.ai/v1/generations with "model": "kwaivgi/kling-o1". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.

curl https://voor.ai/v1/generations \
  -H "Authorization: Bearer $VOOR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "kwaivgi/kling-o1",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light"
  },
  "callback_url": "https://example.com/webhooks/voor"
}'

# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $VOOR_API_KEY"

Input parameters

NameTypeDetails
promptrequiredstring

Text prompt for video generation. Can include references like <<<image_1>>>, <<<video_1>>> to reference inputs.

first_framearray of URLs

First frame image for the video. Supports .jpg/.jpeg/.png, max 10MB. Each file: up to 10 MB.

Up to 1 files · Accepts image/*

last_framearray of URLs

Last frame image for the video. Requires start_image to be set. Supports .jpg/.jpeg/.png, max 10MB. Each file: up to 10 MB.

Up to 1 files · Accepts image/*

reference_imagesarray of URLs

Reference images for elements, scenes, or styles (up to 7 without video, 4 with video). Supports .jpg/.jpeg/.png. Upload up to 7 reference images. They are numbered in upload order and can be inserted into the prompt as <<<image_1>>>, <<<image_2>>>, and so on.

Up to 7 files · Accepts image/*

reference_videosarray of URLs

Reference video for style, camera movement, or as base for editing. Supports .mp4/.mov, 3-10s duration, max 200MB. Each file: 3–10s. Upload reference videos. They are numbered in upload order and can be inserted into the prompt as <<<video_1>>>, <<<video_2>>>, and so on.

Up to 1 files · Accepts video/*

aspect_ratiostring

Default: 16:9

One of: 16:9, 9:16, 1:1

duration_secondsnumber

Default: 5

One of: 3, 4, 5, 6, 7, 8, 9, 10

keep_original_soundboolean

Whether to keep the original sound from the reference video.

Default: true

modestring

Default: std

One of: std, pro

video_reference_typestring

Default: feature

One of: feature, base