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

# Veo 3.1

> veo-3.1 — Google's highest quality video generation. $5.00/video.

|              |              |
| ------------ | ------------ |
| **Model ID** | `veo-3.1`    |
| **Provider** | Google       |
| **Cost**     | \$5.00/video |
| **Duration** | 4/6/8s       |
| **Speed**    | \~3-5 min    |
| **Best for** | Best quality |

## Example

```bash theme={null}
curl -X POST https://www.ninjachat.ai/api/v1/video \
  -H "Authorization: Bearer nj_sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "veo-3.1", "prompt": "A single drop of ink falls into crystal clear water, blooming into a dragon shape, macro photography", "duration": 6}'
```

```python theme={null}
import requests, os

r = requests.post("https://www.ninjachat.ai/api/v1/video",
    headers={"Authorization": f"Bearer {os.environ['NINJACHAT_API_KEY']}"},
    json={"model": "veo-3.1", "prompt": "A single drop of ink falls into crystal clear water, blooming into a dragon shape, macro photography", "duration": 6}
)
print(f"Poll: {r.json()['request_id']}")
```

***

**Guides:** [Video Generation](/video-generation) | [All Models](/models) | [Pricing](/pricing) | [Error Handling](/error-handling)
