Kling video · Official
Kling video generation models, parameters, per-second pricing, asynchronous queries and common errors.
Kling video API · Official
Use an Official Group API key to call POST https://app.apipool.dev/v1/videos/generations.
Generation is an asynchronous task; save the returned task ID and query GET /v1/tasks/{id} for the final video.
Models and selection
| Public model ID | Duration | Quality and inputs |
|---|---|---|
kling-3.0-turbo | 3–15 seconds | 720p/1080p; text or a single first frame, with sound |
kling-v2-6 | 5 or 10 seconds | std is 720P without sound, pro is 1080P; first and last frames or sound |
kling-v3 | 3–15 seconds | std/pro/4k; first and last frames, multi-shot, element references, sound optional |
kling-v3-omni | 3–15 seconds | std/pro/4k; role-tagged reference images, multi-shot, element references, sound optional |
kling-video-o1 | 5 or 10 seconds | std/pro; first and last frames and reference images, no separate sound switch |
kling-v4 | 3–30 seconds | 720p/1080p; first and last frames, middle frames, image/audio references, video extension |
kling-v4-flash | 3–20 seconds | 720p only; single first frame, image references, video extension |
Motion control and Omni/O1 base video editing are not available, nor are voice selection, callbacks, additional moderation, pass-through extension objects or streaming responses.
Model names are case-sensitive; kling-v3 and kling-v3-omni are different models.
Customer prices
Prices below are customer prices in US dollars per billed second. They already include this site's discount, and no further discount is applied. The model detail page shows the current price. Standard generation is billed by the requested integer number of seconds; a few extra frames in the file do not add a billed second. Video extension is billed only for the seconds of the new segment.
| Model | Tier | Price per second |
|---|---|---|
kling-3.0-turbo | 720P | $0.121550 |
kling-3.0-turbo | 1080P | $0.152150 |
kling-v2-6 | 720P | $0.039100 |
kling-v2-6 | 1080P | $0.066406 |
kling-v2-6 | 1080P with sound | $0.132813 |
kling-v3 | 720P | $0.071400 |
kling-v3 | 4K | $0.455345 |
kling-v3 | 4K with sound | $0.455345 |
kling-v3 | 1080P | $0.095200 |
kling-v3 | 1080P with sound | $0.142800 |
kling-v3 | 720P with sound | $0.107100 |
kling-v3-omni | 720P | $0.071400 |
kling-v3-omni | 4K | $0.455345 |
kling-v3-omni | 4K with sound | $0.455345 |
kling-v3-omni | 1080P | $0.095200 |
kling-v3-omni | 1080P with sound | $0.119000 |
kling-v3-omni | 720P with sound | $0.095200 |
kling-video-o1 | 720P | $0.071400 |
kling-video-o1 | 1080P | $0.095200 |
kling-v4 | 720P | $0.148750 |
kling-v4 | 1080P | $0.223125 |
kling-v4-flash | 720P | $0.091072 |
Tiers with video input use the customer prices below. Omni/O1 feature references are billed by the requested output duration; V4/Flash editing and video references are billed by the combined input and output seconds described below.
| Model | Tier | Price per billed second |
|---|---|---|
kling-v3-omni, kling-video-o1 | 720P video feature reference | $0.107100 |
kling-v3-omni, kling-video-o1 | 1080P video feature reference | $0.142800 |
kling-v4 | 720P video editing or reference | $0.089250 |
kling-v4 | 1080P video editing or reference | $0.133875 |
kling-v4-flash | 720P video editing or reference | $0.060715 |
For example, 3 seconds of kling-v3 at 720P without sound costs $0.214200.
Successful tasks settle at the price in effect at submission; confirmed failures are not charged a generation fee.
Stopping queries does not cancel a task. If submission times out or its status is unclear, check task records first to avoid creating duplicate billable tasks.
Standard generation parameters
prompt: describes the scene, motion and sound. Up to 3072 characters for Turbo and 2500 characters on this site for other models. Turbo, V3 and the V4 series can omit the prompt for image-to-video.duration: must be an integer within the range in the model table. Do not send strings such as"3".- Turbo and the V4 series use
resolution, set to720por1080p; Flash supports720ponly. - 2.6/V3/Omni/O1 use
mode, set tostdorpro; only V3/Omni support4k. aspect_ratio:16:9,9:16and1:1in general; the V4 series also supports21:9, and image reference mode can also useauto. For image-to-video the ratio may follow the first frame. Flash image-to-video must omit this parameter.audio: only 2.6/V3/Omni offer a sound switch. Sound on 2.6 requiresproand cannot be combined with a last frame.
curl https://app.apipool.dev/v1/videos/generations \
-H "Authorization: Bearer $APIPOOL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kling-v3","prompt":"A paper boat drifts slowly down a stream after the rain, static camera","duration":3,"mode":"std","audio":false}'Image input
Use HTTP(S) URLs that require no sign-in, hotlink protection or temporary cookies. Images must be at least 300px; JPG/PNG is recommended, with an aspect ratio between 2:5 and 5:2.
| Model | Image fields and limits |
|---|---|
| Turbo | first_frame_image, a single first frame only |
| 2.6/V3 | image_urls: 1 image is the first frame, 2 images are the first and last frames; a 2.6 last frame requires pro and no sound |
| Omni/O1 | Either image_urls or image_with_roles; roles are first_frame, last_frame and reference. A last frame requires a first frame; O1 cannot set first and last frames with more than two reference images |
| V4 | image_urls with up to two images as first and last frames, or image_with_roles with explicit roles; image-to-video takes exactly one first frame, at most one last frame and up to 8 keyframe/middle_frame images, up to 10 in total |
| V4 Flash | Image-to-video takes only one first_frame; last frames, middle frames and a specified ratio are not supported |
Without video input, Omni/O1 accept up to 7 reference images. For Omni, reference images and elements total at most 7.
Omni/O1 prompts can reference the first image with <<<image_1>>>.
When the V4 series uses image references only, set omni_reference_task_type: "reference"; the reference image role is reference_image, up to 10 images, referenced as @Image1.
V4 can add up to 3 reference audio clips (5–30 seconds each) with audio_urls, with at most 15 reference assets in total; Flash does not support reference audio.
{
"model": "kling-v4-flash",
"prompt": "The person smiles and waves slowly",
"first_frame_image": "https://example.com/person.png",
"duration": 3
}Replace the example URLs with your own accessible assets. Every POST creates a new task.
Multi-shot and elements
V3/Omni support multi_shot: true. Set shot_type to customize or intelligence.
Custom multi-shot requires multi_prompt with 1–6 items; each item's index starts at 1 and increases consecutively, prompt is up to 512 characters, and duration is an integer of at least 1 second. The shot durations must add up to the top-level duration.
{
"model": "kling-v3",
"duration": 5,
"multi_shot": true,
"shot_type": "customize",
"multi_prompt": [
{ "index": 1, "prompt": "A wide shot of the lakeside", "duration": 2 },
{ "index": 2, "prompt": "Close-up of water reflections", "duration": 3 }
]
}element_list accepts up to 3 elements, each with name, description and 2–4 element_input_urls.
Reference them in the prompt with @name. When V3 uses elements, it also needs at least one image_urls first frame; element reference images cannot replace the first frame.
Video reference and editing
Omni/O1 video_list accepts only one video with refer_type: "feature". On this site the input must be 3–10 seconds, MP4/MOV, 24–60fps, 720–2160px in both width and height, and no larger than 200MB. You can add one first frame, but not a last frame or other reference images. Do not send audio (including false), and 4k is not available. The output duration is set by duration, and billing does not follow the reference clip length. base editing is not yet available.
{
"model": "kling-v3-omni",
"prompt": "Follow the reference camera motion as the paper boat moves down the stream",
"duration": 3,
"video_list": [
{ "video_url": "https://example.com/source.mp4", "refer_type": "feature" }
]
}V4/Flash editing uses omni_reference_task_type: "edit" and one video_url; video reference uses omni_reference_task_type: "reference" and up to five video_urls. Each clip must be at least 3 seconds and each file at most 200MB. Flash input must be MP4/MOV, 700–4553px in both width and height, and no more than 20 seconds in total; V4 uses and bills at most the first 30 seconds. Editing and reference modes can include reference images; only V4 reference mode also supports reference audio. The total number of assets is at most 15.
Billed input seconds are the sum of all video stream durations, rounded up. With that value as I and integer output seconds as O, the total billed seconds for editing and video reference is O + max(O, I). When editing omits duration, the output uses the processed integer input seconds. For example, a 3.04-second input with a 3-second output is billed as 7 seconds; omitting the output duration generates 4 seconds and bills 8 seconds. If the assets cannot be read, the request is rejected and no generation task is created.
{
"model": "kling-v4-flash",
"prompt": "Change the background to a sunny beach and keep the person's movements",
"omni_reference_task_type": "edit",
"video_url": "https://example.com/source.mp4",
"duration": 3
}Video extension
For V4/Flash, set omni_reference_task_type: "extend", pass the input video in video_url, and set the length of the new segment with duration.
Do not send aspect_ratio or audio_setting. V4 can take a target last frame; Flash accepts no images.
{
"model": "kling-v4",
"prompt": "The camera keeps moving forward and the person waves again",
"omni_reference_task_type": "extend",
"video_url": "https://example.com/source.mp4",
"duration": 3
}V4 returns the full video with the input video and the new segment joined; Flash returns only the new segment. Both are billed only for the requested new seconds.
Query and save
A successful submission returns HTTP 202. Save the task id from the response and query it with the same API key:
{
"id": "vidtask_...",
"object": "video_generation.task",
"status": "submitted"
}curl "https://app.apipool.dev/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIPOOL_API_KEY"Query every 5 seconds until completed or failed. While processing, do not treat a fixed wait time alone as failure.
After completion, read the video URL from data[].url. data[].expires_at is a Unix timestamp in seconds; download before it expires. Result links are not permanent storage.
For task statuses, query permissions and handling uncertain submissions, see the video task guide.
Troubleshooting
400: check the quality field for the model, integer duration, number of assets, and conflicts between last frame and sound; rejected requests do not create a model task.401/403: check the API key and Official Group access.404: confirm the model ID, the group, and that you are using the same key that submitted the task.- Insufficient balance: add funds before creating a new task; do not replay accepted tasks.
429: back off for the returned wait time; if you already have a task ID, keep querying it.- Unreadable assets: switch to public direct links and remove sign-in, hotlink protection and expired signatures.
- Submission timeout or
submission_unknown: check task history first; do not resubmit automatically. failed: read the error message, fix the input, then submit a new task.