kwaivgi/kling-video/o3/4k/reference-to-video
Kling Video O3 4k by KwaiVGI - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runkwaivgi/kling-video/o3/4k/reference-to-videoInput Schema
9 parameters · 2 required · 7 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | Image to use as the first frame of the video. |
prompt | string | Required | Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. · Max length: 2500 |
images | string[] | Optional | Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images) is allowed. |
duration | integer | Optional | Video duration in seconds (3-15s). · Options: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · Default: 5 3456789101112131415 |
end_image | string | Optional | Image to use as the last frame of the video. |
shot_type | string | Optional | The type of multi-shot video generation. 'intelligent' lets the model automatically determine shot structure. · Options: customize, intelligent · Default: "customize" customizeintelligent |
aspect_ratio | string | Optional | The aspect ratio of the generated image. · Options: 16:9, 9:16, 1:1 16:99:161:1 |
multi_prompt | object[] | Optional | List of prompts for multi-shot video generation. |
generate_audio | boolean | Optional | Whether to generate native audio for the video. · Default: false |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "kwaivgi/kling-video/o3/4k/reference-to-video",
"image": "https://static.sandbase.ai/examples/mirrored/d5f4a0f0f119-NaslJIC7F2WodS6DFZRRJ.png",
"prompt": "@Element1 and @Element2 enters the scene from two sides. Elephant starts to play with the ball",
"duration": 8,
"end_image": "https://static.sandbase.ai/examples/mirrored/b5db8ef4ab4d-BwHi22qoQnqaTNMMhe533.png",
"shot_type": "customize",
"generate_audio": false
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Kling Video O3 4k
reference to video in the Kling Video lineup is built to build a moving scene around supplied visual references. The kling video o3 4k reference to video configuration combines that transformation with the quality and motion profile represented by this exact model version, so teams can choose it deliberately among adjacent family variants. It is useful when the input already establishes part of the creative intent and the model must supply a polished result rather than a generic media conversion, with subject identity, scene logic, visual hierarchy, and the delivery goal kept explicit.
For production work with kwaivgi/kling-video/o3/4k/reference-to-video, begin with the non-negotiable content, then describe the desired change, framing, action, atmosphere, and finishing cues in that order. Separate what must remain recognizable from what may vary, and prefer concrete nouns and observable actions over abstract praise. That structure makes outputs easier to compare across storyboard passes, campaign variants, catalog assets, and other repeatable creative pipelines.
Highlights
Reference identity retention. Carries recognizable characters, products, costumes, or design cues into motion.
Cross-reference composition. Brings multiple visual ingredients into one directed scene.
Narrative motion generation. Creates action, camera movement, and environment response around references.
kling video o3 4k reference to video asset continuity. Supports recurring visual identities across storyboard and campaign variations. This is the defining creative strength of the kling video o3 4k reference to video configuration.
Pricing
| Duration | Price per generated clip |
|---|---|
| 3 seconds | $1.2600 |
| 4 seconds | $1.6800 |
| 5 seconds | $2.1000 |
| 6 seconds | $2.5200 |
| 7 seconds | $2.9400 |
| 8 seconds | $3.3600 |
| 9 seconds | $3.7800 |
| 10 seconds | $4.2000 |
| 11 seconds | $4.6200 |
| 12 seconds | $5.0400 |
| 13 seconds | $5.4600 |
| 14 seconds | $5.8800 |
| 15 seconds | $6.3000 |
Billing follows params.duration * 0.42: multiply generated seconds by the $0.4200 per-second rate.
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable source layers or a native project file are required |
Prompt Guide
For image-conditioned generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.
{
"aspect_ratio": "16:9",
"duration": 8,
"image": "https://static.sandbase.ai/examples/mirrored/d5f4a0f0f119-NaslJIC7F2WodS6DFZRRJ.png",
"images": [
[
"https://example.com/reference.png"
]
],
"prompt": "@Element1 and @Element2 enters the scene from two sides. Elephant starts to play with the ball"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | kwaivgi/kling-video/o3/4k/reference-to-video |
| Inputs | aspect_ratio, duration, end_image, generate_audio, image, images, multi_prompt, prompt, shot_type |
| Required inputs | prompt, image |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |
| Duration | 3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 |
| Aspect Ratio | 16:9 / 9:16 / 1:1 |

