# Kling 2.6

Kling 2.6 modes, inputs, defaults, audio pricing, and API examples.

## Overview

**Vendor:** Kling. `kling-2-6` generates 5- or 10-second video from text or one image, with an optional audio track.

Kling 2.6 Motion Control (`kling-2-6-motion-control`) is unavailable. It is not listed by `GET /api/v1/models`, and requests that name it return `400` with `This capability is unavailable.`

## Modes and inputs

| Mode             | `image_urls` | `video_urls` | Durations | Default |
| ---------------- | ------------ | ------------ | --------- | ------- |
| `text-to-video`  | None         | None         | 5s, 10s   | 5s      |
| `image-to-video` | Exactly 1    | None         | 5s, 10s   | 5s      |

`kling-2-6` has no `resolution` or `aspect_ratio` option; sending either returns `400`. Audio is off unless you send `audio: true`.

## Credit pricing

The same in both modes. In the catalog this matrix is keyed by duration: `{ "5s": { "without-audio": 55, "with-audio": 110 } }`.

| Duration | Without audio | With `audio: true` |
| -------- | ------------- | ------------------ |
| 5s       | 55            | 110                |
| 10s      | 110           | 220                |

## Example

```bash
curl -X POST https://viewmax.studio/api/v1/videos \
  -H "Authorization: Bearer $VIEWMAX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: kling-example-0001" \
  -d '{
    "model": "kling-2-6",
    "mode": "text-to-video",
    "prompt": "A slow dolly through a neon-lit night market",
    "options": { "duration": "5s", "audio": true }
  }'
```

This request costs 110 credits. With MCP, call `generate_video` with `model: "kling-2-6"`.
