---
title: "Kling AI API: Kling 4.0, 3.0, O3 and pricing"
description: 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.
icon: Clapperboard
---

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](/en/docs/api-reference/models#kling-image-40).

<Callout type="info" title="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`.
</Callout>

To generate without code, open the [Kling 4.0 page](/en/video-models/kling-4) or the [Video Studio](/en/create-video).

## Get a Kling API key [#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](/en/developer), **API keys** tab.
2. Create a live key (`clipia_live_…`) for real generations or a test key (`clipia_test_…`) for the [sandbox](/en/docs/getting-started/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](/en/docs/api-reference/keys) and [Authentication](/en/docs/getting-started/authentication).

## Kling API pricing [#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.

<Callout type="warn" title="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.
</Callout>

<Callout type="info" title="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](/en/docs/api-reference/estimate).
</Callout>

## Generate a video [#example]

<Tabs items={['cURL', 'TypeScript', 'Python']}>
<Tab value="cURL">

```bash
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"
    }
  }'
```

</Tab>
<Tab value="TypeScript">

```ts
import { createClient } from 'clipia-ai';

const clipia = createClient({ apiKey: process.env.CLIPIA_KEY! });

const out = await clipia.subscribe('kling-4-t2v', {
  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',
  },
});

console.log(out.output?.video?.url, out.cost);
```

</Tab>
<Tab value="Python">

```python
import os
from clipia import Clipia

clipia = Clipia(api_key=os.environ["CLIPIA_KEY"])

out = clipia.subscribe(
    "kling-4-t2v",
    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",
    },
)

print(out.output, out.cost)
```

</Tab>
</Tabs>

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`](/en/docs/api-reference/status) or pass a `webhook_url`, then read `output.video.url` in the [result](/en/docs/api-reference/result). For a clip from a photo, call `kling-4-i2v` and pass the first frame in `image_url`.

## Parameters [#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 [#faq]

<Accordions>
<Accordion title="Where do I get a Kling API key?">
In the Clipia [Developer Console](/en/developer). The same `clipia_live_…` key calls every Kling slug on this page, as well as Seedance, Nano Banana and the rest of the catalog.
</Accordion>
<Accordion title="How much does the Kling API cost?">
The price depends on the model, duration, resolution and sound — see the [table above](#pricing). For drafts, Kling 4.0 Flash costs less than Kling 4.0 at the same length; `POST /v1/models/{slug}/estimate` returns the exact price for your input before anything is charged.
</Accordion>
<Accordion title="Is there a Kling 3.0 API?">
Yes: `kling-3-text-to-video` and `kling-3-image-to-video` for clips, `kling-3-multi-shot` for up to five scenes in one clip and `kling-3-motion-control` for transferring motion from a video.
</Accordion>
<Accordion title="Which Kling model should I choose?">
For clips up to 30 seconds with sound and your own characters — Kling 4.0. For drafts and variations — Kling 4.0 Flash. For 4K — Kling 3.0 or Kling O3. For a smooth transition between two frames on a budget — Kling 2.5 Turbo.
</Accordion>
<Accordion title="Is Kling available over MCP?">
Yes. In Claude, ChatGPT or Cursor connected to the [Clipia MCP server](/en/docs/mcp), pass the slug in the `model` parameter of `generate_video`.
</Accordion>
</Accordions>

Other model pages: [Seedream API](/en/docs/api-reference/models/seedream), [Nano Banana API](/en/docs/api-reference/models/nano-banana), [Grok Imagine API](/en/docs/api-reference/models/grok-imagine), [Seedance 2.0 API](/en/docs/api-reference/models/seedance-2-0). The full list of slugs is in the [model catalog](/en/docs/api-reference/models).
