API Reference
Kling AI API: Kling 4.0, 3.0, O3 and pricing
Kling AI video and image models by Kuaishou in the Clipia API — Kling 4.0, 4.0 Flash, 3.0, O3, 2.6 and Kling Image 4.0 slugs, credit prices, a curl and SDK example and the API key.
Kling AI is Kuaishou's family of video models, plus the Kling Image 4.0 image model. In the Clipia API every Kling version and mode has its own slug and is called with the same POST /v1/models/{slug} request and one Clipia API key — together with the other models of the catalog.
| Model | API slugs | Length and resolution | Sound |
|---|---|---|---|
| Kling 4.0 | kling-4-t2v, kling-4-i2v, kling-4-r2v | 3–30 s, 720p or 1080p | always on, included |
| Kling 4.0 Flash | kling-4-flash-t2v, kling-4-flash-i2v, kling-4-flash-r2v | 3–20 s, 720p | always on, included |
| Kling 3.0 | kling-3-text-to-video, kling-3-image-to-video, kling-3-multi-shot | 3–15 s, 720p, 1080p or 4K | sound, extra cost |
| Kling O3 | kling-o3-t2v, kling-o3-i2v, kling-o3-r2v, kling-o3-transform | 3–15 s, 720p, 1080p or 4K | audio, extra cost |
| Kling 2.6 | kling-2-6-text-to-video, kling-2-6-image-to-video | 5 or 10 s, 720p | sound, extra cost |
| Kling 2.5 Turbo | kling-v2-5-turbo-text-to-video-pro, kling-v2-5-turbo-image-to-video-pro | 5 or 10 s | no |
| Motion Control | kling-3-motion-control, kling-2-6-motion-control | follows the motion video, 3–30 s | — |
| Kling Lip Sync | kling-lip-sync | follows the voice recording, 3–180 s | — |
| Kling Image 4.0 | kling-image-4 | images 2K, 4K or 8K | — |
-t2v and text-to-video slugs make a clip from text, -i2v and image-to-video from a first frame, -r2v from references. Kling Image 4.0 parameters are in the model catalog.
Check availability in your environment
Use a slug only when GET /v1/models returns it for your API key. A model that is switched off disappears from the list, and submitting a generation returns 404 with the code not_found.
To generate without code, open the Kling 4.0 page or the Video Studio.
Get a Kling API key
One Clipia key works for every Kling model and the rest of the catalog; you don't need a separate account with Kuaishou.
- Sign in and open the Developer Console, API keys tab.
- Create a live key (
clipia_live_…) for real generations or a test key (clipia_test_…) for the sandbox: instant test results with no charge. - Keep the key in the
CLIPIA_KEYenvironment variable on your server — it is the password to your credit balance.
Generation with a live key works while the account has an active subscription; see Managing keys and Authentication.
Kling API pricing
Text-to-video prices at 720p, by duration:
| Model | 5 s | 10 s |
|---|---|---|
| Kling 4.0, sound included | 75 credits | 150 credits |
| Kling 4.0 Flash, sound included | 45 credits | 90 credits |
| Kling 3.0, no sound | 36 credits | 72 credits |
| Kling 2.6, no sound | 23 credits | 46 credits |
| Kling 2.5 Turbo, from a frame | 24 credits | 45 credits |
More price points:
- Kling 4.0: 3 s — 45 credits, 30 s — 450 credits; 5 s at 1080p — 110 credits.
- Kling 3.0: 5 s at 720p with sound — 49 credits, 5 s at 1080p — 44 credits.
- Kling O3: 5 s — 36 credits at 720p, 44 credits at 1080p, 90 credits at 4K; with sound at 720p — 49 credits.
- Kling 2.6: 5 s with sound — 46 credits.
- Kling Lip Sync: 5 s — 21 credits, 15 s — 62 credits.
- Kling Image 4.0: an image at 2K — 6 credits, at 4K — 9 credits.
Sound in Kling 3.0 and 2.6 is on by default
In kling-3-text-to-video and kling-2-6-text-to-video, sound is true by default, and a request without it is priced and run with sound. Pass "sound": false for the price without sound. In Kling O3 the field is called audio and is off by default.
Pricing
Prices come from the service pricing and are current as of November 2026. Credits are reserved when a job starts and a failed generation returns them. Get the exact price for your input with cost estimation.
Generate a video
curl -X POST https://api.clipia.ai/v1/models/kling-4-t2v \
-H "Authorization: Bearer $CLIPIA_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A paper boat sails down a rain-filled street gutter, low angle, city lights reflected in the water",
"duration": "5",
"resolution": "720p",
"aspect_ratio": "16:9"
}
}'A Kling video takes from one to ten minutes. The submit returns a request_id and the reserved cost; the SDK subscribe waits for the result itself. Without the SDK, poll GET /v1/requests/{id}/status or pass a webhook_url, then read output.video.url in the result. For a clip from a photo, call kling-4-i2v and pass the first frame in image_url.
Parameters
Catalog snapshot as of November 27, 2026. GET /v1/models/{slug} returns the exact input_schema of each slug; it takes precedence over this summary.
| Parameter | Models | Values |
|---|---|---|
duration | Kling 4.0 | whole seconds from 3 to 30, 5 by default |
duration | Kling 4.0 Flash | whole seconds from 3 to 20, 5 by default |
duration | Kling 3.0, O3 | whole seconds from 3 to 15, 5 by default |
duration | Kling 2.6 | 5 (default) or 10 |
resolution | Kling 4.0 | 720p (default), 1080p |
resolution | Kling 3.0, O3 | 720p (default), 1080p, 4k |
aspect_ratio | Kling 4.0 and 4.0 Flash | 16:9 (default), 9:16, 1:1, 21:9 |
aspect_ratio | Kling 3.0, O3, 2.6 | 16:9 (default), 9:16, 1:1 |
sound | Kling 3.0, 2.6 | true by default, extra cost |
audio | Kling O3 | false by default, extra cost |
prompt | Kling 3.0, 2.6 | up to 2,500 characters |
image_url | -i2v slugs | required: the first frame as an HTTPS URL |
Frames, references, characters and voices of Kling 4.0, and the scenes of kling-3-multi-shot, have their own fields: take them from the input_schema of the exact slug.
Kling AI API questions
Other model pages: Seedream API, Nano Banana API, Grok Imagine API, Seedance 2.0 API. The full list of slugs is in the model catalog.
Seedance 2.5 Flash API: slugs and pricing
Seedance 2.5 Flash in the Clipia API — T2V and I2V slugs, how it differs from Seedance 2.5, parameter limits, credit prices and submitting over REST.
MAGI-2 API: slugs and pricing
MAGI-2 in the Clipia API — slugs for its three modes, first and last frames, image, video and audio references, parameter limits, credit prices and submitting over REST.