> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Kling 2.6 t2v

> Kuaishou Kling 2.6 text-to-video with camera control, native audio, and specified voices.

Kling 2.6 t2v is a text-to-video model from Kuaishou's Kling series, available through AnyFast API. Create videos from text with camera movements, native audio, and specified voices.

## Key capabilities

* **Text-to-Video** — Generate videos purely from text prompts
* **Camera Control** — Preset and custom camera movements (pan, tilt, zoom, roll)
* **Native audio** — Optionally generate synchronized sound
* **Specified voices** — Reference up to two reusable voices in the prompt
* **Standard & Pro Modes** — Choose between cost-effective standard or high-quality professional output

## Quick example

<CodeGroup>
  ```bash cURL theme={null}
  curl https://www.anyfast.ai/kling/v1/videos/text2video \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model_name": "kling-2.6",
      "prompt": "A cat walking through a field of sunflowers at golden hour",
      "duration": "5",
      "mode": "std",
      "aspect_ratio": "16:9"
    }'
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://www.anyfast.ai/kling/v1/videos/text2video",
      headers={
          "Authorization": "Bearer YOUR_API_KEY",
          "Content-Type": "application/json"
      },
      json={
          "model_name": "kling-2.6",
          "prompt": "A cat walking through a field of sunflowers at golden hour",
          "duration": "5",
          "mode": "std",
          "aspect_ratio": "16:9"
      }
  )

  task = response.json()
  print(f"Task ID: {task['task_id']}")
  ```
</CodeGroup>

## Parameters

| Parameter         | Type      | Required | Description                               |
| ----------------- | --------- | -------- | ----------------------------------------- |
| `model_name`      | string    | No       | Must be `kling-2.6`                       |
| `prompt`          | string    | Yes      | Text prompt (max 2500 chars)              |
| `negative_prompt` | string    | No       | Negative prompt (max 2500 chars)          |
| `mode`            | string    | No       | `std` or `pro`. Default: `std`            |
| `duration`        | string    | No       | `5` or `10` seconds. Default: `5`         |
| `aspect_ratio`    | string    | No       | `16:9`, `9:16`, or `1:1`. Default: `16:9` |
| `voice_list`      | object\[] | No       | Up to two Voice Management IDs            |
| `sound`           | string    | No       | `on` or `off`. Default: `off`             |
| `camera_control`  | object    | No       | Camera movement control                   |

<Card title="API Reference" icon="code" href="/api-reference/model-api/kuaishou/kling-v2-6">
  View the interactive API playground for Kling 2.6 t2v.
</Card>

<script src="/public/feedback.js" />
