CheaperGen
Black Forest Labsimage

FLUX.1 Kontext [pro] API

Instruction-based image editing that keeps characters consistent (legacy)

Try FLUX.1 Kontext [pro]

Runs on your balance at the price shown on the button. Results are saved to your account.

Open full-screen Studio
0

Output image shape.

Estimated cost…

Create a free account with Google or email — pay only for what you generate.

Your image will appear here

Write a prompt, pick your settings and hit Run. You only pay for successful generations.

What is FLUX.1 Kontext [pro]?

FLUX.1 Kontext [pro] edits images with plain-language instructions — change clothes, scenes, text or style — while keeping people and objects consistent, at a flat price per image. BFL now lists Kontext as a legacy model; FLUX.2 and FLUX 3 are its successors.

Flat price
One price per image
Consistent edits
Faces and objects stay
4 inputs
Combine up to 4 images
Fast
Seconds per edit

Edit with words

Kontext understands the image you give it: ask for a new background, outfit, time of day or style, or replace text on signs, and everything you didn't mention stays put.

FLUX.1 Kontext [pro] pricing

Pay per image as you go, with no subscription required. Failed generations are refunded automatically.

TierOfficial priceCheaperGen
Image
≈1 MP
$0.04/img$0.0348/img
With a monthly plan: Pro $0.0341Max $0.0333

Monthly plans lower prices on most models (shown under each price); you can still pay as you go. Pro $499/month · Max $4,999/month.

  • Official price: BFL API list price for FLUX.1 Kontext [pro] ($0.04 per image). Prices verified October 18, 2026.

Specifications

Resolution
≈1 MP
Aspect ratios
1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 · 21:9 · 9:21
Edit inputs
Up to 4 images
Released
May 29, 2025

Use FLUX.1 Kontext [pro] via API

One request to start a job, one to fetch the result. Same shape for every model.

Full API reference
const API = "https://cheapergen.com/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
  "Content-Type": "application/json",
};

// 1. Submit the job
let job = await fetch(`${API}/run/bfl/flux-kontext-pro/text-to-image`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "A cozy reading nook with a window seat, rain outside, warm lamplight, illustrated children's-book style",
    "aspect_ratio": "1:1"
  }),
}).then((r) => r.json());

// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
  await new Promise((r) => setTimeout(r, 3000));
  job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}

console.log(job.status === "succeeded" ? job.output.images[0].url : job.error);

Example prompts

Hit “Try it” to load a prompt into the playground above.

  • Image Edit

    Change the shop sign to read “BLOOM & CO.” in gold serif letters

    Try it
  • Image Edit

    Make it a snowy winter evening with warm windows, same composition

    Try it

FLUX.1 Kontext [pro] FAQ

FLUX.1 Kontext [pro] is billed at a flat price per image (about 1 megapixel), including input images. Failed generations are not charged.

Yes. Requests run on Black Forest Labs' FLUX.1 Kontext [pro] model at a lower price than the BFL list price.

Yes, outputs of the FLUX API models can be used commercially, subject to Black Forest Labs' terms and our Terms of Service.

FLUX.1 Kontext [pro] costs $0.0348 per image, 13% below the official price. 1,000 Image images cost $34.74. You pay per image, with no subscription needed, and failed generations are refunded. Real projects priced end to end: [FLUX.1 Kontext [pro] API cost](/models/bfl/flux-kontext-pro/cost).

Image: $0.0348/image (official $0.04). The price per image page breaks it down further; every tier is on [FLUX.1 Kontext [pro] API pricing](/models/bfl/flux-kontext-pro/pricing).

Use Image ($0.0348 an image), then render finals at the size you need. Every tier here is already 13% below the official price. In the same family, FLUX 3 Image Klein starts at $0.0011/image. More: [Cheapest FLUX.1 Kontext [pro]](/models/bfl/flux-kontext-pro/cheapest).

Sign up at CheaperGen, add credits and create a key in Dashboard → API keys, then send it as a bearer token. The same key works for FLUX.1 Kontext [pro] and every other model in the catalog; you don't need a Black Forest Labs account. Step by step: [FLUX.1 Kontext [pro] API key](/models/bfl/flux-kontext-pro/api-key).

The [FLUX.1 Kontext [pro] API documentation](/models/bfl/flux-kontext-pro/api) covers its 2 endpoints (bfl/flux-kontext-pro/text-to-image, bfl/flux-kontext-pro/edit): every parameter with its allowed values and default, request and response examples in cURL, Python and Node.js, polling, webhooks and errors. An OpenAPI file is available too.

Besides FLUX.1 Kontext [pro], the FLUX API covers FLUX 3 Image Klein (from $0.0011/image), FLUX 3 (from $0.0404/image), FLUX 3 Video (from $0.1425/s), FLUX.2 [klein] 4B (from $0.001/image), FLUX.2 [max] (from $0.0644/image), FLUX.2 [pro] (from $0.0276/image), FLUX.2 [flex] (from $0.046/image) and FLUX.1 Kontext [max] (from $0.0695/image). All run on the same API key; the FLUX API page compares them side by side, and FLUX Latest shows which is newest.

There is no free tier, but no subscription is needed either: credits are prepaid and only successful generations are charged. Failed generations are refunded automatically, and the quote endpoint (POST /v1/quote/{endpoint}) prices any request for free. No code needed: [how to use FLUX.1 Kontext [pro]](/models/bfl/flux-kontext-pro/how-to-use) in the Studio.

Popular Black Forest Labs models, on the same API key.

All Black Forest Labs models

Popular text-to-image models from other developers.

Text to image API

FLUX.1 Kontext [pro] is developed by Black Forest Labs. CheaperGen provides API access and does not own the model. Trademarks belong to their respective owners. · Markdown · OpenAPI