> ## 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 Max API

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

> [accordion] 纯文本规格说明
>
> ## Flux 2 Max API
>
> Flux 2 Max 是 Black Forest Labs 推出的图像生成与图像编辑模型，可通过 Venice API 以 `flux-2-max` 调用。请求经过匿名化处理，服务商始终无法获知您的身份。
>
> ### Flux 2 Max API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `flux-2-max` | 生成 | Anonymized | \$0.09 / 张 |
> | `flux-2-max-edit` | 编辑 | Anonymized | \$0.12 / 次编辑 |
>
> ### Flux 2 Max 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | 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 Max API
>
> 使用 `"model": "flux-2-max"` 和您的 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-max",
>     "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
>     "aspect_ratio": "auto"
>   }'
> ```
>
> ### 相关模型
>
> * [Hunyuan Image 3.0 API](https://docs.venice.ai/zh/models/hunyuan-image-3-0.md): \$0.09 / 张
> * [Wan 2.7 Pro API](https://docs.venice.ai/zh/models/wan-2-7-pro.md): \$0.0938 / 张
> * [Nano Banana 2 API](https://docs.venice.ai/zh/models/nano-banana-2.md): \$0.10 / 张
> * [Qwen Image 2 Pro API](https://docs.venice.ai/zh/models/qwen-image-2-pro.md): \$0.10 / 张


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