Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
F

FLUX 2 PRO

요청당:$0.008
출시일:Oct 1, 2025

FLUX 2 PRO는 FLUX 2 시리즈의 플래그십 상용 모델로, 전례 없는 품질과 디테일로 최첨단 이미지 생성 성능을 제공합니다. 전문 및 엔터프라이즈 애플리케이션을 위해 설계되어 탁월한 프롬프트 충실도, 사진처럼 사실적인 결과물, 탁월한 예술적 표현 능력을 제공합니다. 이 모델은 AI 이미지 합성 기술의 최첨단을 대표합니다.

새로운
상업적 사용

FLUX 2 PRO의 Playground

FLUX 2 PRO의 Playground를 탐색하세요 — 모델을 테스트하고 실시간으로 쿼리를 실행하는 대화형 환경입니다. 프롬프트를 시도하고, 매개변수를 조정하며, 즉시 반복하여 개발을 가속화하고 사용 사례를 검증하세요.

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.

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

자주 묻는 질문

FLUX 2 PRO 가격

[모델명]의 경쟁력 있는 가격을 살펴보세요. 다양한 예산과 사용 요구에 맞게 설계되었습니다. 유연한 요금제로 사용한 만큼만 지불하므로 요구사항이 증가함에 따라 쉽게 확장할 수 있습니다. [모델명]이 비용을 관리 가능한 수준으로 유지하면서 프로젝트를 어떻게 향상시킬 수 있는지 알아보세요.

Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
요청당:$0.008
요청당:$0.01
-20%

FLUX 2 PRO의 샘플 코드 및 API

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

#!/bin/bash
# Get your CometAPI key from https://api.cometapi.com/console/token
# Export it as: export COMETAPI_KEY="your-key-here"

curl --location --request POST 'https://api.cometapi.com/flux/v1/flux-2-pro' \
--header "Authorization: $COMETAPI_KEY" \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data-raw '{
    "prompt": "A futuristic cyberpunk cityscape at sunset, neon signs with readable text WELCOME TO 2077, flying cars, ultra detailed, 8k",
    "width": 1920,
    "height": 1080,
    "seed": 42,
    "safety_tolerance": 2,
    "output_format": "jpeg"
}'

cURL Code Example

#!/bin/bash
# Get your CometAPI key from https://api.cometapi.com/console/token
# Export it as: export COMETAPI_KEY="your-key-here"

curl --location --request POST 'https://api.cometapi.com/flux/v1/flux-2-pro' \
--header "Authorization: $COMETAPI_KEY" \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data-raw '{
    "prompt": "A futuristic cyberpunk cityscape at sunset, neon signs with readable text WELCOME TO 2077, flying cars, ultra detailed, 8k",
    "width": 1920,
    "height": 1080,
    "seed": 42,
    "safety_tolerance": 2,
    "output_format": "jpeg"
}'

Python Code Example

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

JavaScript Code Example

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const COMETAPI_KEY = process.env.COMETAPI_KEY || "<YOUR_COMETAPI_KEY>";

// API endpoint for FLUX.2 [pro]
const url = "https://api.cometapi.com/flux/v1/flux-2-pro";

// Request payload with all available parameters
// See: https://docs.bfl.ml/api-reference/models/generate-or-edit-an-image-with-flux2-[pro]
const 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
console.log("Submitting FLUX.2 [pro] image generation task...");

const response = await fetch(url, {
    method: "POST",
    headers: {
        "Authorization": COMETAPI_KEY,
        "Content-Type": "application/json",
        "Accept": "*/*"
    },
    body: JSON.stringify(payload)
});

const result = await response.json();

console.log(`Status Code: ${response.status}`);
console.log(`Task ID: ${result.id}`);
console.log(`Cost: ${result.cost} credits`);
console.log(`Output Megapixels: ${result.output_mp}`);