Models / Black Forest Labs

FLUX.2 Pro and Flex API

Black Forest Labs' multi-reference image models

Black Forest Labs' second generation generates and edits in one model, composes from up to eight references and writes legible text into posters, infographics and mockups.

  • Kind: image
  • Made by: Black Forest Labs
  • Price: 14 credits per image 1K, 24 2K (from $0.14; 1 credit = $0.01 on monthly plans, $0.015 as a top-up)
  • Released: 2025-11-25
  • Open weights: no (Proprietary, API only ([pro], [flex]); sibling FLUX.2 [dev] is open weights under the FLUX [dev] Non-Commercial License v2.0)
  • Architecture: Rectified flow transformer with a 24B Mistral vision-language text encoder
  • Parameters: Not published for Pro and Flex ([dev] is 32B)
  • Tasks: Text-to-image, editing, multi-reference
  • Reference images: Up to 8 per request on Unicorn
  • Max resolution: 4 MP from the maker; 1K and 2K on Unicorn
  • Prompting: Natural language, hex colours, JSON; no negative prompts
  • Licence: Proprietary API (Pro, Flex)
  • Inputs: prompt, input_urls, resolution, aspect_ratio, nsfw_checker

Call it with POST https://api.unicornapi.net/v1/jobs and model flux-2-flex-image-to-image, or try it in the Playground.

Where it shines

  • One model generates and edits, with up to eight reference images through the API
  • Ranked second on the Artificial Analysis text-to-image leaderboard a week after launch, behind only Nano Banana Pro
  • Legible typography for posters, infographics and UI mockups; Flex is tuned for small text
  • Exact colours via hex codes and structured JSON prompts
  • Pro returns up to four images per request at 1K or 2K

Watch out for

  • Portraits can look over-polished, with 'plastic' skin
  • Reluctant with stylised art and style transfer
  • Weaker than Nano Banana Pro at counting and reasoning-heavy scenes
  • No negative prompts; Flex steps and guidance are not exposed on Unicorn

Made with Flux 2 Flex Image To Image

Flux 2 Flex Image To Image: A person at work: skin, wet clay and window light from FLUX.2 Pro
A person at work: skin, wet clay and window light from FLUX.2 Pro Prompt: Environmental portrait of a ceramicist in her forties shaping a tall vase on a potter's wheel, wet clay on her hands and forearms, rolled-up denim shirt, afternoon light through a dusty studio window, shelves of unglazed bowls behind her, shallow depth of field, shot on a 50mm lens, natural colours.

FLUX.2 is the second generation of image models from Black Forest Labs, the Freiburg lab behind the widely used FLUX.1 models. Announced on 25 November 2025, it arrives as a family: FLUX.2 [pro] for production work, FLUX.2 [flex] for fine control and typography, and FLUX.2 [dev], a 32-billion-parameter open-weights checkpoint. This page covers the two hosted tiers available on Unicorn API: Pro, and Flex in both text-to-image and image-to-image form.

The headline is that generation and editing now live in one model. FLUX.1 needed a separate line, Kontext, for editing. FLUX.2 takes a text prompt plus up to ten reference images (eight through the API), keeps a character, product or style consistent across them, and writes legible text into posters, infographics and interface mockups. It works at up to 4 megapixels, and its prompts are read by a 24-billion-parameter vision-language model rather than a plain text encoder.

The timing is pointed. FLUX.2 lands five days after Google's Nano Banana Pro, and Black Forest Labs is pitching it as a match for the best closed models on image quality, while running faster.

From FLUX.1 to FLUX.2: Black Forest Labs' second generation

Black Forest Labs was founded in 2024 by Robin Rombach, Andreas Blattmann and Patrick Esser, researchers whose latent diffusion work led to Stable Diffusion. The company's first release, FLUX.1 in August 2024, was a 12-billion-parameter rectified flow transformer in three versions: [schnell] under Apache 2.0, [dev] under a non-commercial licence, and [pro] through the API. FLUX1.1 [pro] followed in October 2024, with Ultra and Raw modes for higher resolution and candid photo looks a month later. In May 2025 the FLUX.1 Kontext series added in-context editing: change an image with an instruction, keep everything else.

