# Kling 2.6

Kling 2.6 的模式、输入、默认值、音频价格和 API 示例。

## 概览

**厂商：** Kling。`kling-2-6` 根据文本或单张图片生成 5 秒或 10 秒视频，可选配音轨。

Kling 2.6 Motion Control（`kling-2-6-motion-control`）不可用。它不会出现在 `GET /api/v1/models` 中，指定它的请求返回 `400`，消息为 `This capability is unavailable.`

## 模式与输入

| 模式             | `image_urls` | `video_urls` | 时长    | 默认值 |
| ---------------- | ------------ | ------------ | ------- | ------ |
| `text-to-video`  | 无           | 无           | 5s, 10s | 5s     |
| `image-to-video` | 恰好 1 张    | 无           | 5s, 10s | 5s     |

`kling-2-6` 没有 `resolution` 和 `aspect_ratio` 选项，发送任一项都会返回 `400`。除非发送 `audio: true`，否则不生成音频。

## 积分价格

两种模式相同。在目录中，该矩阵以时长为键：`{ "5s": { "without-audio": 55, "with-audio": 110 } }`。

| 时长 | 无音频 | `audio: true` |
| ---- | ------ | ------------- |
| 5s   | 55     | 110           |
| 10s  | 110    | 220           |

## 示例

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

该请求消耗 110 积分。通过 MCP 时，调用 `generate_video` 并传入 `model: "kling-2-6"`。
