FLUX.1 Kontext [pro]
In-context image generation and editing model with enhanced prompt adherence.
About model
FLUX.1 Kontext [pro] is Black Forest Labs' model for fast, iterative image editing and generation, announced on May 29, 2025. It takes a text prompt alone, or a text prompt with a reference image, and handles local edits to one region, larger changes to a whole scene and plain text-to-image generation in a single model. You can build on earlier edits over several turns while characters, styles and distinctive features stay consistent across scenes and viewpoints. At launch, Black Forest Labs reported that [pro] ranked among the top performers on all six tasks of its KontextBench evaluation, with the highest scores in text editing and character preservation. Available on Together AI.
4
Character consistency, local editing, style reference and interactive speed
2
A text prompt alone, or a text prompt with a reference image
28
Default number of diffusion steps for Kontext on Together AI
- Local Editing: Changes a specific element of an image from a text instruction without affecting the rest
- Multi-Turn Iteration: Builds on previous edits across several turns while keeping characters and styles consistent
- Unified Editing and Generation: One model for local edits, whole-scene transformations and text-to-image generation
- Production-Ready Infrastructure: 99.9% SLA, available on Together AI serverless infrastructure
API usage
Endpoint:
Model card
FLUX.1 Kontext [pro] is a generative flow matching model designed for fast, iterative image editing and generation workflows. It combines both text and image inputs to deliver local editing, generative in-context modifications, and text-to-image generation capabilities.
The model excels at targeted edits in specific image regions, complex transformations of entire scenes, and maintaining character consistency across multiple iterations.
Built for production use cases requiring rapid iteration and professional-quality results with minimal latency between edits.
Prompting
Together AI API Access:
• Access FLUX.1 Kontext [pro] via Together AI APIs using the endpoint black-forest-labs/FLUX.1-kontext-pro
• Authenticate using your Together AI API key in request headers
• Send an image generation request with a text prompt, and pass the image you want to edit as image_url
• Set the output shape with aspect_ratio, for example 1:1, 16:9 or 9:16, or use width and height for exact pixel dimensions
• To change text in an image, put the old and new wording in quotes, for example: Replace 'joy' with 'BFL'
• Available on Together AI serverless infrastructureApplications & use cases
Targeted Image Editing:
• Change the color of a product or a car and leave the rest of the photo as it is
• Replace the wording on signs, posters and labels while keeping the original lettering style
• Remove an object from a portrait or a scene
Iterative Creative Work:
• Refine an image over several edits, one instruction at a time
• Keep the same character across new scenes and viewpoints
Style Transformation:
• Turn a photo into a pencil sketch or an oil painting
• Use a reference image to set the style of a new scene
- TypeImage
- Main use casesImage-to-Image
- Deployment
- Price
$0.04 / MP
- Input modalitiesTextImage
- Output modalitiesImage
- ReleasedMay 28, 2025
- External link
- CategoryImage