FLUX.2 folds those threads together. Black Forest Labs keeps its open-core model: [pro] and [flex] are proprietary and served by API, through its own platform and launch partners, while [dev] ships as downloadable weights on Hugging Face. The new FLUX.2 VAE, the autoencoder that compresses images into the latent space the transformer works in, is released separately under Apache 2.0, so other projects can build on it.

None of the Pro or Flex weights are public, and Black Forest Labs has not published their parameter counts. What it has published is the architecture of the open [dev] model, which shows what the generation is built on.

What changed from FLUX.1 and Kontext

  • One model for generating and editing. FLUX.2 [dev] handles text-to-image, single-reference editing and multi-reference editing in a single checkpoint, and the hosted tiers work the same way. There is no separate editing model to route to.
  • Multi-reference input. Up to ten images in Black Forest Labs' own playground and eight through the API, for keeping a face, a product or a visual style the same across a set of images without fine-tuning.
  • 4-megapixel output and editing. FLUX.2 generates and edits at up to 4 MP, and Black Forest Labs says edits preserve fine detail at that size.
  • Text that holds up. The launch materials stress "complex typography, infographics, memes and UI mockups with legible fine text", plus more reliable handling of lighting, layouts and logos.
  • Structured prompting. Prompts can name exact colours as hex codes, and complex scenes can be described as JSON with fields for subjects, positions, palette, lighting and camera.
  • Better world knowledge. The language side of the model is now a vision-language model, which Black Forest Labs says gives it stronger real-world knowledge and spatial understanding.

The change also breaks compatibility: LoRAs and fine-tunes trained for FLUX.1 do not work with FLUX.2, which is an entirely new network.

Black Forest Labs backs the upgrade with its own evaluations of the open [dev] model against other open-weight systems. In text-to-image it reports a 66.6% win rate, against 51.3% for Qwen-Image and 48.1% for Hunyuan Image 3.0. In multi-reference editing it reports 63.6% against 36.4% for Qwen-Image-Edit. Its launch chart puts all three FLUX.2 tiers in the upper band of its Elo quality scale. These are the maker's numbers, not independent ones.

Under the hood: a vision-language model steering a flow transformer

FLUX.2 is a latent flow-matching model. A rectified flow transformer learns to turn noise into an image in the compressed space of the new VAE, guided by a text representation. The biggest change is where that text representation comes from. FLUX.1 combined two text encoders; FLUX.2 uses a single 24-billion-parameter vision-language model from Mistral (Mistral Small 3.1) and stacks the outputs of several of its intermediate layers. Because that model was trained on images as well as text, it brings knowledge of how objects, materials and scenes look and relate to each other; Black Forest Labs attributes the model's grasp of spatial relationships and physical detail to it.

The transformer was rebalanced too. In the [dev] model, the "double-stream" blocks that process text and image separately drop from 19 to 8, and the "single-stream" blocks that process them jointly rise from 38 to 48. About a quarter of the parameters now sit in double-stream blocks, down from more than half in FLUX.1. Timestep and guidance information is shared across all blocks, no layer uses bias parameters, and the single-stream blocks run attention and the feed-forward network in parallel. The [dev] checkpoint totals 32 billion parameters and is guidance-distilled for efficiency.

Pro, Flex and Dev: the three tiers

FLUX.2 [pro] is the flagship for production. Black Forest Labs positions it as matching leading closed models on image quality while being faster, and it takes no tuning: send a prompt and optional reference images. A week after launch, the independent Artificial Analysis text-to-image leaderboard placed it second, behind only Nano Banana Pro.

