> ## 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-v2-1-master

> Use Kling 2.1 Master text-to-video and image-to-video through the Kling Legacy APIs.

Kling 2.1 Master is a Kuaishou video generation model available through AnyFast with the Kling Legacy API structure.

## Capabilities

* Text-to-video and single-frame image-to-video
* Fixed 5-second or 10-second output
* 720p `std` and 1080p `pro` modes
* `16:9`, `9:16`, or `1:1` for text-to-video

<Note>Kling 2.1 Master does not support an end frame, native audio, specified voices, multi-shot generation, motion brush, or camera control.</Note>

```bash cURL theme={null}
curl --request POST \
  --url https://www.anyfast.ai/kling/v1/videos/text2video \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"model_name":"kling-2.1-master","prompt":"A train crosses a snow-covered valley","duration":"5","mode":"pro","aspect_ratio":"16:9"}'
```

```bash cURL theme={null}
curl --request POST \
  --url https://www.anyfast.ai/kling/v1/videos/image2video \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"model_name":"kling-2.1-master","image":"https://example.com/frame.png","prompt":"Snow begins to fall","duration":"5","mode":"pro"}'
```

<Card title="Kling 2.1 Master API reference" icon="code" href="/api-reference/model-api/kuaishou/kling-v2-1-master">View the complete Legacy API fields.</Card>

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