Flux 2 Max: What It Does and When to Use It (2026)
Unicorn API Team · · 10 min read
Flux 2 Max is the highest-quality model in Black Forest Labs’ FLUX.2 image family. It is the tier you reach for when an image has to be right on the first try: crisp text on a product label, a face that stays the same across five edits, a layout that follows a long prompt line by line. It also costs the most to run, so the useful questions are what it actually does better than its siblings, and when that difference is worth paying for.
This guide covers both. It explains where Max sits in the lineup next to Pro, Flex, Dev and Klein, what it is good at, the trade-offs, and how to run FLUX.2 models from your own code with one API key.
What is Flux 2 Max?
FLUX.2 is the second generation of Black Forest Labs’ Flux text-to-image models. A text-to-image model takes a written description, called a prompt, and produces a matching picture. Like most modern image generators, Flux is a diffusion model. It starts from random noise and removes that noise step by step until an image appears that fits the prompt.
FLUX.2 comes in several tiers rather than as one model. Flux 2 Max is the top one, tuned for three things:
- Prompt adherence. It follows long, specific prompts closely: object counts, positions, colours, lighting, camera angle.
- Text rendering. It produces readable lettering, including several fonts in one scene and text that wraps around curved objects such as bottles or mugs.
- Grounded, consistent editing. It can take reference images (photos you supply so the model knows what a product, person or style looks like) and keep those details stable across a series of edits. Providers list it as accepting up to 8 references.
Max is a hosted model. You call it through an API or a web app. You do not download it. That separates it from Flux 2 Dev, which has open weights you can run yourself.
The naming follows the earlier Flux.1 Kontext series, which also used a Max, Pro and Dev split with Max at the top. If you used Kontext Max for character sheets and style-consistent scenes, Flux 2 Max is the newer generation of the same idea, with stronger raw image quality and editing.
How the FLUX.2 family fits together: Max, Pro, Flex, Dev and Klein
Most confusion about Flux 2 Max comes from not knowing what the other tiers are for. Each one gives up something to gain something else:
- Flux 2 Max: the best quality, prompt following and consistency, at the highest price.
- Flux 2 Pro: the everyday production model, with photoreal detail and strong prompt following at a much lower price.
- Flux 2 Flex: a version that gives you more control and handles typography and fine detail well, sold as separate text-to-image and image-to-image models.
- Flux 2 Dev: open weights for self-hosting and fine-tuning. Read the license terms before using it commercially.
- Flux 2 Klein: the small, fast branch, built for speed and volume. Black Forest Labs has since shipped a Flux 3 Klein generation.
Here is how the tiers available on Unicorn API compare, with exact credit prices. One credit costs $0.01 on a monthly plan and $0.015 as a top-up.
| Model | Best for | Price per image | Reference / input images |
|---|---|---|---|
| Flux 2 Pro | Photoreal production images | 5 credits (1K), 7 credits (2K) | Up to 8 references |
| Flux 2 Flex Text To Image | Detailed, controlled generations | 14 credits (1K), 24 credits (2K) | None (text only) |
| Flux 2 Flex Image To Image | Editing and restyling existing images | 14 credits (1K), 24 credits (2K) | Input images via input_urls |
| Flux 3 Klein Text to Image | Fast drafts, volume, up to 4K | 1.6 (1K), 2.5 (2K), 6.5 (4K) credits | None (text only) |
| Flux 3 Klein Edit Image | Cheap, quick edits | 1.6 (1K), 2.5 (2K), 6.5 (4K) credits | Input images via image_urls |
Flux 2 Max is not on that list. The Unicorn API catalog currently offers Pro, the two Flex models and the Klein models, so check the full model catalog for anything added later. For most jobs that is less of a gap than it looks, as the next sections show.

