Claude Opus 5 is now live on CometAPI →
F

FLUX 2 FLEX

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

FLUX 2 FLEX는 다양한 사용 사례와 하드웨어 구성 전반에 걸쳐 유연하게 배포할 수 있도록 설계된, 범용성과 적응성이 뛰어난 모델입니다. 조정 가능한 품질 설정과 함께 확장 가능한 성능을 제공하여, 동적 리소스 할당이 필요한 애플리케이션에 이상적입니다. 이 모델은 품질, 속도, 리소스 효율성 간의 최적의 균형을 제공합니다.

새로운
상업적 사용

FLUX 2 FLEX의 Playground

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

FLUX.2 [flex]란 무엇인가

**FLUX.2 [flex]**는 Black Forest Labs의 FLUX.2 제품군에서 “유연 제어(flexible-control)” 변형으로, 추론 파라미터(steps, guidance scale, seed)를 조정할 수 있게 노출하여 개발자가 속도와 충실도 간의 균형을 조절하고 타이포그래피/미세 디테일 동작을 정밀하게 다룰 수 있도록 한 프로덕션 지향 텍스트→이미지 및 이미지 편집 모델입니다. Flex는 멀티 레퍼런스 편집을 지원하며(Flex 티어에서 최대 10개의 레퍼런스 이미지), 최대 ~4 메가픽셀까지 편집합니다.


FLUX.2 [flex]의 적합한 용도

  • 품질과 속도 간의 정밀한 제어(사용자가 추론 스텝 수와 가이던스 스케일을 선택).
  • 동급 대비 뛰어난 텍스트/타이포그래피 렌더링 — 포스터, UI 목업, 인포그래픽에 권장.
  • 멀티 레퍼런스 편집: 최대 10장의 입력 이미지(Flex)에서 아이덴티티/브랜드 요소를 결합·보존하며, 일관된 조명과 재질을 유지.
  • 높은 네이티브 해상도 및 편집: 최대 4MP 출력; 대부분의 워크플로에서 권장 운영 범위는 ≤2MP.
  • 구조화된 프롬프트 지원: JSON 또는 자연어 프롬프트; “프롬프트 업샘플링”이 짧은 프롬프트를 자동으로 보강할 수 있음.

FLUX.2 [flex]의 동급 모델과의 비교

간단한 표(요약):

  • Nano Banana Pro(Google / 내부 명칭; 고충실도 경쟁작): 고해상도에서 유사한 원시 충실도; 일부 제공자 빌드에서는 Nano Banana가 더 큰 출력 크기를 목표로 함; 사용자 비교에서는 유사한 포토리얼리즘이지만 프롬프트 동작과 편집 일관성에서 서로 다른 강점을 보임.
  • Qwen-Image / Hunyuan Image: 출시 비교에서 텍스트→이미지 및 멀티 레퍼런스 편집 과제에 대해 FLUX.2가 더 높은 주관적 승률을 보였다고 보고됨(출시 커버리지 참고).
  • Midjourney / 상용 SaaS: Midjourney는 최종 픽셀 수를 경쟁하기 위해 업스케일링 파이프라인을 자주 사용; FLUX.2는 네이티브 고해상도 출력과 더 엄격한 멀티 레퍼런스 편집을 강조. 독립 리뷰어들은 구성 스타일과 네이티브 픽셀 디테일에서 트레이드오프가 있다고 본다.

실무적 요점: FLUX.2의 강점은 멀티 레퍼런스 편집, 견고한 타이포그래피, 그리고 처리량/품질/비용 절충을 선택할 수 있는 엔드포인트 패밀리입니다. 독립 테스트 결과, 같은 출시 시점의 최상위 모델들과 경쟁력이 있는 것으로 평가됩니다.

[flex] 전용 매개변수:

매개변수유형기본값설명
steps정수50[flex 전용] 추론 스텝 수. 최대: 50, 기본값: 50. 높을수록 = 더 많은 디테일, 더 느림.
guidance실수4.5[flex 전용] 가이던스 스케일. 출력이 프롬프트를 얼마나 가깝게 따르는지 제어. 최소: 1.5, 최대: 10, 기본값: 4.5. 높을수록 = 프롬프트 준수도가 상승.

