FLUX.2 Pro
Generate photorealistic images with FLUX.2 Pro from $0.07 per image — one REST call, no GPU to rent.
Black Forest Labs' flagship image model. Sharp photorealism, reliable text rendering, and strong prompt adherence across nine aspect ratios, with reference-image editing and PNG or JPEG output.
No credit card required. Takes 30 seconds.
2,400+
Developers
1.2M+
API calls served
100+
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Enter a prompt and generate an image with FLUX.2 Pro.
Drop image or click to upload
For image-to-image editing
Pricing
Per-image: from $0.07/image
Endpoint
/v1/media/queue
Strengths
FLUX.2 Pro is the standard-bearer of the FLUX.2 family, balancing photorealistic detail, clean composition, and prompt adherence in a single fast pass.
Renders legible signage, packaging copy, and UI text far more reliably than earlier diffusion models, which makes it practical for ad and product creative.
Pass an existing image to edit, restyle, or extend it instead of generating from scratch, keeping brand assets consistent across a set.
Covers 1:1 through 21:9 plus auto, so a single prompt can be re-rendered for feed posts, banners, and cinematic crops.
Quick start
Copy this snippet and start making calls with FLUX.2 Pro.
// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "black-forest-labs/flux.2-pro",
"prompt": "A weathered brass diving helmet resting on wet slate, seawater beading on the glass, cold north-facing window light, macro detail on the rivets, muted teal and copper palette",
"options": {
"aspectRatio": "1:1"
}
}),
});
const { data } = await res.json();
const jobId = data.jobId;
// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }Why use FLUX.2 Pro through YepAPI?
FLUX.2 Pro API — flagship image generation from $0.07
FLUX.2 Pro is Black Forest Labs' flagship text-to-image model, known for photorealistic detail, dependable text rendering, and tight prompt adherence. It supports nine aspect ratios from square to 21:9, accepts a reference image for editing, and returns PNG or JPEG.
Through YepAPI you call FLUX.2 Pro on the same `/v1/media/queue` endpoint as every other image and video model, with one key and per-image pricing from $0.07 — no self-hosting, no GPU provisioning, no separate account.
Start generating in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Black Forest Labs' flagship image model. Sharp photorealism, reliable text rendering, and strong prompt adherence across nine aspect ratios, with reference-image editing and PNG or JPEG output.
Pricing for FLUX.2 Pro through YepAPI is based on usage. No monthly minimums — you only pay for what you use.
Sign up for a free API key, then send requests to the /v1/media/queue endpoint.
Ready to use FLUX.2 Pro?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
FLUX.2 Max
Black Forest LabsFLUX.2 Max for hero-grade AI images from $0.15 per image — the family's highest-fidelity tier via one API key.
FLUX.2 Flex
Black Forest LabsFLUX.2 Flex from $0.13 per image — the tier between Pro and Max, on the same media endpoint.
FLUX.2 Klein
Black Forest LabsFLUX.2 Klein from $0.03 per image — the compact 4B FLUX model for high-volume generation.