> ## 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 2 Pro API

> Venice 上的 Flux 2 Pro API：图像生成，每张图像 $0.03 起。匿名访问，不暴露您的身份。价格、规格与代码示例。

> [accordion] 纯文本规格说明
>
> ## Flux 2 Pro API
>
> Flux 2 Pro 是 Black Forest Labs 推出的图像生成模型，可通过 Venice API 以 `flux-2-pro` 调用。请求经过匿名化处理，服务商始终无法获知您的身份。
>
> ### Flux 2 Pro API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `flux-2-pro` | 生成 | Anonymized | \$0.03 / 张 |
>
> ### Flux 2 Pro 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | Black Forest Labs |
> | 发布日期 | 2025年11月25日 |
> | 隐私 | Anonymized |
> | 状态 | 稳定 |
> | 宽高比 | 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5 |
> | 提示词上限 | 3,000 字符 |
>
> ### 如何使用 Flux 2 Pro API
>
> 使用 `"model": "flux-2-pro"` 和您的 API 密钥向 `POST https://api.venice.ai/api/v1/image/generate` 发送请求。
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/image/generate \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "flux-2-pro",
>     "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
>     "aspect_ratio": "1:1"
>   }'
> ```
>
> ### 相关模型
>
> * [Grok Imagine API](https://docs.venice.ai/zh/models/grok-imagine-image.md): \$0.03 / 张
> * [Wan 2.7 API](https://docs.venice.ai/zh/models/wan-2-7-image.md): \$0.0375 / 张
> * [Qwen Image API](https://docs.venice.ai/zh/models/qwen-image.md): \$0.03 / 张
> * [Krea v2 Medium API](https://docs.venice.ai/zh/models/krea-v2-medium.md): \$0.04 / 张


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