Flux.2 Flex API에 접근하는 방법

Step 1: Sign Up for API Key

cometapi.com에 로그인하세요. 아직 저희 사용자라면 먼저 등록해 주세요. CometAPI console에 로그인합니다. 인터페이스의 액세스 자격 증명인 API 키를 발급받습니다. 개인 센터에서 API token의 “Add Token”을 클릭해 토큰 키: sk-xxxxx를 발급받아 제출합니다.

Step 2: Send Requests to Flux.2 Flex API

API 요청을 전송할 때 “flux-2-flex” 엔드포인트를 선택하고 요청 본문을 설정하세요. 요청 메서드와 요청 본문은 당사 웹사이트의 API 문서에서 확인할 수 있습니다. 편의를 위해 웹사이트에서 Apifox 테스트도 제공합니다. 계정의 실제 CometAPI 키로 <YOUR_API_KEY>를 교체하세요. base url is flux generate image(https://api.cometapi.com/flux/v1/flux-2-flex)

질문이나 요청을 content 필드에 입력하세요 — 모델은 해당 내용에 응답합니다. API 응답을 처리해 생성된 결과를 가져오세요.

Step 3: Retrieve and Verify Results

생성 후, /flux/v1/get_result 엔드포인트를 사용해 생성된 이미지를 조회하거나 처리 상태를 모니터링할 수 있습니다.. 처리 완료 후, API는 작업 상태와 출력 데이터를 응답합니다.

👇 지금 바로 시작하세요 Flux 이미지 생성 – API 문서

자주 묻는 질문

FLUX 2 FLEX 가격

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

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

FLUX 2 FLEX의 샘플 코드 및 API

FLUX.2 Flex는 Black Forest Labs의 FLUX.2 이미지 생성 제품군에서 중간급의 개발자 지향 모델입니다. 생성 파라미터(특히 샘플링 스텝 수와 가이던스 스케일)를 설정할 수 있도록 제공하여, 개발자가 지연 시간과 텍스트/타이포그래피 충실도 및 이미지 세부 묘사 간의 균형을 조정할 수 있습니다.

#!/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-flex' \
--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",
    "prompt_upsampling": true,
    "width": 1920,
    "height": 1080,
    "steps": 50,
    "guidance": 5.0,
    "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-flex' \
--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",
    "prompt_upsampling": true,
    "width": 1920,
    "height": 1080,
    "steps": 50,
    "guidance": 5.0,
    "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 [flex]
url = "https://api.cometapi.com/flux/v1/flux-2-flex"

# 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-[flex]
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",
    # Optional: Enable prompt upsampling for enhanced details (default: true)
    "prompt_upsampling": True,
    # Output dimensions (multiple of 16, min 64, max 4MP total)
    "width": 1920,
    "height": 1080,
    # FLEX-specific: Number of inference steps (1-50, default: 50)
    # Higher values produce more detailed images but take longer
    "steps": 50,
    # FLEX-specific: Guidance scale (1.5-10, default: 5)
    # Higher values improve prompt adherence at cost of reduced realism
    "guidance": 5.0,
    # 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 [flex] 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 [flex]
const url = "https://api.cometapi.com/flux/v1/flux-2-flex";

// Request payload with all available parameters
// See: https://docs.bfl.ml/api-reference/models/generate-or-edit-an-image-with-flux2-[flex]
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",
    
    // Optional: Enable prompt upsampling for enhanced details (default: true)
    prompt_upsampling: true,
    
    // Output dimensions (multiple of 16, min 64, max 4MP total)
    width: 1920,
    height: 1080,
    
    // FLEX-specific: Number of inference steps (1-50, default: 50)
    // Higher values produce more detailed images but take longer
    steps: 50,
    
    // FLEX-specific: Guidance scale (1.5-10, default: 5)
    // Higher values improve prompt adherence at cost of reduced realism
    guidance: 5.0,
    
    // 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 [flex] 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}`);