Home/Models/Flux/FLUX 2 PRO
F

FLUX 2 PRO

Per Verzoek:$0.08
FLUX 2 PRO is het commerciële vlaggenschipmodel in de FLUX 2-serie en levert toonaangevende beeldgeneratie met ongekende kwaliteit en detail. Ontworpen voor professionele en zakelijke toepassingen, biedt het superieure prompttrouw, fotorealistische resultaten en uitzonderlijke artistieke mogelijkheden. Dit model vertegenwoordigt de voorhoede van de AI-technologie voor beeldsynthese.
Nieuw
Commercieel gebruik
Overzicht
Functies
Prijzen
API

What is FLUX.2 Pro

FLUX.2-Pro is Black Forest Labs’ production-grade, closed-weight visual generative model designed for teams and products that require fast, repeatable, photorealistic image synthesis and robust multi-image editing. It is positioned as the highest-performance tier of the FLUX.2 family: engineered for minimal latency, tight prompt fidelity, and output quality suitable for advertising, product imagery, and other commercial creative workflows. The model emphasizes:

  • High-fidelity photorealism (4MP raw outputs available).
  • Multi-reference editing (Pro: up to 8 reference images via API).

What makes FLUX.2 Pro distinct

  • Production latency & throughput: hosted Pro endpoints trade model internals and runtime stacks to deliver low wall-clock time for generation and edits. Reported Replicate figures show ~6 s generation latency (9 s with an input image) on their hosted Pro endpoint.
  • High photoreal fidelity and text/typography improvements: engineered to render readable text and precise layout elements reliably — useful for UI mockups, posters, and in-ad creatives.
  • Multi-reference editing: Pro supports combining multiple reference images to preserve identity/style across outputs (Replicate’s Pro listing indicates support for up to eight reference images; the FLUX.2 family docs describe up to 10 references for some variants). Use the Pro counts when integrating with the hosted Pro endpoint.
  • Native high resolution: FLUX.2 is capable of multi-megapixel outputs (advertised up to 4MP native), while production usage often targets a 1–2MP operational envelope for cost/latency balance.

How FLUX.2-Pro compares with contemporaries

  • Nano Banana Pro (Google / internal name of a competitor) — Nano Banana Pro and FLUX.2-Pro compete closely on photoreal fidelity. Reviewers note stylistic differences (composition and color handling), and FLUX.2’s strengths in typography and multi-reference consistency are a distinguishing point.
  • Midjourney / Runway / Qwen-Image / Hunyuan Image — independent comparisons put FLUX.2 family in a competitive band: higher win-rates on launch comparisons for many text→image and editing tasks, while commercial SaaS products may still excel in certain stylistic pipelines or user tooling. Choose by the desired fidelity/latency/style trade-offs.

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

Select the “flux-2-pro ”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-pro)

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

Veelgestelde vragen

What is the primary use case for FLUX.2 [pro]?

FLUX.2 [pro] is designed for production workflows at scale, offering a balance of high performance and affordability ($0.03/MP) for generating production-grade assets.

Does FLUX.2 [pro] support multi-reference image editing?

Yes, FLUX.2 [pro] supports up to 8 reference images via API (10 in Playground) for character consistency and style transfer.

What is the maximum output resolution for FLUX.2 [pro]?

FLUX.2 [pro] supports generating images with resolutions up to 4 megapixels (4MP) in any aspect ratio.

Can FLUX.2 [pro] perform grounding searches like FLUX.2 [max]?

No, grounding search (web search for real-time context) is exclusive to the [max] model. FLUX.2 [pro] relies on its internal knowledge base.

Does FLUX.2 [pro] support pose and color control?

Yes, FLUX.2 [pro] includes advanced controls for pose guidance, hex color matching, and structured prompting.

How does FLUX.2 [pro] compare to FLUX.1 [pro]?

FLUX.2 [pro] offers improved photorealism, multi-reference capabilities for editing, and superior prompt adherence compared to the previous generation.

Is FLUX.2 [pro] suitable for typography and text rendering?

While capable, FLUX.2 [flex] is the specialized model recommended specifically for typography and preserving small text details.

