# KwaiVGI Kling V2.6 Pro Text to Video API

> Kling V2.6 Pro Text to Video by Kuaishou turns a text prompt into a 5 or 10 second 1080p video with optional native audio.

Source: https://www.sandbase.ai/models/kwaivgi/kling-video/v2.6/pro/text-to-video
API reference: https://www.sandbase.ai/models/kwaivgi/kling-video/v2.6/pro/text-to-video/docs

## Facts

- Provider: KwaiVGI
- Type: Video model
- Model ID: `kwaivgi/kling-video/v2.6/pro/text-to-video`
- Price: From $0.59 per run (15% off list price)
- Capabilities: text to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kwaivgi/kling-video/v2.6/pro/text-to-video",
  "prompt": "Old friends reuniting at a train station after 20 years, one exclaims '"'"'Is that really you?!'"'"' other tearfully replies '"'"'I promised I'"'"'d come back, didn'"'"'t I?'"'"', train whistle, steam hissing, emotional orchestral swell, crowd murmur",
  "duration": 5,
  "aspect_ratio": "16:9",
  "generate_audio": true
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call KwaiVGI Kling V2.6 Pro Text to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "kwaivgi/kling-video/v2.6/pro/text-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate KwaiVGI account?

No. One SandBase API key and balance gives you access to KwaiVGI Kling V2.6 Pro Text to Video and the other models in the catalog; you do not need to sign up with KwaiVGI separately.

## README

### Kling V2.6 Pro Text to Video

Kling V2.6 Pro text-to-video with native audio, 5 or 10 seconds.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 2,500 characters. |
| `aspect_ratio` | `16:9` / `9:16` / `1:1` | `16:9` | Output frame shape. |
| `duration` | 5 / 10 | 5 | Output length in seconds. |
| `generate_audio` | boolean | true | Native audio; on by default. |

#### Billing

Per output second: $0.14 with audio, $0.07 silent.

| Output | With audio | Silent |
|---|---|---|
| 5s (default) | $0.70 | $0.35 |
| 10s | $1.40 | $0.70 |

Failed runs are not charged.

#### Prompting

- Describe subject, action, camera move, and light in order.

#### Limits

- Clips are 5 or 10 seconds.

#### Also on SandBase

Related: `kwaivgi/kling-video/v2.6/pro/image-to-video`, `kwaivgi/kling-video/v3/pro/text-to-video` (newer).
