Skip to content
FLUX.2 cover

FLUX.2 API

flux-2-flex-image-to-image
Black Forest LabsCommercial use API verifiedImage generationAspect ratios

FLUX.2 — fast, high-fidelity AI image generation & editing.

by Black Forest Labs

Get Your API Key
View as Markdown
Model Type:

Pricing: Flex Image To Image — 1K: 9.75 credits (≈ $0.0975), 2K: 15.42 credits (≈ $0.1542). Pro Text To Image: 1K 2.84 credits (≈ $0.0284), 2K 4.12 credits (≈ $0.0412) · Pro Image To Image: 1K 2.84 credits (≈ $0.0284), 2K 4.12 credits (≈ $0.0412).

Save up to 26%with the $1,250 top-up pack (+10% bonus) — 19% lower than direct rates even without itTop up

24H Status Monitor

Operational
24h agonow

Input

Inputs*0 / 8
Drag and drop or click to upload your imagesSupported formats: JPEG, PNG, WEBP · Maximum file size: 10MB; Maximum files: 8Select files

Input reference images (1-8 images).

Prompt*194 / 5000 characters

Must be between 3 and 5000 characters.

Aspect Ratio*

Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image).

Resolution*

Output image resolution.

NSFW filter
OnLocked — this platform doesn't generate adult content.
9.75 cr / run

Output

output typeimage
You only pay for successful generations — if a task fails or returns no result, its credits are refunded automatically, never charged. And your credits never expire: top up once and spend at your own pace.1 credit = $0.01 USDTop up $1,250 for +10% bonus credits → up to ~9% more off every call.Top up credits
FLUX.2 API pricing8 prices

Black Forest Labs flux-2 pro, text-to-image, 1.0s-1K

imageBlack Forest Labs

Credits / Gen2.84per generation
Our Price (USD)$0.0284
Direct / Standard Price (USD)$0.03
Base savings5.3%
Savings with top-up · $1,250 · +10%14% ↓

Black Forest Labs flux-2 pro, text-to-image, 1.0s-2K

imageBlack Forest Labs

Credits / Gen4.12per generation
Our Price (USD)$0.0412
Direct / Standard Price (USD)$0.045
Base savings8.4%
Savings with top-up · $1,250 · +10%17% ↓

Black Forest Labs flux-2 pro, image to image, 1.0s-1K

imageBlack Forest Labs

Credits / Gen2.84per generation
Our Price (USD)$0.0284
Direct / Standard Price (USD)$0.03
Base savings5.3%
Savings with top-up · $1,250 · +10%14% ↓

Black Forest Labs flux-2 pro, image to image, 1.0s-2K

imageBlack Forest Labs

Credits / Gen4.12per generation
Our Price (USD)$0.0412
Direct / Standard Price (USD)$0.045
Base savings8.4%
Savings with top-up · $1,250 · +10%17% ↓

Black Forest Labs Flux 2 Flex, text to image, 1.0s-1K

imageBlack Forest Labs

Credits / Gen9.75per generation
Our Price (USD)$0.0975
Direct / Standard Price (USD)$0.12
Base savings18.7%
Savings with top-up · $1,250 · +10%26% ↓

Black Forest Labs Flux 2 Flex, text to image, 1.0s-2K

imageBlack Forest Labs

Credits / Gen15.42per generation
Our Price (USD)$0.1542
Direct / Standard Price (USD)$0.18
Base savings14.3%
Savings with top-up · $1,250 · +10%22% ↓

Black Forest Labs Flux 2 Flex, image to image, 1.0s-1K

imageBlack Forest Labs

Credits / Gen9.75per generation
Our Price (USD)$0.0975
Direct / Standard Price (USD)$0.12
Base savings18.7%
Savings with top-up · $1,250 · +10%26% ↓

Black Forest Labs Flux 2 Flex, image to image, 1.0s-2K

imageBlack Forest Labs

Credits / Gen15.42per generation
Our Price (USD)$0.1542
Direct / Standard Price (USD)$0.18
Base savings14.3%
Savings with top-up · $1,250 · +10%22% ↓

Explore more image models