FLUX.2 Pro API
FLUX.2 [pro]: up to 4MP images with multi-reference control
About this model
FLUX.2 [pro] is Black Forest Labs’ production tier of its FLUX.2 image generation and editing family. BFL describes it as 4MP photorealistic output with multi-reference control, accepting up to 10 reference images and any aspect ratio.
BFL also highlights brand-color matching from hex codes, usable typography and JSON-based prompting. Compared with the FLUX.1 Kontext models, which focus on instruction-based editing, FLUX.2 [pro] is the newer generation aimed at both generation and reference-driven work.
Limits: the catalog adds no extra constraints; the 10-reference and 4MP figures come from BFL.
Use cases
- Product and brand visuals with exact colors
- Consistent characters across a series
- Posters, infographics and UI mockups
Input and output
- Input
- Text prompt, optional reference images
- Output
- Images
Developer
Black Forest Labs
Official site of Black Forest Labs- Developer
- Black Forest Labs
- Type
- Picture
FLUX.2 Pro request example
Use https://gatelum.com/v1 as the base URL and pass bfl/flux-2-pro in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/images/generations' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "bfl/flux-2-pro",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}
JSON