Skip to content

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.

ModelAPI slugsLength and resolutionSound
Kling 4.0kling-4-t2v, kling-4-i2v, kling-4-r2v3–30 s, 720p or 1080palways on, included
Kling 4.0 Flashkling-4-flash-t2v, kling-4-flash-i2v, kling-4-flash-r2v3–20 s, 720palways on, included
Kling 3.0kling-3-text-to-video, kling-3-image-to-video, kling-3-multi-shot3–15 s, 720p, 1080p or 4Ksound, extra cost
Kling O3kling-o3-t2v, kling-o3-i2v, kling-o3-r2v, kling-o3-transform3–15 s, 720p, 1080p or 4Kaudio, extra cost
Kling 2.6kling-2-6-text-to-video, kling-2-6-image-to-video5 or 10 s, 720psound, extra cost
Kling 2.5 Turbokling-v2-5-turbo-text-to-video-pro, kling-v2-5-turbo-image-to-video-pro5 or 10 sno
Motion Controlkling-3-motion-control, kling-2-6-motion-controlfollows the motion video, 3–30 s—
Kling Lip Synckling-lip-syncfollows the voice recording, 3–180 s—
Kling Image 4.0kling-image-4images 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.

  1. Sign in and open the Developer Console, API keys tab.
  2. Create a live key (clipia_live_…) for real generations or a test key (clipia_test_…) for the sandbox: instant test results with no charge.
  3. Keep the key in the CLIPIA_KEY environment 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:

Model5 s10 s
Kling 4.0, sound included75 credits150 credits
Kling 4.0 Flash, sound included45 credits90 credits
Kling 3.0, no sound36 credits72 credits
Kling 2.6, no sound23 credits46 credits
Kling 2.5 Turbo, from a frame24 credits45 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.

ParameterModelsValues
durationKling 4.0whole seconds from 3 to 30, 5 by default
durationKling 4.0 Flashwhole seconds from 3 to 20, 5 by default
durationKling 3.0, O3whole seconds from 3 to 15, 5 by default
durationKling 2.65 (default) or 10
resolutionKling 4.0720p (default), 1080p
resolutionKling 3.0, O3720p (default), 1080p, 4k
aspect_ratioKling 4.0 and 4.0 Flash16:9 (default), 9:16, 1:1, 21:9
aspect_ratioKling 3.0, O3, 2.616:9 (default), 9:16, 1:1
soundKling 3.0, 2.6true by default, extra cost
audioKling O3false by default, extra cost
promptKling 3.0, 2.6up to 2,500 characters
image_url-i2v slugsrequired: 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.