We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Black Forest Labs: FLUX.2 Pro
black-forest-labs/flux.2-proTry Black Forest Labs: FLUX.2 Pro now
Runs on your balance at the prices above. New accounts start with free usage.
Settings
Black Forest Labs: FLUX.2 Pro at a glance
- Context window of 46,864 tokens, enough for long documents and multi-turn conversations.
About Black Forest Labs: FLUX.2 Pro
FLUX.2 Pro is an image generation and editing model from Black Forest Labs, released on 25 November 2025. It sits in the provider's high-end tier, aimed at frontier-level visual quality and reliability rather than at lightweight or high-volume draft work. If you already know the FLUX line, this is the Pro variant: the one Black Forest Labs positions for output where prompt adherence and visual consistency matter more than raw throughput.
The model accepts text and image inputs and returns images. Its context window is 46,864 tokens, with a maximum output of 42,177 tokens. Practical generation controls include aspect ratio, with the enum values 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9 and auto, and output format, either png or jpeg. You can request exactly one image per call (n has a minimum of 1 and a maximum of 1), and you can supply up to 8 input references. A seed parameter is supported. According to Black Forest Labs, the model is built for strong prompt adherence, stable lighting, sharp textures, and consistent character and style reproduction across multi-reference inputs.
Those capabilities point to a fairly specific set of jobs. Multi-reference input with consistent character and style reproduction suits iterative design work, where you feed earlier renders back in and want the subject to stay recognisable across variations. Stable lighting and sharp textures matter for product and marketing imagery, where a single odd shadow or soft edge means a re-run. Editing workflows benefit from the combination of image input and text instructions, since you can describe the change rather than rebuild the scene. The aspect ratio enum covers the common delivery shapes, from square social crops through 16:9 and 21:9 widescreen, so you can generate close to final framing instead of cropping afterwards.
You call it through api14's OpenAI-compatible API using the model id black-forest-labs/flux.2-pro. Because the interface follows the OpenAI schema, existing clients and SDKs work with a change of model id and base URL. The request parameters the model supports are seed, plus the image parameters aspect_ratio, output_format, n and input_references. Set aspect_ratio to one of the listed enum values, output_format to png or jpeg, and n to 1. Use input_references to attach between 0 and 8 reference images when you want the output conditioned on existing material, and pass a seed when you need a reproducible result.
Two constraints are worth planning around. Only one image comes back per request, so batches mean multiple calls rather than a single wide response. And the supported parameter list is short: seed is the only general sampling parameter exposed, with the rest of the control surface living in the image parameters. If your task is text rather than images, or you need a model that returns text alongside generated media, this is not the right endpoint. For image work where reference consistency and finish quality are the priority, it fits.
How to call the Black Forest Labs: FLUX.2 Pro API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "black-forest-labs/flux.2-pro".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.images.generate({
"model": "black-forest-labs/flux.2-pro",
"prompt": "A minimalist product photo of a ceramic mug on a wooden table",
"n": 1,
"aspect_ratio": "1:1"
});
import { writeFile } from "node:fs/promises";
await writeFile("image.png", Buffer.from(result.data[0].b64_json, "base64"));
Supported parameters
seedSpecifications
- Context length
- 46,864
- Max output
- 42,177
- Input
- text, image
- Output
- image
Requests on api14 · last 7 days
Black Forest Labs: FLUX.2 Pro: frequently asked questions
- How much does the Black Forest Labs: FLUX.2 Pro API cost?
- Black Forest Labs: FLUX.2 Pro costs Image output $0.11 / megapixel. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Black Forest Labs: FLUX.2 Pro?
- Black Forest Labs: FLUX.2 Pro reads up to 46,864 tokens per request: prompt, history and documents together. It writes up to 42,177 output tokens per response.
- What can Black Forest Labs: FLUX.2 Pro do?
- Black Forest Labs: FLUX.2 Pro accepts text, image and returns image.
- How do I call Black Forest Labs: FLUX.2 Pro from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "black-forest-labs/flux.2-pro". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Black Forest Labs: FLUX.2 Pro?
- Comparable Image models at a similar price: Qwen: Qwen Image 3, Recraft: Recraft V4 Styles, ByteDance Seed: Seedream 5.0 Lite. Each runs through the same API key, so switching is one string.
Black Forest Labs: FLUX.2 Pro community
New topicThis community has no topics yet. Open the first one about Black Forest Labs: FLUX.2 Pro.