FLUX.2 [flex] is the tier for control and fine detail. On Black Forest Labs' own API it exposes the number of sampling steps (1 to 50) and the guidance scale, so developers can trade speed against accuracy; the maker recommends it for typography and for preserving small details. On Unicorn the Flex endpoints take a prompt, resolution and aspect ratio, without step or guidance controls, and come as two models: text-to-image and image-to-image.

FLUX.2 [dev] is the open-weights model for local work and research. It runs under the FLUX [dev] Non-Commercial License v2.0: free for non-commercial use, with images it produces usable commercially, while commercial deployment of the model itself needs a licence from Black Forest Labs. At full precision it needs more than 80 GB of GPU memory; an FP8 build made with NVIDIA and ComfyUI brings it to GeForce RTX cards. It is not hosted on Unicorn.

FLUX.2 Pro on UnicornFLUX.2 Flex on Unicorn
Model idsflux-2-proflux-2-flex-text-to-image, flux-2-flex-image-to-image
Resolutions1K, 2K (default 2K)1K, 2K
Aspect ratios16:9, 1:1, 9:16, 21:9, 4:31:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, plus auto for image-to-image
Reference imagesup to 8 in ref_images (optional)1 to 8 in input_urls (image-to-image)
Images per request1 to 4 (n)1
Promptfree text, hex colours, JSON3 to 5,000 characters

Where FLUX.2 shines

Photographic surfaces are its home ground. Early comparisons single out texture and material fidelity, fur, skin pores, glass, metal, along with convincing lighting, and several testers name product rendering and high-end advertising visuals as the jobs it does best. A prompt that specifies lens, light direction and materials tends to come back looking like a studio photograph rather than an illustration of one.

Multi-reference work is the other standout. Hand FLUX.2 a product shot and a location, or a character in several poses, and it composes them into a new scene while holding on to what defines each reference: the label, the colour, the face. For catalogue sets, campaign variations and storyboards, that removes the need to train a custom model for each product or character.

Text is where Black Forest Labs claims the clearest step up from FLUX.1. Headlines, labels, packaging copy and interface text in mockups are all named use cases, and Flex in particular is aimed at small lettering. Exact brand colours can be held with hex codes, and JSON prompts make it practical to generate many variations of a layout from code.

Where it falls short

People are the most criticised area. In launch-week discussion, users described portraits with "plastic skin" and overly chiseled jawlines: a polished, commercial look that reads as AI-made when a candid photo was wanted. The same realism bias makes FLUX.2 reluctant with stylised art; testers trying painterly or novel styles, or style transfer in edits, reported needing many re-rolls.

Reasoning-heavy prompts are a weaker spot than they are for Nano Banana Pro, which is built on Gemini 3 Pro. Reviewers note counting errors, inconsistent detail in crowded scenes, and identity drifting across a long series of images. FLUX.2 does not accept negative prompts, so unwanted elements have to be steered away by describing what should be there instead.

There are practical limits on Unicorn as well. The model can work at 4 MP, but the endpoints here offer 1K and 2K. Flex's step and guidance controls are not exposed. And the open [dev] sibling, for all the attention it got, is a 32B model that hobbyists found heavy to run, under a licence that is open weights rather than open source.

Prompting FLUX.2

Black Forest Labs' guidance is to lead with what matters most, because FLUX.2 weights earlier words more heavily: subject first, then action, style and context, then secondary details. Medium-length prompts of 30 to 80 words suit most work. Put any text to render in quotation marks and say where it goes and how it should look.

Studio product photo of a matte black ceramic coffee grinder on a pale oak counter, soft window light from the left, a sprig of rosemary beside it, shallow depth of field, shot on a 90mm macro lens.

Minimalist poster, background colour #1B3A5C, large serif headline "TIDES" in cream at the top, the line "Photographs of the North Coast, 3 to 28 March" in small caps at the bottom, a single wave drawn in thin gold line work in the centre.

For multi-reference edits, describe each image's role:

Place the bottle from the first image on the stone shelf from the second image, next to a folded linen towel, warm late-afternoon light, keep the label and glass colour exactly as in the first image.