What Flux 2 Max is good at
Typography and in-image text
Text has long been the weak spot of image models: misspelled signs, melted letters, fonts that drift halfway through a word. Flux 2 Max handles posters, packaging mockups, book covers and UI screenshots with legible copy. It also handles several typefaces in one composition, and text that follows a surface, such as a label curving around a can.
If text is your main concern, compare it against GPT Image 1.5, which is known for legible text and can output a transparent background. It costs 3, 4 or 22 credits per image at low, medium or high quality.
Multi-reference consistency
With reference images you can say “this exact sneaker, on this model, in this lighting style” and get a result that matches all three. Flux 2 Max is tuned to keep identity and product details stable across a series of edits, which is what catalog and campaign work needs. Flux 2 Pro takes up to 8 references as well and does a good job. Max is the tier to try when Pro keeps drifting on small details like stitching, logos or freckles.
Long, structured prompts
Prompts with ten distinct requirements tend to lose two or three of them on cheaper models. The extra cost of Max mostly pays for the model honouring the whole prompt, not for prettier pixels.
Where it is not the right tool
- Rapid iteration. When you are still working out the composition, paying top-tier prices for throwaway drafts wastes money.
- Self-hosting or fine-tuning. Max is closed and hosted. Use Flux 2 Dev for that.
- Character sheets in an established Kontext workflow. Some teams still prefer Kontext Max for that specific job. Test before migrating.
Is Flux 2 Max worth the extra cost?
The honest answer is: only for some images. Price differences between tiers compound quickly at volume, and the quality gap between Max and Pro is narrower than the gap between Pro and a lightweight model.
Some numbers help. Here are the prices for 100 images on Unicorn API at monthly-plan rates:
- Flux 3 Klein Text to Image at 1K: 1.6 credits each, so about 160 credits, or $1.60, if you batch them. A single image rounds up to 2 credits.
- Flux 2 Pro at 1K: 5 credits each, 500 credits, $5.
- Flux 2 Pro at 2K: 7 credits each, 700 credits, $7.
- Flux 2 Flex at 2K: 24 credits each, 2,400 credits, $24.
So Flex at 2K costs a little over 3x as much as Pro at 2K, and about 15x as much as Klein at 1K. Top-tier models like Flux 2 Max sit at the high end of that range. A spread like that should shape your workflow.
A simple rule
- Draft cheap. Explore compositions on Klein or Nano Banana 2 Lite (4 credits per image, up to 10 references).
- Refine on Pro. Lock the prompt and references, then render at 2K.
- Escalate only on failure. If Pro keeps missing text or drifting on a product detail, move that one image up a tier.
Following that rule, a top-tier model like Flux 2 Max ends up producing a small share of your final images instead of every draft, and your bill shows it.

