Home/Models/Replicate/Black Forest Labs/FLUX 2 MAX
X

Black Forest Labs/FLUX 2 MAX

Input:$60/M
Output:$60/M
Context:2M
Max Output:30K
FLUX.2 [max] is the flagship, highest-quality variant of the FLUX.2 family from Black Forest Labs (BFL). It is positioned as a professional-grade text→image generation and image-editing model that focuses on maximal fidelity, prompt adherence, and editing consistency across characters, objects, lighting and color. BFL and partner registries describe FLUX.2 [max] as the top-tier FLUX.2 variant with features for multi-reference editing, grounded generation.
New
Commercial Use
Overview
Features
Pricing
API

Technical Specifications (at a glance)

SpecificationDetails
Model Name / VariantFLUX.2 [max] (black-forest-labs/flux-2-max)
Model FamilyFLUX.2 Image Generation & Editing
Input TypesText prompt, reference images (multi-reference)
Max Reference ImagesUp to 8 via API, up to 10 via playground UI
Output ResolutionUp to ~4 megapixels (2048×2048 pixels)
Character Limit (prompt)Up to 32,000 chars
Core TasksText-to-image, image editing, inpainting, style control
Typical Use Case DomainsProduction creative, e-commerce, advertising assets, iterative design
Grounded ContextReal-time web context integration supported
Photography-grade OutputYes — for professional product visuals
Benchmark RankTop 3 (Text-to-Image), Top 7 (Image Editing) globally on independent leaderboards

What Is the FLUX 2 MAX

FLUX.2 [max] is the flagship, highest-quality variant of the FLUX.2 family from Black Forest Labs (BFL). It is positioned as a professional-grade text→image generation and image-editing model that focuses on maximal fidelity, prompt adherence, and editing consistency across characters, objects, lighting and color. BFL and partner registries describe FLUX.2 [max] as the top-tier FLUX.2 variant with features for multi-reference editing, grounded generation.

The FLUX.2 [max] API is the delivery mechanism used by CometAPI to expose FLUX.2 [max] model inference to developers. The API endpoints accept text prompts and one or more reference images (for image-to-image or editing tasks), and return generated images (commonly as downloadable files or base64 data URIs).

Main Features

1. Photorealistic Image Creation

FLUX.2 [max] produces photorealistic images with rich detail, realistic lighting, spatial logic, and consistent world knowledge. It’s suited for both creative and professional marketing assets.

2. Multi-Reference Fidelity

The model allows up to 8 reference images via the API (10 in interactive playgrounds). This ensures characters, products, or styles stay visually consistent across transformations.

3. Grounded Generation

A unique capability where the model incorporates current web context and real-world information into image outputs — ideal for trend-driven visuals or up-to-date content creation.

4. Advanced Editing and Retexturing

Includes powerful inpainting and editing — from background replacement to object detail refinement — with strong structural coherence and prompt adherence.

5. Text Rendering and Typography

Compared to earlier models, FLUX.2 [max] achieves higher accuracy when rendering legible text, infographics, or UI mockups within an image.

Benchmark Performance

Independent rankings position FLUX.2 [max] among the top AI image models globally:

Leaderboard TaskPosition / Score
Text-to-Image Generation#3 Global (Score ~1167)
Image Editing / Inpainting#7 Global (Score ~1247)

These placements place FLUX.2 [max] competitive with — and in some metrics exceeding — models such as Gemini-2.5-Flash and offering better prompt adherence and text rendering than some competitors.

LUX.2 [max] Comparison with Other Models

FeatureFLUX.2 [max]Gemini-2.5-Flash / Nano BananaMidjourney v7
PhotorealismVery HighVery HighHigh
Prompt AccuracyExcellentGoodVery Good
Text RenderingNative / StrongLimitedSupported
Multi-Reference SupportYes (8+)LimitedLimited
Editing (inpainting)Strong (#7)ModerateGood

Overall, FLUX.2 [max] excels particularly in multi-reference workflows, consistent identity preservation, grounded generation, and prompt adherence, making it strong for production apps compared to models that focus primarily on artistic aesthetics.

How to access black-forest-labs/flux-2-max API

Step 1: Sign Up for API Key

Log in to cometapi.com. If you are not our user yet, please register first. Sign into your CometAPI console. Get the access credential API key of the interface. Click “Add Token” at the API token in the personal center, get the token key: sk-xxxxx and submit.

Flux.2 Flex API

Step 2: Send Requests to black-forest-labs/flux-2-max API

Select the “black-forest-labs/flux-2-max ”endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience. Replace <YOUR_API_KEY> with your actual CometAPI key from your account.

Insert your question or request into the content field—this is what the model will respond to . Process the API response to get the generated answer.

Step 3: Retrieve and Verify Results

Process the API response to get the generated answer. After processing, the API responds with the task status and output data.

CometAPI also Now Supporting Replicate Format Models: 🔹 black-forest-labs/flux-2-pro 🔹 black-forest-labs/flux-2-dev 🔹 black-forest-labs/flux-2-flex

Limited Time Promotion: Lower than Replicate Official Pricing!

👇 Start Buil

Features for Black Forest Labs/FLUX 2 MAX

Explore the key features of Black Forest Labs/FLUX 2 MAX, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience.

Pricing for Black Forest Labs/FLUX 2 MAX

Explore competitive pricing for Black Forest Labs/FLUX 2 MAX, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how Black Forest Labs/FLUX 2 MAX can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Input:$60/M
Output:$60/M
Input:$75/M
Output:$75/M
-20%

Sample code and API for Black Forest Labs/FLUX 2 MAX

The FLUX.2 [max] API is the delivery mechanism used by CometAPI to expose FLUX.2 [max] model inference to developers. The API endpoints accept text prompts and one or more reference images (for image-to-image or editing tasks), and return generated images (commonly as downloadable files or base64 data URIs).
Python
JavaScript
Curl
import os
import requests
import json

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"

# API endpoint
url = "https://api.cometapi.com/replicate/v1/models/black-forest-labs/flux-2-max/predictions"

# Request headers
headers = {
    "Authorization": f"Bearer {COMETAPI_KEY}",
    "Content-Type": "application/json",
    "Accept": "*/*"
}

# Request body
payload = {
    "input": {
        "prompt": "A photorealistic wide shot of a large minimalist digital billboard standing in the middle of a forest filled with purple and lavender-hued trees. Soft violet foliage surrounds the scene, creating a surreal yet elegant atmosphere. The billboard has a sleek metal frame with subtle overhead lights, blending advanced technology with dreamlike nature. On the screen, a dark glass display shows a clean, futuristic UI with gentle lavender and magenta accents. The billboard is transparent, showing the trees behind it. Centered text reads: 'FLUX.2 [max]' in a modern sans-serif font, calm, confident, and precise. Soft daylight with a purple color cast, cinematic composition, ultra-high resolution, premium AI launch aesthetic, minimalism, tranquil mood.",
        "resolution": "2 MP",
        "aspect_ratio": "1:1",
        "input_images": [],
        "output_format": "webp",
        "output_quality": 80,
        "safety_tolerance": 2
    }
}

# Send request
response = requests.post(url, headers=headers, json=payload)

# Output result
print(f"Status Code: {response.status_code}")
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

More Models