> ## 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.

# Kling 4.0 Flash API

> Venice 上的 Kling 4.0 Flash API：文生视频、图生视频、参考生视频和视频编辑，最高 720p，片段最长 20s，每秒 $0.1174 起。

> [accordion] 纯文本规格说明
>
> ## Kling 4.0 Flash API
>
> Kling 4.0 Flash 是由 Kling AI 推出的文生视频、图生视频、参考生视频和视频编辑模型，可通过 Venice API 以 `kling-v4-flash-text-to-video` 调用。请求经过匿名化处理，服务提供商永远不会看到您的身份。
>
> ### Kling 4.0 Flash API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `kling-v4-flash-text-to-video` | 文生视频 | Anonymized | \$0.1174 / 秒 起 |
> | `kling-v4-flash-image-to-video` | 图生视频 | Anonymized | \$0.1174 / 秒 起 |
> | `kling-v4-flash-reference-to-video` | 参考生视频 | Anonymized | \$0.1175 / 秒 起 |
> | `kling-v4-flash-video-to-video` | 视频编辑 | Anonymized | 按源视频定价 |
>
> `kling-v4-flash-text-to-video` 的片段价格（含音频）：
>
> | 时长 | 720p |
> | - | - |
> | 每秒 | \$0.1174 |
> | 3s | \$0.35 |
> | 5s | \$0.59 |
> | 10s | \$1.17 |
> | 20s | \$2.35 |
>
> 支持 3 到 20 秒之间的任意时长，按秒计费。
>
> ### Kling 4.0 Flash 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | Kling AI |
> | 发布日期 | 2026年11月5日 |
> | 隐私 | Anonymized |
> | 状态 | 稳定 |
> | 模式 | 文生视频、图生视频、参考生视频和视频编辑 |
> | 分辨率 | 720p |
> | 时长 | 3–20s，任意整数秒 |
> | 宽高比 | 16:9, 9:16, 1:1, 21:9 |
> | 音频 | 始终生成 |
>
> ### 如何使用 Kling 4.0 Flash API
>
> 使用 `"model": "kling-v4-flash-text-to-video"` 和您的 API 密钥向 `POST https://api.venice.ai/api/v1/video/queue` 发送请求。
>
> ```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
> 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
> ```
>
> ### 相关模型
>
> * [Flux 3 Max API](https://docs.venice.ai/zh/models/flux-3-max.md): \$0.0638 / 秒 起
> * [MiniMax H3 Max Recast API](https://docs.venice.ai/zh/models/minimax-h3-max-recast.md): 按源视频定价
> * [Grok Imagine 1.5 Lite API](https://docs.venice.ai/zh/models/grok-imagine-1-5-lite.md): \$0.024 / 秒 起
> * [Wan 3.0 Prime Pro API](https://docs.venice.ai/zh/models/wan-3-0-prime-pro.md): \$0.3312 / 秒 起


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