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

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Kling 4.0 Flash API

> Kling 4.0 Flash API on Venice: text to video, image to video, reference to video and video editing, up to 720p and 20s clips, from $0.1174 per second.



## Kling 4.0 Flash API

Kling 4.0 Flash is a text to video, image to video, reference to video and video editing model by Kling AI, available on the Venice API as `kling-v4-flash-text-to-video`. The provider of this model may retain prompt data (though it is anonymized by Venice). For sensitive content, use a private model.

Kling 4.0 Flash is a faster version of Kling AI's Kling 4.0, generating 3- to 20-second clips at 720p from text with native audio.

### Kling 4.0 Flash API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `kling-v4-flash-text-to-video` | Text to video | Anonymized | from \$0.1174 / sec |
| `kling-v4-flash-image-to-video` | Image to video | Anonymized | from \$0.1174 / sec |
| `kling-v4-flash-reference-to-video` | Reference to video | Anonymized | from \$0.1175 / sec |
| `kling-v4-flash-video-to-video` | Video edit | Anonymized | priced by source |

Clip prices for `kling-v4-flash-text-to-video` with audio:

| Duration | 720p |
| - | - |
| Per second | \$0.1174 |
| 3s | \$0.35 |
| 5s | \$0.59 |
| 10s | \$1.17 |
| 20s | \$2.35 |

Any length from 3 to 20 seconds, priced per second.

### Kling 4.0 Flash specifications

| Spec | Value |
| - | - |
| Provider | Kling AI |
| Released | Nov 5, 2026 |
| Privacy | Anonymized |
| Status | Stable |
| Modes | text to video, image to video, reference to video and video editing |
| Resolutions | 720p |
| Durations | 3–20s, any whole second |
| Aspect ratios | 16:9, 9:16, 1:1, 21:9 |
| Audio | Always generated |

### How to use the Kling 4.0 Flash API

Send requests to `POST https://api.venice.ai/api/v1/video/queue` with `"model": "kling-v4-flash-text-to-video"` and your API key.

```bash theme={"system"}
# 1. Queue the job (returns a queue_id)
curl https://api.venice.ai/api/v1/video/queue \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-v4-flash-text-to-video",
    "prompt": "Slow aerial drone shot over a misty mountain valley at golden hour",
    "duration": "5s",
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }'

# 2. Poll until the MP4 is ready (JSON with the status until then)
curl https://api.venice.ai/api/v1/video/retrieve \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "kling-v4-flash-text-to-video", "queue_id": "<queue_id>" }' --output video.mp4

# If the queue response has a download_url, retrieve only reports the
# status: download the MP4 from that URL once it is COMPLETED.
```

### Related models

* [MiniMax H3 Chili API](https://docs.venice.ai/models/minimax-h3-chili.md): from \$0.0347 / sec
* [Seedance 2.5 Flash API](https://docs.venice.ai/models/seedance-2-5-flash.md): from \$0.0879 / sec
* [Flux 3 Max API](https://docs.venice.ai/models/flux-3-max.md): from \$0.1276 / sec
* [MiniMax H3 Hyper API](https://docs.venice.ai/models/minimax-h3-hyper.md): from \$0.0305 / sec


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.