kwaivgi/kling-video/v3
Kling Video V3 is KwaiVGI's unified video generation model. Generate or transform videos from prompts, images, reference videos, and multi-shot text while choosing standard or pro mode per request.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
PNG, JPEG, WebP, or GIF · 20 MiB maximum
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
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/v3Input Schema
13 parameters · 1 required · 12 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | Text prompt for video generation or transformation. When using reference media, refer to them as @Image1, @Image2, and @Video1. · Max length: 2500 |
image | string | Optional | Optional first-frame image URL for image-to-video. |
video | string | Optional | Optional reference video URL for video-to-video generation. |
images | string[] | Optional | Optional reference image URLs. |
duration | integer | Optional | Generated video duration in seconds. · Options: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · Default: 5 3456789101112131415 |
end_image | string | Optional | Optional end-frame image URL for image-to-video. |
shot_type | string | Optional | Options: customize, intelligent · Default: "customize" customizeintelligent |
resolution | string | Optional | Generation quality tier. · Options: standard, pro, 4k · Default: "standard" standardpro4k |
aspect_ratio | string | Optional | Options: 16:9, 9:16, 1:1 · Default: "16:9" 16:99:161:1 |
multi_prompt | object[] | Optional | — |
generate_audio | boolean | Optional | Default: true |
keep_original_sound | boolean | Optional | Default: true |
character_orientation | string | Optional | Options: image, video imagevideo |
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/v3",
"image": "https://static.sandbase.ai/examples/mirrored/f77b827ca02a-TNErq9yD7ZxGRATjfAqnh_EIgJSN67.png",
"video": "https://static.sandbase.ai/examples/mirrored/f1ecbb471a16-hklvF__w53diz6Rve7f5__JuDW2xl0mr6sJ_Kjz3Vxe_vidoeook--1-_1.mp4",
"prompt": "Based on @Video1, make the character from @Image1 dance.",
"duration": 5,
"shot_type": "customize",
"resolution": "standard",
"aspect_ratio": "16:9",
"generate_audio": true,
"keep_original_sound": true,
"character_orientation": "image"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Kling Video V3
Kling Video V3 is a V3 endpoint in the Kling family. It is built for creators who need to turn a concrete creative brief into a controlled visual sequence: the request establishes the source material, the intended subject behavior, the camera language, and the atmosphere of the finished shot. The standard route keeps that workflow explicit instead of hiding its input assumptions behind a generic video-generation label.
In practice, this route accepts image, video, end image as creative context and exposes duration, resolution, aspect ratio, generate audio for delivery planning. That makes it suitable for shot-based pipelines where teams must preserve a source, direct a transformation, or control the final format without losing sight of the model's central task. Write prompts as a compact shot plan—subject, action, setting, camera, light, and timing—then use the structured fields for constraints that should remain deterministic across iterations.
Highlights
- Prompt-to-scene generation. Builds the shot from written direction, including subject action, environment, lighting, lens language, and pacing.
- Synchronized audio path. Audio conditioning or generation is available in the same request, helping sound and picture share one creative plan.
- Endpoint composition. An optional end frame can anchor where the shot lands, giving transitions a deliberate visual destination.
- Resolution-aware delivery. Explicit output resolution lets the request target preview or finishing needs before generation.
Pricing
The request price is calculated with params.resolution == "4k" ? params.duration * 0.42 : (params.resolution == "pro" ? params.duration * 0.168 : params.duration * 0.126).
| Configuration | Price |
|---|---|
| duration=3, resolution=standard | $0.378000 |
| duration=3, resolution=pro | $0.504000 |
| duration=3, resolution=4k | $1.260000 |
| duration=4, resolution=standard | $0.504000 |
| duration=4, resolution=pro | $0.672000 |
| duration=4, resolution=4k | $1.680000 |
| duration=5, resolution=standard | $0.630000 |
| duration=5, resolution=pro | $0.840000 |
| duration=5, resolution=4k | $2.100000 |
| duration=6, resolution=standard | $0.756000 |
| duration=6, resolution=pro | $1.008000 |
| duration=6, resolution=4k | $2.520000 |
| duration=7, resolution=standard | $0.882000 |
| duration=7, resolution=pro | $1.176000 |
| duration=7, resolution=4k | $2.940000 |
| duration=8, resolution=standard | $1.008000 |
| duration=8, resolution=pro | $1.344000 |
| duration=8, resolution=4k | $3.360000 |
| duration=9, resolution=standard | $1.134000 |
| duration=9, resolution=pro | $1.512000 |
| duration=9, resolution=4k | $3.780000 |
| duration=10, resolution=standard | $1.260000 |
| duration=10, resolution=pro | $1.680000 |
| duration=10, resolution=4k | $4.200000 |
| duration=11, resolution=standard | $1.386000 |
| duration=11, resolution=pro | $1.848000 |
| duration=11, resolution=4k | $4.620000 |
| duration=12, resolution=standard | $1.512000 |
| duration=12, resolution=pro | $2.016000 |
| duration=12, resolution=4k | $5.040000 |
| duration=13, resolution=standard | $1.638000 |
| duration=13, resolution=pro | $2.184000 |
| duration=13, resolution=4k | $5.460000 |
| duration=14, resolution=standard | $1.764000 |
| duration=14, resolution=pro | $2.352000 |
| duration=14, resolution=4k | $5.880000 |
| duration=15, resolution=standard | $1.890000 |
| duration=15, resolution=pro | $2.520000 |
| duration=15, resolution=4k | $6.300000 |
The model card records a base price of $0.630000; the formula above determines usage-priced requests.
When to Use
| Scenario | Recommendation |
|---|---|
| Choose this route | Use it when the deliverable specifically calls for V3, rather than a neighboring generation mode. |
| Prepare the source | Provide image, video in the format described by the request schema. |
| Direct the shot | Describe the subject, action, environment, camera movement, lighting, and temporal progression in that order. |
| Control continuity | Use endpoint frames, reference media, strength, or audio controls when those fields are available instead of burying hard constraints in prose. |
| Plan delivery | Set duration, frame count, resolution, and aspect ratio explicitly when the schema exposes them, then compare iterations with a stable seed where supported. |
Prompt Guide
For V3, describe one coherent shot rather than a list of visual keywords. Put the main subject and action first, follow with location and staging, then add camera movement, lens or framing, lighting, mood, and any timed change. Keep URLs and hard delivery choices in their dedicated fields.
{
"prompt": "Based on @Video1, make the character from @Image1 dance.",
"duration": 3,
"resolution": "standard",
"aspect_ratio": "16:9",
"generate_audio": true,
"image": "https://static.sandbase.ai/examples/mirrored/f77b827ca02a-TNErq9yD7ZxGRATjfAqnh_EIgJSN67.png"
}
Technical Specs
| Specification | Value |
|---|---|
| Model ID | kwaivgi/kling-video/v3 |
| Required inputs | prompt |
| Execution | Asynchronous generation job |
| Request controls | 13 documented fields |
| Output | url, content_type |
Request fields
| Field | Type and constraints |
|---|---|
image | string; Optional |
video | string; Optional |
images | array; Optional |
prompt | string; Required |
duration | integer; Optional; Options: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15; Default: 5 |
end_image | string; Optional |
shot_type | string; Optional; Options: customize, intelligent; Default: "customize" |
resolution | string; Optional; Options: standard, pro, 4k; Default: "standard" |
aspect_ratio | string; Optional; Options: 16:9, 9:16, 1:1; Default: "16:9" |
multi_prompt | array; Optional |
generate_audio | boolean; Optional; Default: true |
keep_original_sound | boolean; Optional; Default: true |
character_orientation | string; Optional; Options: image, video |

