FLUX.1 Kontext Pro
Edits an image from a plain-language instruction such as "Remove the car", with no mask, and keeps the rest of the picture in place. With no image attached it generates from text.
Overview
FLUX.1 Kontext [pro] is a Black Forest Labs model that reads a text instruction and an image together. You write the change, such as "Remove the car" or "Change the color of the car to purple", and the model edits that part of the picture while the rest stays in place. Leave the image out and it works as a text-to-image model.
The Kontext models were built for editing over several turns. A result can go back in as the next input, and characters, identities and styles stay consistent from one edit to the next. In its KontextBench evaluation, Black Forest Labs reports that Kontext [pro] reached the highest scores of the models tested for text editing and character preservation.
What you can build
- A text box for photo edits that adds or removes objects, recolors products or puts rain into a scene, with instructions as short as the example prompts "Put a blue pillow in the middle of the bed." and "Add rain effect to the photo."
- Restyling that redraws a photo, for example as a 90s cartoon, while keeping its composition.
- A series built around one character or mascot, placed into new scenes edit by edit.
- Sign, menu and packaging mockups where the printed wording has to change.
Inputs
- Image: a JPEG or PNG upload, or a link to one. Optional.
- Prompt: the edit instruction, or a scene description when no image is attached.
- Prompt upsampling: off by default. When on, the prompt is rewritten automatically for a more creative result.
- Aspect ratio: "match input image" or one of 13 fixed ratios from 21:9 to 9:21, square included.
- Seed: 42 by default. Reuse it to reproduce a result.
- Output format: JPEG by default, or PNG.
Outputs
Each request returns one image of about one megapixel, kept close to the input's proportions unless you fix a ratio.
The default input, an underwater portrait, appears in the samples next to three edits of it: a 90s cartoon version, blond curls in place of dark hair, and blue sky with clouds in place of the water. The pose and the white fabric carry through each one. Two more pairs show a blue pillow added to a made bed and a gray muscle car removed from a city sidewalk.
Recommended settings
Name the object and the change directly. To change text inside an image, put the old and the new wording in quotation marks, as in Replace 'OPEN' with 'CLOSED'. Keep prompt upsampling off when an edit has to follow your wording closely. Over a long chain of edits, go back to the original image if artifacts start to build up.
Limitations
These failure cases are stated for the Kontext family as a whole. Long multi-turn sessions can add visual artifacts that lower image quality. In rare cases the model ignores a specific requirement in the prompt. Its world knowledge is limited, which can hurt contextual accuracy, and the distillation process can introduce artifacts of its own.
Safety & compliance
Inputs and outputs go through moderation. Safety tolerance is fixed at 2 on this page, on a scale from 0 (strictest) to 6 (most permissive). Before you upload a portrait, make sure the person in it has agreed to the edit.
Example prompts
Great starting points for flux-kontext-pro.
API quick start
Run flux-kontext-pro with a single API call.
{
"prompt": "Make this a 90s cartoon",
"inputImage": "https://your-cdn.com/input.png",
"promptUpsampling": "false",
"safetyTolerance": 2
}curl -X POST "https://api.wiro.ai/v1/Run/black-forest-labs/flux-kontext-pro" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_WIRO_API_KEY" \
--data-binary @- <<'JSON'
{
"prompt": "Make this a 90s cartoon",
"inputImage": "https://your-cdn.com/input.png",
"promptUpsampling": "false",
"safetyTolerance": 2
}
JSONOther models you might like
Explore similar image generation models.


