Video
Kling O3 video
Kling O3 — Standard/Pro. Text + image (start+end frame) + reference + @elements + multi-shot.
Category: Create · kling-o3
How to use & limits
- Three modes: text-to-video, image-to-video and reference-to-video.
- image_urls accepts up to 2 (main image + end frame, or start/end anchors in reference mode).
- reference_image_urls (up to 4) enters reference-to-video mode.
- prompt: up to 2,500 characters; duration integer 3 to 15 seconds.
- quality: standard, pro or 4K; sound enables audio.
- multi_shots requires multi_prompt and sound=true; aspect_ratio (1:1/16:9/9:16) is ignored in image-to-video.
- kling_elements only in reference mode.
Capabilities
What this model supports, straight from the schema — no pricing, no infrastructure detail.
| Capability | Value |
|---|---|
video_edit Video edit | — |
multi_shots Multi-shot | Yes |
multi_prompt Multi-prompt | Yes |
native_audio Native audio | Yes |
text_to_video Text-to-video | Yes |
image_to_video Image-to-video | Yes |
kling_elements Multi-reference elements | Yes |
max_prompt_length Max prompt length | 2500 |
reference_to_video Reference-to-video | Yes |
multi_prompt_supported Multi-prompt | Yes |
Parameters
Fields accepted in params (or first-class, where applicable) for POST /generations.
| Name | Label | Type | Required | Default | Options | Min / Max | Description |
|---|---|---|---|---|---|---|---|
prompt | Prompt | textarea | Optional | — | — | — | Scene description; up to 2,500 characters. |
multi_shots | Multi-shot | boolean | Optional | false | — | — | Enables multi-shot; requires multi_prompt and sound=true. |
multi_prompt | Per-shot prompts | text | Optional | — | — | — | Per-shot prompts with durations; total ≤ 15s. |
image_urls | Image references | multi_select | Optional | — | — | — – 2 | Up to 2: main image + end frame (or anchors in reference mode). |
reference_image_urls | Reference images | multi_select | Optional | — | — | — – 4 | Up to 4 reference images (reference-to-video mode). |
kling_elements | Elements | text | Optional | — | — | — | Elements cited as @name; reference mode only. |
duration | Duration | number | Required | 5 | — | 3 – 15 | Duration in seconds, integer 3 to 15. |
sound | Sound | boolean | Required | true | — | — | Enables audio; must be true in multi-shot. |
aspect_ratio | Aspect ratio | select | Optional | 16:9 | 1:1 · 16:9 · 9:16 | — | Aspect ratio (text/reference): 1:1, 16:9 or 9:16. |
quality | Quality | select | Optional | standard | standard · pro · 4K | — | Tier: standard, pro or 4K. |
negative_prompt | Negative prompt | textarea | Optional | — | — | — | Terms to avoid in generation. |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-o3",
"prompt": "A ship lifts off from a futuristic city under neon rain, cinematic shot.",
"params": {
"duration": 5,
"sound": true,
"aspect_ratio": "16:9",
"quality": "standard"
}
}'
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.CK,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "kling-o3",
"prompt": "A ship lifts off from a futuristic city under neon rain, cinematic shot.",
"params": {
"duration": 5,
"sound": true,
"aspect_ratio": "16:9",
"quality": "standard"
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "kling-o3",
"type": "video",
"status": "completed",
"output": {
"assets": [
{
"url": "https://media.caranguejo.art/outputs/example.mp4",
"type": "video"
}
]
}
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.
Common errors for this job type:
insufficient_credits | Account balance can't cover the job cost. |
content_policy_violation | Prompt or media rejected by content policy. |
generation_timeout | The job exceeded the maximum processing time. |
rate_limited | Too many requests per minute. |
invalid_input | A required parameter is missing or outside the model's schema. |
generation_failed | Generic processing failure. |