[Black Forest Labs](/ai-gateway/models/labs/bfl)

# 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. Your use is subject to Black Forest Labs's [Terms](https://bfl.ai/legal/terms-of-service) & [Privacy](https://bfl.ai/legal/privacy-policy) Policies.

Image Gen

[Use with AI Gateway](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Futm_source%3Dgateway-model-page%26utm_campaign%3Dai-gateway-models&title=Get+Started+with+Vercel+AI+Gateway) [View docs](https://vercel.com/docs/ai-gateway)

AI SDKChat Completions

```
1import { experimental_generateImage as generateImage } from 'ai';
2

3const result = await generateImage({
4  model: 'bfl/flux-kontext-pro',
5  prompt: 'A red balloon on a wooden table.'
6});
```

[Read docs](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk)

[Overview](/ai-gateway/models/flux-kontext-pro) [About](/ai-gateway/models/flux-kontext-pro/about) [Providers](/ai-gateway/models/flux-kontext-pro/providers) [Similar](/ai-gateway/models/flux-kontext-pro/similar) [FAQ](/ai-gateway/models/flux-kontext-pro/faq)

## [Copy link to heading](#playground)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.

![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75)FLUX.1 Kontext Pro

Prompt

Describe what you want the model to generate.

Reference images(optional)

Add up to 4 images

Aspect ratio

3:72:39:163:41:14:316:97:321:99:21

Images to generate

1234

![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=96&q=75)

Your generated image will appear here

## [Copy link to heading](#providers)Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the [docs](/docs/ai-gateway/provider-options) for more info. Using a provider means you agree to their terms, listed under Legal.

| Provider |
| --- |

| Input | Output | Cache | Web Search | Capabilities | ZDR | No Training | Free Tier | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [Black Forest Labs](/ai-gateway/models/providers/bfl) Legal:[Terms](https://bfl.ai/legal/terms-of-service)•[Privacy](https://bfl.ai/legal/privacy-policy) |  | $0.04/img |  | — |  |  |  |  | 05/29/2025 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| ![prodia logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fprodia.png&w=48&q=75) [Prodia](/ai-gateway/models/providers/prodia) Legal:[Terms](https://app.prodia.com/terms-of-service)•[Privacy](https://app.prodia.com/privacy-policy) |  | $0.04/img |  | — |  |  |  |  | 05/29/2025 |  |

## [Copy link to heading](#more-models-by-black-forest-labs)More models by Black Forest Labs

All

Image

Video

| Model |
| --- |

| Context | Latency | Throughput | Input | Output | Cache | Web Search | Capabilities | Providers | ZDR | No Training | Free Tier | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux\-3-video](/ai-gateway/models/flux-3-video) |  |  |  |  | $0.06/sec+5 more |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  |  | 08/04/2026 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-2-klein-4b](/ai-gateway/models/flux-2-klein-4b) |  |  |  |  | $0.014/MP |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  |  | 01/15/2026 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-2-klein-9b](/ai-gateway/models/flux-2-klein-9b) |  |  |  |  | $0.015/MP |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  |  | 01/15/2026 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-2-flex](/ai-gateway/models/flux-2-flex) |  |  |  |  | $0.06/MP |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  |  | 11/25/2025 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-kontext-max](/ai-gateway/models/flux-kontext-max) | 512 |  |  |  | $0.08/img |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  |  | 05/29/2025 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-pro-1.0-fill](/ai-gateway/models/flux-pro-1.0-fill) |  |  |  |  | $0.05/img |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  |  | 10/01/2024 |  |

## [Copy link to heading](#about-flux1-kontext-pro)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.

## [Copy link to heading](#what-to-consider-when-choosing-a-provider)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: Zero Data Retention is offered on a per-provider and model basis. See the [documentation](https://vercel.com/docs/ai-gateway/security-and-compliance/zdr) for details.
- Authentication: AI Gateway authenticates requests using an [API key](https://vercel.com/docs/ai-gateway/authentication-and-byok#api-key-authentication) or [OIDC token](https://vercel.com/docs/ai-gateway/authentication-and-byok#oidc-token-authentication). You do not need to manage provider credentials directly.

## [Copy link to heading](#when-to-use-flux1-kontext-pro)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

## [Copy link to heading](#conclusion)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.