# Kling 4 API

Prices updated Nov 27, 2026 (2026-11-27)

[HTML canonical](https://bettertoken.ai/en/kling-4-api/)

Call Kling 4 by the second: text-to-video and reference-to-video, clips up to 30 seconds with native stereo audio. No Kling subscription needed.

Up to 6% below official prices

## Kling 4 API pricing per second

Live prices for kling-video-v4 at 720p / 1080p, each shown next to the official Kling price.

### Kling 4 — `kling-video-v4`

3–30 s · 720p / 1080p · 10 reference images

#### Text to video

- **720p**
  - Prices updated Nov 27, 2026 · BetterToken · Kling 4 API (`kling-video-v4`) · Text to video · 720p: USD 0.135 per output second. Fixed duration: billed on requested seconds.
  - metered_video_seconds: USD 0.135 per output second; requested_seconds
  - −5% vs official; ~~USD 0.142857~~; [source](https://klingai.com/cn/dev/pricing); checked 2026-11-19
  - Fixed duration: billed on requested seconds.

```json
{
  "selectors": {
    "output.resolution": "720p"
  },
  "min": 3,
  "max": 30,
  "resolutions": [
    "720p",
    "1080p"
  ],
  "audio": [],
  "aspectRatios": [
    "16:9",
    "9:16",
    "1:1",
    "21:9"
  ],
  "inputs": [],
  "modes": [],
  "durations": [],
  "durationModes": [
    "fixed"
  ]
}
```

- **1080p**
  - Prices updated Nov 27, 2026 · BetterToken · Kling 4 API (`kling-video-v4`) · Text to video · 1080p: USD 0.201 per output second. Fixed duration: billed on requested seconds.
  - metered_video_seconds: USD 0.201 per output second; requested_seconds
  - −6% vs official; ~~USD 0.214286~~; [source](https://klingai.com/cn/dev/pricing); checked 2026-11-19
  - Fixed duration: billed on requested seconds.

```json
{
  "selectors": {
    "output.resolution": "1080p"
  },
  "min": 3,
  "max": 30,
  "resolutions": [
    "720p",
    "1080p"
  ],
  "audio": [],
  "aspectRatios": [
    "16:9",
    "9:16",
    "1:1",
    "21:9"
  ],
  "inputs": [],
  "modes": [],
  "durations": [],
  "durationModes": [
    "fixed"
  ]
}
```

#### Reference to video

- **720p**
  - Prices updated Nov 27, 2026 · BetterToken · Kling 4 API (`kling-video-v4`) · Reference to video · 720p: USD 0.135 per output second. Billed on actual output seconds.
  - metered_video_seconds: USD 0.135 per output second; output_seconds
  - −5% vs official; ~~USD 0.142857~~; [source](https://klingai.com/cn/dev/pricing); checked 2026-11-19
  - Billed on actual output seconds.

```json
{
  "selectors": {
    "output.resolution": "720p"
  },
  "min": 3,
  "max": 30,
  "resolutions": [
    "720p",
    "1080p"
  ],
  "audio": [],
  "aspectRatios": [
    "16:9",
    "9:16",
    "1:1",
    "21:9",
    "adaptive"
  ],
  "inputs": [
    {
      "role": "image_reference",
      "min": 0,
      "max": 10
    }
  ],
  "modes": [],
  "durations": [],
  "durationModes": [
    "fixed"
  ]
}
```

- **1080p**
  - Prices updated Nov 27, 2026 · BetterToken · Kling 4 API (`kling-video-v4`) · Reference to video · 1080p: USD 0.201 per output second. Billed on actual output seconds.
  - metered_video_seconds: USD 0.201 per output second; output_seconds
  - −6% vs official; ~~USD 0.214286~~; [source](https://klingai.com/cn/dev/pricing); checked 2026-11-19
  - Billed on actual output seconds.

```json
{
  "selectors": {
    "output.resolution": "1080p"
  },
  "min": 3,
  "max": 30,
  "resolutions": [
    "720p",
    "1080p"
  ],
  "audio": [],
  "aspectRatios": [
    "16:9",
    "9:16",
    "1:1",
    "21:9",
    "adaptive"
  ],
  "inputs": [
    {
      "role": "image_reference",
      "min": 0,
      "max": 10
    }
  ],
  "modes": [],
  "durations": [],
  "durationModes": [
    "fixed"
  ]
}
```

## DEVELOPER QUICKSTART

Quote → create → poll → download.

These are minimal examples — in production, persist the Idempotency-Key and task ID so you can resume after a restart.

```bash
curl --fail-with-body https://bettertoken.ai/v1/videos \
  -H "Authorization: Bearer $BETTERTOKEN_API_KEY" \
  -H "Idempotency-Key: $VIDEO_IDEMPOTENCY_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'JSON'
{
  "model": "kling-video-v4",
  "operation": "text_to_video",
  "prompt": "A rainy city street at night, slow forward camera move",
  "duration": {
    "mode": "fixed",
    "seconds": 5
  },
  "output": {
    "format": "mp4",
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }
}
JSON
```

202 means accepted, not completed. Keep the same idempotency key and body after uncertain acceptance. Download only after completed.