Functies voor FLUX 2 PRO

<think> 用户要求我将英文文本翻译成荷兰语(Nederlands)。我需要注意: 1. 保持格式和特殊字符(如{} 变量占位符) 2. 技术术语保持准确性 3. 保持语气和风格 4. UI文本要简洁明了 5. 只返回翻译文本,不要添加解释 6. 不要添加任何前缀或说明 原文是: "Explore the key features of FLUX 2 PRO, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience." 这看起来是产品或技术介绍的文本,需要翻译成荷兰语。我需要保持FLUX 2 PRO这个占位符不变。 让我翻译: - Explore = Ontdek/Verken - key features = belangrijkste functies/eigenschappen - designed to enhance = ontworpen om te verbeteren - performance = prestaties - usability = bruikbaarheid - Discover = Ontdek - capabilities = mogelijkheden - benefit = ten goede komen/voordeel opleveren - projects = projecten - improve = verbeteren - user experience = gebruikerservaring 翻译: Ontdek de belangrijkste functies van FLUX 2 PRO, ontworpen om prestaties en bruikbaarheid te verbeteren. Ontdek hoe deze mogelijkheden uw projecten ten goede kunnen komen en de gebruikerservaring kunnen verbeteren. 不过"Ontdek"出现了两次,可能需要调整一下: Verken de belangrijkste functies van FLUX 2 PRO, ontworpen om prestaties en bruikbaarheid te verbeteren. Ontdek hoe deze mogelijkheden uw projecten ten goede kunnen komen en de gebruikerservaring kunnen verbeteren. I'll explore how these capabilities can positively impact your projects and optimize the user experience. </think> Verken de belangrijkste functies van FLUX 2 PRO, ontworpen om prestaties en bruikbaarheid te verbeteren. Ontdek hoe deze mogelijkheden uw projecten ten goede kunnen komen en de gebruikerservaring verbeteren.

Prijzen voor FLUX 2 PRO

Ontdek concurrerende prijzen voor FLUX 2 PRO, ontworpen om te passen bij verschillende budgetten en gebruiksbehoeften. Onze flexibele abonnementen zorgen ervoor dat u alleen betaalt voor wat u gebruikt, waardoor het gemakkelijk is om op te schalen naarmate uw vereisten groeien. Ontdek hoe FLUX 2 PRO uw projecten kan verbeteren terwijl de kosten beheersbaar blijven.
Comet Prijs (USD / M Tokens)Officiële Prijs (USD / M Tokens)
Per Verzoek:$0.08
Per Verzoek:$0.1

Voorbeeldcode en API voor FLUX 2 PRO

FLUX.2-Pro is the highest-performance, managed tier of Black Forest Labs’ second-generation FLUX image models. It is designed for production creative workflows that demand predictable latency, consistent prompt-following and high photographic fidelity (including reliable typography, layout, and multi-reference identity preservation).
Python
JavaScript
Curl
import os
import requests

# 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 for FLUX.2 [pro]
url = "https://api.cometapi.com/flux/v1/flux-2-pro"

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

# Request payload with all available parameters
# See: https://docs.bfl.ml/api-reference/models/generate-or-edit-an-image-with-flux2-[pro]
payload = {
    # Required: Text prompt for image generation
    "prompt": "A futuristic cyberpunk cityscape at sunset, neon signs with readable text 'WELCOME TO 2077', flying cars, ultra detailed, 8k",
    # Output dimensions (multiple of 16, min 64, max 4MP total)
    "width": 1920,
    "height": 1080,
    # Seed for reproducible results (optional)
    "seed": 42,
    # Moderation level: 0 (strict) to 5 (permissive), default: 2
    "safety_tolerance": 2,
    # Output format: "jpeg" or "png"
    "output_format": "jpeg",
}

# Submit the generation task
print("Submitting FLUX.2 [pro] image generation task...")
response = requests.post(url, headers=headers, json=payload)
result = response.json()

print(f"Status Code: {response.status_code}")
print(f"Task ID: {result.get('id')}")
print(f"Cost: {result.get('cost')} credits")
print(f"Output Megapixels: {result.get('output_mp')}")

Meer modellen