How to run FLUX.2 models through an API (worked example)
Image generation on Unicorn API is asynchronous. You create a job, the model renders it in the background, and you poll until it finishes. Every model uses the same two endpoints, so moving between Klein, Pro and Flex means changing the model string and a few input fields.
Step 1: get a key
Create a key on the API keys page and export it:
export UNICORN_API_KEY="your-key-here"
Step 2: create a job with curl
This renders a packaging mockup on Flux 2 Pro at 2K. It costs 7 credits per image:
curl -X POST https://api.unicornapi.net/v1/jobs \
-H "Authorization: Bearer $UNICORN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-2-pro",
"input": {
"prompt": "Studio product photo of a matte black coffee bag on a walnut table, the label reads NORTHLINE ROASTERS in bold serif type, soft window light from the left, shallow depth of field",
"resolution": "2K",
"aspect_ratio": "4:3"
}
}'
The response includes a job id. Poll GET /v1/jobs/{id} until status is "succeeded", then read the image URL from outputs[0].url.
Step 3: the full flow in Python
This script drafts on Klein, then renders the final image on Pro. It is the escalation pattern described above:
import os
import time
import requests
BASE = "https://api.unicornapi.net"
HEADERS = {
"Authorization": f"Bearer {os.environ['UNICORN_API_KEY']}",
"Content-Type": "application/json",
}
def run_job(model, input_fields, poll_seconds=3, timeout=300):
r = requests.post(f"{BASE}/v1/jobs", headers=HEADERS,
json={"model": model, "input": input_fields})
r.raise_for_status()
job = r.json()
job_id = job["id"]
deadline = time.time() + timeout
while time.time() < deadline:
r = requests.get(f"{BASE}/v1/jobs/{job_id}", headers=HEADERS)
r.raise_for_status()
job = r.json()
if job["status"] == "succeeded":
return job["outputs"][0]["url"]
if job["status"] in ("failed", "canceled"):
raise RuntimeError(f"Job {job_id} ended with status {job['status']}")
time.sleep(poll_seconds)
raise TimeoutError(f"Job {job_id} did not finish in {timeout}s")
prompt = (
"Studio product photo of a matte black coffee bag on a walnut table, "
"the label reads NORTHLINE ROASTERS in bold serif type, "
"soft window light from the left, shallow depth of field"
)
# 1. Cheap draft to check composition (1.6 credits at 1K, rounded up)
draft = run_job("flux-3-klein-text-to-image", {"prompt": prompt, "resolution": "1K"})
print("Draft:", draft)
# 2. Final render on Flux 2 Pro at 2K (7 credits)
final = run_job("flux-2-pro", {
"prompt": prompt,
"resolution": "2K",
"aspect_ratio": "4:3",
})
print("Final:", final)
Step 4: edit an existing image
To restyle or correct a photo you already have, send it to Flux 2 Flex Image To Image through input_urls:
final_edit = run_job("flux-2-flex-image-to-image", {
"prompt": "Same coffee bag, but on a white marble counter with morning light",
"input_urls": ["https://example.com/coffee-bag.png"],
"resolution": "1K",
"aspect_ratio": "1:1",
})
Before a large batch, you can get the exact price of any request with POST /v1/models/price, so a 500-image run holds no surprises. The API documentation covers the request format. If you prefer to test prompts visually first, the image playground runs the same models in the browser. If you build inside Cursor or Claude Code, the MCP setup lets your coding agent call these models directly.
Prompting tips that matter more than the tier
A well-written prompt on Pro often beats a vague one on Flux 2 Max. These habits help on every FLUX.2 tier:
- Put exact text in quotes and keep it short. “The label reads NORTHLINE ROASTERS” works better than describing a label in general. Short phrases render more reliably than full sentences.
- Name the font style, not a brand font. “Bold condensed sans-serif” is clearer to the model than a typeface name it may not know.
- Order the prompt by importance. Subject first, then setting, then lighting and camera, then style.
- Describe the light source. “Soft window light from the left” fixes direction, quality and mood at once.
- Use references for identity, words for changes. Let the reference images carry what the product looks like. Use the prompt for what should be different.
- Pick the aspect ratio up front. Flux 2 Pro supports 16:9, 1:1, 9:16, 21:9 and 4:3. Cropping afterwards throws away detail you paid for.
For more prompt patterns you can adapt, the Nano Banana examples post has ten worked prompts with code. Most of them carry over to Flux.
Common mistakes with Flux 2 Max and other top-tier models
- Using the top tier for everything. The most common and most expensive mistake. Reserve Flux 2 Max, or any top-tier model, for final assets.
- Confusing the tiers with each other. Flux 2 Dev is open weights, Flux 2 Pro is the hosted default, and Max is the hosted top tier. Search results mix them up, so check which one a tutorial actually uses.
- Rendering at 2K before the prompt is settled. Iterate at 1K, then upscale or re-render the winner. If you only need more pixels, a dedicated upscaler may be cheaper. See the AI image upscaler comparison.
- Overloading references. More reference images is not always better. Three clean, well-lit references usually beat eight mixed ones that disagree.
- Not handling failed jobs. Polling loops that only check for success hang forever on a failure. Add a timeout and a failure branch, as in the script above.
- Ignoring rounding. Per-request prices round up to whole credits. A single Klein image at 1.6 credits bills as 2, so batching with
num_imagesis more efficient for drafts. - Locking yourself to one provider’s SDK. Model tiers change often. Black Forest Labs released Flux 3 Klein in October 2026, about a year after FLUX.2. Code that only needs a new model string ages much better.
Here is the short version. Flux 2 Max is the right choice when one image has to carry precise text, exact product details or a long, demanding brief. For everything before that final render, Flux 2 Pro, Flex and Klein cover the work for a fraction of the credits. With one key and one balance you can move between them freely. Compare plans on the pricing page and start with the tier that matches the job.
Frequently asked questions
What is Flux 2 Max?
Flux 2 Max is the top tier of Black Forest Labs' FLUX.2 image generation family. It is aimed at the highest output quality, with tighter prompt following, accurate in-image text and consistent multi-reference editing. It sits above Pro, Flex, Dev and Klein. You pay more per image for it, so it fits final hero assets better than early drafts.
What is the difference between Flux 2 Max and Flux 2 Pro?
Both are hosted FLUX.2 models that handle photoreal detail and reference images. Max puts more effort into prompt adherence, small text and consistency across edits, and costs more per image. Pro is the practical default: on Unicorn API it costs 5 credits at 1K and 7 credits at 2K, accepts up to 8 reference images and supports five aspect ratios.
Is Flux 2 Max free?
No. Flux 2 Max is a paid, hosted model from Black Forest Labs and its partners, and it does not ship as open weights. If you want a FLUX.2 model you can run on your own hardware, look at Flux 2 Dev, which has open weights. Check its license before commercial use. Klein-class models are the cheapest hosted option.
Can I use Flux 2 Max through Unicorn API?
The FLUX.2 models in the Unicorn API catalog today are Flux 2 Pro, Flux 2 Flex Text To Image and Flux 2 Flex Image To Image, plus the newer Flux 3 Klein models. Check the model catalog for current availability. All of them use one API key, one credit balance and the same job endpoint, so switching tiers means changing one string.
What is Flux 2 Klein used for?
Klein is the small, fast branch of the Flux line, built for speed and low cost rather than peak quality. It suits drafts, thumbnails, prompt testing and high-volume pipelines. On Unicorn API the newer Flux 3 Klein models cost 1.6 credits per image at 1K, 2.5 at 2K and 6.5 at 4K, rounded up to whole credits per request.