Home/Models/Flux/FLUX 2 MAX
F

FLUX 2 MAX

輸入:$60/M
輸出:$60/M
FLUX.2 [max] 是 Black Forest Labs(BFL)推出的顶级视觉智能模型,面向生产级工作流程:市场营销、产品摄影、电子商务、创意流程,以及任何需要角色/产品形象一致性、精确文字渲染和在多百万像素分辨率下呈现照片级细节的应用。其架构经过工程化设计,具备强大的提示跟随能力、支持多参考融合(最多 10 张输入图像),并能实现 grounded generation(在生成图像时能够纳入最新的网络上下文)。
新
商用
概览
功能亮点
定价
API

FLUX.2 [max] is a top-tier visual-intelligence model from Black Forest Labs (BFL) designed for production workflows: marketing, product photography, e-commerce, creative pipelines, and any application that requires consistent character/product identity, accurate text rendering, and photoreal detail at multi-megapixel resolutions. The architecture is engineered for strong prompt-following, multi-reference fusion (up to ten input images), and grounded generation (ability to incorporate up-to-date web context when producing images).

Technical specifications (table)

FieldValue / notes
Model name / variantFLUX.2 [max] (often written FLUX 2 Max).
Input typesText prompts + reference images (image inputs accepted).
Output typesImage (photorealistic & stylized), image edits (inpainting/outpainting/retexturing)
Reference images (max)Up to 8 reference images via API
Native max resolutionUp to 4 megapixels (e.g., ~2048×2048 or equivalent MP configurations); recommended production sizes typically ≤2MP for speed/cost tradeoffs.
Context (text) window32K text tokens (documented input token capacity for FLUX.2 family).
Latency / speed“Sub-10-second” generation speeds cited for typical configurations

What is the FLUX.2 [max] API?

The FLUX.2 [max] API is BFL’s managed endpoint that exposes the FLUX.2 [max] model for programmatic text→image generation, multi-reference image editing, and grounded generation workflows. It accepts JSON requests with prompt text and optional image references, supports standard image generation parameters (dimensions, steps, guidance scale, seeds), and returns generated image URLs or image blobs per the provider’s response format.

Typical API capabilities exposed:

  • Text→Image generation endpoint.
  • Image editing / inpainting / outpainting endpoints accepting reference images.
  • Multi-reference indexing (tagging reference images within a request).
  • Optional grounding / web search integration for up-to-date context in generated imagery (available in the [max] tier).

Main features

  • Grounded generation (web context): [max] can incorporate recent, externally-sourced web context into its generations so visuals can reflect trending products or current events when requested. This is a headline differentiator.
  • High fidelity / 4MP native output: realistic lighting, textures, and stable geometry at production-grade resolutions.
  • Multi-reference editing & strong identity consistency: preserves faces and product identity across edits and across shots; supports many references to maintain consistent identity across outputs.
  • Advanced prompt following & style fidelity: tuned to faithfully reproduce complex style instructions and maintain typography / small text fidelity better than typical image models (per vendor tests).
  • Production controls: JSON control knobs, pose guidance, retexturing tools, and high control over colors (hex codes) and composition for studio workflows.

Benchmark performance

  • LM Arena / Image Arena placement: FLUX.2 [max] sits high on public image-generation leaderboards; crowd-sourced ELO rankings (LM Arena / Image Arena) show it around the 1150–1170 ELO range (example: 1168 ELO on the Text-to-Image arena at the time of reporting), placing it among the top non-BigTech image models while trailing a few top entries from the largest vendors.
  • Practical benchmarks: Strong visual quality vs. peer models (notably better color balance, texture detail and creative style range in many head-to-head tests).

FLUX 2 max Vs Midjourney vs Nano Banana

  • Vs. Midjourney v7 / Midjourney family: reviewers note FLUX.2 variants (Pro/Max) aim directly at production fidelity and multi-reference identity consistency where Midjourney’s strengths remain style and aesthetic exploration. In hard identity/consistency tests, some reviewers place FLUX.2 ahead, while Midjourney still excels for certain creative stylizations. (compare: industry reviews and direct model comparison articles).
  • Vs. Nano Banana Pro (and similar studio-grade models): Nano Banana Pro and a few other proprietary models are positioned as strong multi-reference / virtual-studio tools; FLUX.2 [max] competes closely on editing consistency and photoreal fidelity while offering a broader product family for speed/control tradeoffs.

Model Variants

VariantTarget UseKey Strength
FLUX.2 [max]Professional workflowsHighest fidelity & editing consistency
FLUX.2 [pro]Balanced performanceGood speed-quality tradeoff
FLUX.2 [flex]Adjustable controlFine-grained generation parameters
FLUX.2 [dev]Open-weight researchLocal development & experimentation

Typical production use cases

  • E-commerce / product photography: create consistent, brand-compliant product renders and multiple variants for A/B testing without a physical photoshoot.
  • Advertising & marketing assets: produce marketplace-ready hero images, posters, and lifestyle shots at up to 4MP for campaign needs.
  • Character & IP continuity: studios that need the same character/product to appear across multiple scenes and edits with identity preserved.
  • Editorial & grounded visualizations: visualize current/real-world events or trending product concepts using grounded generation to add recent context. (Be careful about legal/ethical risk for real persons.)
  • Design & prototyping: UI mockups, infographics and posters where legible text and controlled typography are required.

How to access 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 Flux 2 Max API

Select the “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. base url is flux generate image(https://api.cometapi.com/flux/v1/flux-2-max)

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

After generation, you can use the /flux/v1/get_result endpoint to query generated images or monitor process status.. After processing, the API responds with the task status and output data.

👇 Start Building Now Flux image generation – API Doc

FLUX 2 MAX 的功能

了解 FLUX 2 MAX 的核心能力,帮助提升性能与可用性,并改善整体体验。

FLUX 2 MAX 的定价

查看 FLUX 2 MAX 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
輸入:$60/M
輸出:$60/M
輸入:$75/M
輸出:$75/M
-20%

FLUX 2 MAX 的示例代码与 API

The FLUX.2 [max] API is BFL’s managed endpoint that exposes the FLUX.2 [max] model for programmatic text→image generation, multi-reference image editing, and grounded generation workflows. It accepts JSON requests with prompt text and optional image references, supports standard image generation parameters (dimensions, steps, guidance scale, seeds), and returns generated image URLs or image blobs per the provider’s response format.
Python
JavaScript
Curl
"""
FLUX 2 Max - Image Generation via Flux API
Using CometAPI's native Flux endpoint to generate images
"""

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/flux/v1/flux-2-max"

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

# Request body
payload = {
    "prompt": "ein fantastisches bild",
    "image_prompt": "",
    "aspect_ratio": "custom",
    "width": 1024,
    "height": 1024,
    "prompt_upsampling": False,
    "seed": 42,
    "safety_tolerance": 2,
    "output_format": "jpeg",
    "webhook_url": "",
    "webhook_secret": ""
}

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

更多模型