FLUX.2 [klein] 9B

AI Image Editing Model

Image $ · 0.6¢

Black Forest Labs' distilled 9 billion parameter image generation model with sub-second inference and multi-reference support

2048 x 2048
Max Resolution
Supported Modes
Text to Image Image Edit
Active

Details

Model ID
flux.2-klein-9b
Also known as: flux-2-klein-9b
Family
flux.2
Max Input Images
4
Tags
image-generation text-to-image image-editing open-weights
// Get Started

Ready to integrate?

Access flux.2-klein-9b via our unified API.

Create Account
Available at 2 providers

Starting from

$0.0060 /image via fal.ai · +1 more

Prices shown are in USD · Some prices estimated from per-megapixel or per-token pricing

See all providers

Provider Performance

Fastest generation through fal at 2,701ms median latency with 100.0% success rate.

Aggregated from real API requests over the last 30 days.

Generation Time

fal
2,701ms p95: 29,003ms

Success Rate

fal
100.0%
16 / 16 requests

Time to First Byte

fal
2,197ms
p95: 27,882ms

Provider Rankings

# Provider p50 Gen Time p95 Gen Time Success Rate TTFB (p50)
1 fal 2,701ms 29,003ms 100.0% 2,197ms
Data updated every 15 minutes. Based on all API requests through Lumenfall over the last 30 days.

Providers & Pricing (3)

FLUX.2 [klein] 9B is available from 3 providers, with per-image pricing starting at $0.006 through fal.ai.

fal.ai
Text to Image
fal/flux.2-klein-9b
Provider Model ID: fal-ai/flux-2/klein/9b
$0.0060 /megapixel
fal.ai
Image Edit
fal/flux.2-klein-9b-edit
Provider Model ID: fal-ai/flux-2/klein/9b/edit
$0.011 /input megapixel
Replicate
Text to Image Image Edit
replicate/flux.2-klein-9b
Provider Model ID: black-forest-labs/flux-2-klein-9b
$0.0020 /input megapixel

flux-2-klein-9b API OpenAI-compatible

Base URL
https://api.lumenfall.ai/openai/v1
Model
flux.2-klein-9b

Code Examples

Text to Image

/v1/images/generations
curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/generations \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux.2-klein-9b",
    "prompt": "",
    "size": "1024x1024"
  }'
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }

Image Edit

/v1/images/edits

Parameter Normalization

How we handle parameters across different providers

Not every provider speaks the same language. When you send a parameter, we handle it in one of four ways depending on what the model supports:

Behavior What happens Example
passthrough Sent as-is to the provider style, quality
renamed Same value, mapped to the field name the provider expects prompt
converted Transformed to the provider's native format size
emulated Works even if the provider has no concept of it n, response_format

Parameters we don't recognize pass straight through to the upstream API, so provider-specific options still work.

FLUX.2 [klein] 9B Benchmarks

FLUX.2 [klein] 9B is ranked #17 in Image Editing with an Elo of 1132 and #27 in Text-to-Image with an Elo of 1212 on the Lumenfall Arena, where real users pick the better image in blind comparisons. These rankings are based on 2 blind-vote competitions.

Lumenfall Arena
#17
Image Editing
1132 Elo
Lumenfall Arena
#27
Text-to-Image
1212 Elo

Image Editing Landscape

Elo vs Speed

2 models waiting for enough speed data

Text-to-Image Landscape

1 model without pricing omitted

Elo vs Speed

14 models waiting for enough speed data

Competition Results

Text-to-Image

Text Rendering

View leaderboard
Prompt

“Ad for 'Magic Burger'. Dynamic, exploded burger with all components (bun, patty, cheese, lettuce, tomato, sauce) suspended in mid-air. Emphasize photorealistic detail and a sense of motion. Dark, fiery background with glowing embers. Integrate text: 'MAGIC BURGER' as a prominent title, 'LIMITED TIME ONLY' as a secondary message, and '€6.99' in a starburst, all rendered with a fiery, glowing effect.”

Text-to-Image

Photorealism

View leaderboard
Prompt

“Ad for 'Magic Burger'. Dynamic, exploded burger with all components (bun, patty, cheese, lettuce, tomato, sauce) suspended in mid-air. Emphasize photorealistic detail and a sense of motion. Dark, fiery background with glowing embers. Integrate text: 'MAGIC BURGER' as a prominent title, 'LIMITED TIME ONLY' as a secondary message, and '€6.99' in a starburst, all rendered with a fiery, glowing effect.”

Text-to-Image

Product, Branding & Commercial

View leaderboard
Prompt

“Ad for 'Magic Burger'. Dynamic, exploded burger with all components (bun, patty, cheese, lettuce, tomato, sauce) suspended in mid-air. Emphasize photorealistic detail and a sense of motion. Dark, fiery background with glowing embers. Integrate text: 'MAGIC BURGER' as a prominent title, 'LIMITED TIME ONLY' as a secondary message, and '€6.99' in a starburst, all rendered with a fiery, glowing effect.”

Uncategorized

Image Editing
Source
Edit instruction

“Use Image 1 as the exact pose reference and Image 2 as the character reference. Recreate the person/character from Image 2 in the exact dynamic pose and body position from Image 1. Keep the exact face, hair, clothing style/details, and expression from Image 2. Match the lighting and environment of Image 1. The final image must show the character from Image 2 performing the precise action/pose from Image 1 with perfect anatomy and natural integration.”

Top Matchups

See how FLUX.2 [klein] 9B performs head-to-head against other AI models, ranked by community votes in blind comparisons.

Help rank FLUX.2 [klein] 9B Pick the better image in blind matchups. Results update rankings in real time.
Start Voting

FLUX.2 [klein] 9B is best for

See all Use Cases

FLUX.2 [klein] 9B FAQ

How much does FLUX.2 [klein] 9B cost?

FLUX.2 [klein] 9B starts at $0.006 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing.

How do I use FLUX.2 [klein] 9B via API?

You can use FLUX.2 [klein] 9B through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "flux.2-klein-9b". Code examples are available in Python, JavaScript, and cURL.

Which providers offer FLUX.2 [klein] 9B?

FLUX.2 [klein] 9B is available through fal.ai and Replicate on Lumenfall. Lumenfall automatically routes requests to the best available provider.

What is the maximum resolution for FLUX.2 [klein] 9B?

FLUX.2 [klein] 9B supports images up to 2048x2048 resolution.

Try FLUX.2 [klein] 9B in Playground

Generate images with custom prompts — no API key needed.

Open Playground