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

# Flux 3 API

> Venice 上的 Flux 3 API：文生视频、图生视频、首尾帧生视频，最高 4K、片段时长 20s，每秒 $0.1872 起。可生成音频。

> [accordion] 纯文本规格说明
>
> ## Flux 3 API
>
> Flux 3 是 Black Forest Labs 推出的文生视频、图生视频、首尾帧生视频模型，可通过 Venice API 以 `flux-3-text-to-video` 调用。请求经过匿名化处理，服务商始终无法获知您的身份。
>
> ### Flux 3 API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `flux-3-text-to-video` | 文生视频 | Anonymized | \$0.1872 / 秒 起 |
> | `flux-3-image-to-video` | 图生视频 | Anonymized | \$0.1872 / 秒 起 |
> | `flux-3-first-last-frame-to-video` | 首尾帧 | Anonymized | \$0.1872 / 秒 起 |
>
> `flux-3-text-to-video` 的片段价格（含音频）：
>
> | 时长 | 720p | 1080p | 1440p | 4K |
> | - | - | - | - | - |
> | 5s | \$0.94 | \$1.60 | \$1.75 | \$2.56 |
> | 10s | \$1.87 | \$3.19 | \$3.49 | \$5.11 |
> | 15s | \$2.81 | \$4.79 | \$5.24 | \$7.67 |
> | 20s | \$3.74 | \$6.38 | \$6.98 | \$10.22 |
>
> ### Flux 3 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | Black Forest Labs |
> | 发布日期 | 2026年8月4日 |
> | 隐私 | Anonymized |
> | 状态 | 稳定 |
> | 模式 | 文生视频、图生视频和首尾帧生视频 |
> | 分辨率 | 720p, 1080p, 1440p, 4K |
> | 时长 | 5s, 10s, 15s, 20s |
> | 宽高比 | auto, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, 9:21 |
> | 音频 | 始终生成 |
>
> ### 如何使用 Flux 3 API
>
> 使用 `"model": "flux-3-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": "flux-3-text-to-video",
>     "prompt": "Slow aerial drone shot over a misty mountain valley at golden hour",
>     "duration": "5s",
>     "resolution": "720p",
>     "aspect_ratio": "auto"
>   }'
>
> # 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": "flux-3-text-to-video", "queue_id": "<queue_id>" }' --output video.mp4
> ```
>
> ### 相关模型
>
> * [MiniMax H3 Enhanced API](https://docs.venice.ai/zh/models/minimax-h3-enhanced.md): \$0.10 / 秒 起
> * [Seedance 2.5 API](https://docs.venice.ai/zh/models/seedance-2-5.md): \$0.1685 / 秒 起
> * [Wan 3.0 API](https://docs.venice.ai/zh/models/wan-3-0.md): \$0.065 / 秒 起
> * [MiniMax H3 API](https://docs.venice.ai/zh/models/minimax-h3.md): \$0.10 / 秒 起


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