FLUX.1 Kontext Pro
FLUX.1 Kontext Pro is Black Forest Labs's multi-turn image editing model. It is built to preserve character identity, style, and visual consistency across sequential editing steps. It delivers fast inference relative to earlier models in its class.
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({ model: 'bfl/flux-kontext-pro', prompt: 'A red balloon on a wooden table.'});Playground
Try out FLUX.1 Kontext Pro by Black Forest Labs. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Your generated image will appear here
Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
More models by Black Forest Labs
| Model |
|---|
About FLUX.1 Kontext Pro
Black Forest Labs released FLUX.1 Kontext Pro on May 29, 2025 as the founding model of the Kontext suite. Black Forest Labs describes it as oriented toward fast iterative image editing: a model that lets you build on previous edits through multiple turns while keeping characters, identities, styles, and distinctive features consistent across scenes and viewpoints.
The architecture accepts both a text instruction and one or more reference images as input. Rather than regenerating a scene from scratch, the model identifies which elements should change and which to preserve. It applies targeted local modifications while leaving unspecified regions intact. Black Forest Labs's KontextBench evaluation covers six editing capabilities: character consistency across environments, local region editing, style reference transfer, text within images, background replacement, and interactive speed. Kontext Pro achieved its highest scores on text editing and character preservation tasks.
The multi-turn loop is what sets Kontext Pro apart operationally. Each edited output becomes the reference image for the next instruction. An editing session can progress through many sequential changes (adjusting clothing, then placing the character in a new scene, then modifying lighting) without losing the identity thread from step one. Black Forest Labs notes that sessions beyond roughly six turns can introduce visual artifacts.
What To Consider When Choosing a Provider
- Configuration: Kontext Pro's iterative editing loop, feeding one output as the next request's input, maps naturally to conversational editing interfaces where users refine an image through a sequence of natural language instructions. Compare $0.04 with other editing tiers.
- Zero Data Retention: AI Gateway does not currently support Zero Data Retention for this model. See the documentation for models that support ZDR.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
When to Use FLUX.1 Kontext Pro
Best For
- Conversational image editing: Products where users refine a single image through a sequence of natural language instructions, each building on the previous result
- Character consistency pipelines: Placing a specific person or product across multiple distinct scenes while preserving unique visual attributes
- Local editing tasks: Changing a background, swapping clothing, modifying an expression, or adjusting a single object without disturbing the rest of the frame
- Style reference workflows: Applying the aesthetic of a reference image to a new scene described in text
Consider Alternatives When
- Typography and prompt precision: Kontext Max targets exact prompt adherence and on-image text accuracy beyond Kontext Pro
- Masked region inpainting: FLUX.1 Fill Pro is built for mask-based fill rather than instruction-based editing
- Pure text-to-image generation: FLUX.2 Pro or FLUX.2 Max may be more appropriate when no reference image is needed
Conclusion
FLUX.1 Kontext Pro established iterative, identity-preserving image editing as a practical capability. A human or AI agent can refine an image through many turns without losing the character and style set at the outset. For applications built around conversational or multi-step image editing, Kontext Pro is the foundational model to evaluate.