For layouts you generate from code, a JSON prompt keeps every element explicit:

{"scene": "flat-lay of a travel kit on white linen", "subjects": [{"description": "leather passport wallet", "position": "top left"}], "color_palette": ["#C8A27A", "#2F4F4F"], "lighting": "soft overhead daylight", "camera": {"angle": "top-down", "lens": "50mm"}}

FLUX.2 against Nano Banana Pro, Imagen 4 and other peers

Nano Banana Pro is the obvious rival. It reasons over prompts, which helps with diagrams, counting, dense instructions and keeping a character consistent across many images; FLUX.2 Pro is preferred for photographic texture, products and lighting. The original Nano Banana suits quick conversational edits; FLUX.2 Pro is the pick when you want a photographic finish at 2K.

Against Google's Imagen 4 Ultra, which is text-to-image only on Unicorn, FLUX.2 adds reference images and editing in the same model. Seedream 4.0 is the closest match on features, with multi-reference generation and editing, and is worth testing side by side on your own prompts. For design work built around lettering, Ideogram 3.0 remains a dedicated specialist, and Qwen Image Edit covers single-image instruction edits.

Pick Pro by default; it delivers FLUX.2 quality at 1K or 2K, takes up to eight references and returns up to four images per request. Pick Flex when small text or fine detail has to be right first time, or when you want the dedicated image-to-image endpoint with auto aspect ratio.

Getting started

Open FLUX.2 Pro in the Playground to try prompts without code, or switch to FLUX.2 Flex image-to-image to upload references. For your own app, create a key on the API keys page and send a job to /v1/jobs with the model id, prompt, resolution and aspect ratio; the docs cover the request format and how to collect finished images.

Verdict

FLUX.2 is a substantial generation jump for Black Forest Labs: one model for generating and editing, up to eight references through the API, a vision-language model reading the prompt, and typography good enough for real layouts. Pro delivers near-top-tier photorealism with optional references and batches of up to four, which makes it an easy default for products, scenes and campaigns. Flex is the specialist, and earns its place on small text and fine detail. Check portraits and stylised art before committing, and reach for a reasoning model when the prompt is more puzzle than picture.

Best for

  • Product and packshot photography
  • Advertising and campaign visuals
  • Multi-reference compositions
  • Posters and infographics with text
  • Brand-colour layouts from code

Frequently asked questions

Is FLUX.2 open source?

FLUX.2 [pro] and [flex] are proprietary and API only. The sibling FLUX.2 [dev] has open 32B weights under the FLUX [dev] Non-Commercial License v2.0, which allows commercial use of its images but needs a Black Forest Labs licence to deploy the model commercially. The FLUX.2 VAE is Apache 2.0.

What resolutions and aspect ratios does FLUX.2 support on Unicorn API?

Pro and Flex both offer 1K and 2K output on Unicorn, though the model itself can work at up to 4 megapixels. Pro takes 16:9, 1:1, 9:16, 21:9 and 4:3; Flex takes 1:1, 4:3, 3:4, 16:9, 9:16, 3:2 and 2:3, plus auto for image-to-image.

FLUX.2 Pro vs Flex: which should I use?

Pro is the default: high quality, up to four images per request, and it accepts reference images. Flex is tuned for small text and fine detail, so use it when lettering has to be right first time.

How many reference images can FLUX.2 use?

Black Forest Labs' playground takes up to ten; through the API, and on Unicorn, Pro and Flex image-to-image take up to eight per request.

FLUX.2 vs Nano Banana Pro: which is better?

Nano Banana Pro ranked first on Artificial Analysis at launch and is stronger at reasoning, counting and character consistency. FLUX.2 Pro ranked second and is favoured for photographic texture, products and lighting.

What changed from FLUX.1?

FLUX.2 merges generation and editing in one model, adds multi-reference input, works at up to 4 MP, reads prompts with a 24B vision-language model and, by Black Forest Labs' account, renders text much more reliably. FLUX.1 LoRAs do not carry over.