# AI video generation, one API key

Markdown version of https://kymaapi.com/video-generation, for agents and crawlers. Same content as the HTML page.

- Generated: 2026-10-28T21:43:33.744Z
- HTML page: https://kymaapi.com/video-generation
- Model catalog: https://kymaapi.com/models.md
- Pricing: https://kymaapi.com/pricing.md

Video generation API

Generate cinematic video from text or images across 3 video models through one endpoint and one balance. Billed per second of output or per clip; failed jobs are refunded in full.

- [Get free API key →](https://kymaapi.com/signup)
- [See pricing](https://kymaapi.com/pricing)

`POST /v1/videos/generations` · $0.50 free credit on the free tier, no card

## 3 models, one API key

Switch models with a string. Billed per use, refunded on failure.

- [Veo 3.1 Fast · Google · $0.135 / sec](https://kymaapi.com/models/veo-3.1-fast)
- [Kling 3 Pro · Kuaishou · $0.1512 / sec](https://kymaapi.com/models/kling-3-pro)
- [Kling AI Avatar v2 Pro · Kuaishou · $0.15525 / sec](https://kymaapi.com/models/kling-avatar-v2-pro)

## Quick start

OpenAI-compatible. Point your client at `https://kymaapi.com/v1` with a ky- key.

```
curl https://kymaapi.com/v1/videos/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3.1-fast",
    "prompt": "A wave breaking on a rocky shore at golden hour, cinematic",
    "duration_s": 5
  }'
# Response: { "id": "vid_...", "status": "queued" }
# Poll: GET /v1/jobs/{id} until status = "succeeded"
```

## FAQ

### Which video generation models does Kyma support?

Kyma serves Veo 3.1 Fast, Kling 3 Pro and Kling AI Avatar v2 Pro through one API, for text-to-video and image-to-video.

### How is video generation billed?

Most models bill per second of generated video; some bill a flat rate per clip. You only pay for successful generations; failed jobs are refunded in full. See the pricing page for per-model rates.

### How does the video API work?

Send a POST to /v1/videos/generations with a prompt and duration. Generation is asynchronous: you get back a job id and poll GET /v1/jobs/{id} until the status is succeeded, then download the result.

### Can I generate video with sound?

Yes. Veo 3.1 Fast and Kling AI Avatar v2 Pro produce video with native audio, so you get a finished clip in one call.

- [All models](https://kymaapi.com/models)
- [Pricing](https://kymaapi.com/pricing)
- [Compare](https://kymaapi.com/compare)
- [Video API docs →](https://docs.kymaapi.com/api-reference/videos-generations)

$0.50 free credit on the free tier. No card required.

[Get your free API key →](https://kymaapi.com/signup)
