---
last_updated: 2026-11-30
source_url: https://opper.ai/black-forest-labs/flux-2-max
title: "FLUX.2 [max] by Black Forest Labs"
description: "FLUX-2-max by Black Forest Labs, the most capable FLUX-2 variant, delivering the highest quality image generation and editing in the family."
---

# FLUX.2 [max]

By [Black Forest Labs](https://opper.ai/black-forest-labs).

Released 16 Dec 2025, 21 days after [FLUX.2 \[dev\]](https://opper.ai/black-forest-labs/flux-2-dev) · [Announcement](https://docs.bfl.ai/release-notes) · [All Black Forest Labs releases](https://opper.ai/model-releases/black-forest-labs)

FLUX-2-max is the most capable variant of the FLUX-2 family, delivering the highest quality output for professional-grade generation and editing. It excels at character consistency, preserving facial features, proportions, expressions, and visual identity across multiple images, scenes, and styles, and it performs precise retexturing of objects, products, and environments while preserving shape, geometry, and lighting.

A distinguishing capability is grounded generation, which lets the model incorporate real-time web context so output can reflect current events and accurate real-world knowledge. FLUX-2-max produces photorealistic results up to 4 megapixels, accepts exact hex color codes for precise color reproduction, and supports multi-reference conditioning, making it suited to demanding work in marketing, e-commerce product visualization, design systems, and style-aligned media where quality and creative control matter more than raw speed.

## Available routes

FLUX.2 [max] runs on 1 route through the Opper gateway. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=deepinfra%2Fblack-forest-labs%2FFLUX-2-max.

| Provider | Model id | Region | Zero data retention | Training | Price |
| --- | --- | --- | --- | --- | --- |
| [DeepInfra](https://opper.ai/provider/deepinfra) | `deepinfra/black-forest-labs/FLUX-2-max` | US (United States) | Yes | No | $0.03 / megapixel |

## Key info

- Model id: `deepinfra/black-forest-labs/FLUX-2-max`
- Input: Text, Image
- Output: Image
- Features: none listed
- Pricing: $0.03 / megapixel
- Billing: Per megapixel
- Released: 16 Dec 2025
- US residency available
- Zero data retention on pay-as-you-go
- No training by default

## Pricing

Usage-based pricing, billed per megapixel, not by token.

| Variant | Price |
| --- | --- |
| Standard | $0.03 / megapixel |

## Data handling per route

Each route hosting FLUX.2 [max] has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### DeepInfra — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-19.

## Get started

Call FLUX.2 [max] through the Opper gateway with one API key. Image models run on Opper's images endpoint: POST /v3/images returns the image in the response, as base64 by default.

See the [Opper images guide](https://docs.opper.ai/build/multimodal/images) and the [Opper multimodal skill](https://skills.opper.ai/opper-multimodal/SKILL.md).

FLUX.2 [max] is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai/opper-multimodal/SKILL.md Generate an image with FLUX.2 [max]
```

### Or call it directly

cURL:

```bash
curl -s https://api.opper.ai/v3/images \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepinfra/black-forest-labs/FLUX-2-max",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }' \
  | jq -r '.data[0].b64_json' | base64 --decode > image.png
```

JavaScript:

```javascript
import { writeFile } from "node:fs/promises";

const res = await fetch("https://api.opper.ai/v3/images", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPPER_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "deepinfra/black-forest-labs/FLUX-2-max",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }),
});
const { data } = await res.json();
// Each image comes back as base64 (b64_json) unless you ask for a url
await writeFile("image.png", Buffer.from(data[0].b64_json, "base64"));
```

## Use FLUX.2 [max] in your apps

Pick your tool to see how to run it on FLUX.2 [max] through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/flux-2-max)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/flux-2-max)
- [Codex](https://opper.ai/apps/codex/flux-2-max)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/flux-2-max)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/flux-2-max)
- [Aider](https://opper.ai/apps/aider/flux-2-max)
- [Goose](https://opper.ai/apps/goose/flux-2-max)
- [Droid](https://opper.ai/apps/droid/flux-2-max)
- [OpenCode](https://opper.ai/apps/opencode/flux-2-max)
- [Pi](https://opper.ai/apps/pi/flux-2-max)
- [OpenClaw](https://opper.ai/apps/openclaw/flux-2-max)
- [Hermes](https://opper.ai/apps/hermes/flux-2-max)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/flux-2-max)
- [OmniRoute](https://opper.ai/apps/omniroute/flux-2-max)
- [Cursor](https://opper.ai/apps/cursor/flux-2-max)
- [Cline](https://opper.ai/apps/cline/flux-2-max)
- [Continue](https://opper.ai/apps/continue/flux-2-max)
- [Kilo Code](https://opper.ai/apps/kilo-code/flux-2-max)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/flux-2-max)
- [Zed](https://opper.ai/apps/zed/flux-2-max)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/flux-2-max)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/flux-2-max)
- [n8n](https://opper.ai/apps/n8n/flux-2-max)
- [LibreChat](https://opper.ai/apps/librechat/flux-2-max)
- [Open WebUI](https://opper.ai/apps/open-webui/flux-2-max)
- [See all apps](https://opper.ai/apps)

## Other models from Black Forest Labs

- [FLUX.2 \[dev\]](https://opper.ai/black-forest-labs/flux-2-dev)
- [FLUX.2 \[flash\]](https://opper.ai/black-forest-labs/flux-2-flash)
- [FLUX.2 \[klein\] 4B](https://opper.ai/black-forest-labs/flux-2-klein-4b)
- [FLUX.2 \[klein\] 9B](https://opper.ai/black-forest-labs/flux-2-klein-9b)
- [FLUX.2 \[pro\]](https://opper.ai/black-forest-labs/flux-2-pro)
- [FLUX1.1 \[pro\]](https://opper.ai/black-forest-labs/flux-1-1-pro)
