Video
Kling 3.0 video
Kling 3.0 — Standard/Pro tiers. Text + image-to-video (start + end frame OR reference), multi-shot and @elements. 3–15s.
Category: Create · kling-3-0
How to use & limits
- Text-to-video and image-to-video (image_urls up to 2: start and end frame).
- prompt: up to 2,500 characters; duration integer 3 to 15 seconds.
- quality: standard, pro or 4K.
- sound enables audio; with multi_shots on, sound must be true.
- multi_shots + multi_prompt drive per-shot storytelling (total durations ≤ 15s).
- kling_elements defines reusable elements cited in the prompt as @name (requires image_urls).
- aspect_ratio: 1:1, 16:9 or 9:16 (ignored with a single image).
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 | — |
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 storytelling; requires 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 images: start frame and end frame. |
kling_elements | Elements | text | Optional | — | — | — | Reusable elements cited as @name in the prompt. |
sound | Sound | boolean | Optional | true | — | — | Enables audio; must be true in multi-shot. |
quality | Quality | select | Optional | standard | standard · pro · 4K | — | Tier: standard (~720p), pro (1080p) or 4K. |
negative_prompt | Negative prompt | textarea | Optional | — | — | — | Terms to avoid in generation. |
duration | Duration | number | Required | 5 | — | 3 – 15 | Duration in seconds, integer 3 to 15. |
aspect_ratio | Aspect ratio | select | Optional | 1:1 | 1:1 · 16:9 · 9:16 | — | Aspect ratio: 1:1, 16:9 or 9:16. |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3-0",
"prompt": "A dragon flies over a medieval city at dawn, wide cinematic shots.",
"params": {
"duration": 5,
"sound": true,
"aspect_ratio": "1:1",
"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-3-0",
"prompt": "A dragon flies over a medieval city at dawn, wide cinematic shots.",
"params": {
"duration": 5,
"sound": true,
"aspect_ratio": "1:1",
"quality": "standard"
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "kling-3-0",
"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. |