BlackForestLabs logo

FLUX Kontext Pro

BlackForestLabsReleased May 29, 2025black-forest-labs/flux-kontext-pro
CostCompare

FLUX.1 Kontext [pro] is an advanced image generation and editing model from Black Forest Labs that supports both text prompts and reference images for in-context modifications.

Context
4K
Input /1M
Varies
Output /1M
Varies
AcceptsTextProducesImage

Providers

FastRouter routes your requests to this provider. You can also bring your own key.

LE
Leonardo
leonardo
Input /1MVaries
Output /1MVaries
Context4K
Max output—

Supported parameters

Request parameters you can send with this model.

Parameter
Type
Leonardo
Core (Sampling & basic generation)
seedSeed for deterministic sampling.
number
≤ 2147483638
Other
contextImages
array
max 4 items
contrast
number
3, 3.5, 4
enhancePrompt
bool
true | false
enhancePromptInstruction
string
-
height
number
-
modelId
string
-
num_images
number
-
prompt
string
-
styleUUID
string
-

Make your first API call

OpenAI-compatible. Point your SDK at FastRouter, or call the API directly.

Full API docs
Replace <FASTROUTER_API_KEY> with your key · Get your key →
HTTP

Frequently asked questions

More models from BlackForestLabs

BlackForestLabs logo
FLUX.2 Klein 4Bblack-forest-labs/flux-2-klein-4b

FLUX.2 [klein] 4B is Black Forest Labs' fastest text-to-image model, a 4-billion-parameter distilled model released under the Apache 2.0 license. It generates images in as few as 4 inference steps, with sub-second latency on modern hardware, enhanced realism, crisper text rendering, and native editing capabilities from a single checkpoint. Suited to real-time apps, interactive workflows, rapid iteration, and high-volume generation.

BlackForestLabs logo
FLUX.3 Kleinblack-forest-labs/flux-3-klein

FLUX.3 Klein (FLUX 3 Image Klein) is Black Forest Labs' 5.6-billion-parameter open-weights image model, served on fal in its distilled form for fast text-to-image generation. It is trained on detailed captions and generates native 4K output (each side 256 to 4096 pixels), up to four images per request, with reproducible seeds, PNG, JPEG, or WebP output, optional automatic prompt expansion, and optional labeled bounding boxes for spatial layout control. It is well suited to typography, graphic design, and fast iteration, and is available for commercial use on fal.

BlackForestLabs logo
FLUX Devblack-forest-labs/flux-dev

FLUX.1 [dev] is a 12 billion parameter text-to-image model developed by Black Forest Labs for high-quality image generation and editing from text prompts.It excels at generating photorealistic images with strong prompt adherence, real-world physics understanding (e.g., lighting, spatial relationships), and readable text rendering.

BlackForestLabs logo
FLUX 2 Problack-forest-labs/flux-pro-2.0

FLUX.2 Pro (also styled as Flux-2-Pro or FLUX.2 [pro]) is a production-grade AI image generation and editing model developed by Black Forest Labs, released in November 2025 as the flagship of the FLUX.2 family. It excels in creating high-quality, photorealistic images up to 4 megapixels from text prompts, with advanced controls for editing, multi-reference image use (up to 8 references), and precise outputs suitable for commercial workflows like product photography, UI prototyping, and brand design.

BlackForestLabs logo
FLUX Schnellblack-forest-labs/flux-schnell

FLUX.1 [schnell] is a 12-billion-parameter rectified flow transformer model for text-to-image generation, developed by Black Forest Labs. "Schnell" (German for "fast") is the speed-optimized variant of the FLUX.1 model family, distilled for rapid inference — it can generate high-quality images in as few as 1–4 diffusion steps, making it significantly faster than typical diffusion models while maintaining strong prompt adherence and image fidelity.

Model scores sourced from ArtificialAnalysis