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

# Flux 2 Max API

> Flux 2 Max API on Venice: image generation and image editing, from $0.09 per image. Anonymized access without your identity. Pricing, specs and code examples.



## Flux 2 Max API

Flux 2 Max is an image generation and image editing model by Black Forest Labs, available on the Venice API as `flux-2-max`. The provider of this model may retain prompt data (though it is anonymized by Venice). For sensitive content, use a private model.

Flux 2 Max is the top tier of Black Forest Labs' FLUX.2 image family, aimed at realism, precision and consistency. It pairs with Flux 2 Max Edit for editing with up to 6 input images.

### Flux 2 Max API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `flux-2-max` | Generate | Anonymized | \$0.09 / image |
| `flux-2-max-edit` | Edit | Anonymized | \$0.12 / edit |

### Flux 2 Max specifications

| Spec | Value |
| - | - |
| Provider | Black Forest Labs |
| Released | Nov 25, 2025 |
| Privacy | Anonymized |
| Status | Stable |
| Aspect ratios | 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5 |
| Prompt limit | 3,000 characters |

### How to use the Flux 2 Max API

Send requests to `POST https://api.venice.ai/api/v1/image/generate` with `"model": "flux-2-max"` and your API key.

```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"
  }'
```

### Related models

* [Hunyuan Image 3.0 API](https://docs.venice.ai/models/hunyuan-image-3-0.md): \$0.09 / image
* [Wan 2.7 Pro API](https://docs.venice.ai/models/wan-2-7-pro.md): \$0.0938 / image
* [Nano Banana 2 API](https://docs.venice.ai/models/nano-banana-2.md): \$0.10 / image
* [Qwen Image 2 Pro API](https://docs.venice.ai/models/qwen-image-2-pro.md): \$0.10 / image


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