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
| Name | Type | Details |
|---|---|---|
promptrequired | string | Text prompt for video generation. Can include references like <<<image_1>>>, <<<video_1>>> to reference inputs. |
first_frame | array 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_frame | array 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_images | array 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_videos | array 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_ratio | string | Default: One of: 16:9, 9:16, 1:1 |
duration_seconds | number | Default: One of: 3, 4, 5, 6, 7, 8, 9, 10 |
keep_original_sound | boolean | Whether to keep the original sound from the reference video. Default: |
mode | string | Default: One of: std, pro |
video_reference_type | string | Default: One of: feature, base |