Model Library

FLUX.1 Kontext models: Character consistency and precise image editing without fine-tuning

May 29, 2025

By 

Together AI

Starting today on Together AI, you can access FLUX.1 Kontext [max] and FLUX.1 Kontext [pro] from Black Forest Labs (BFL), a suite of generative flow matching models that allow you to generate and edit images through in-context image generation. Unlike existing text-to-image models, FLUX.1 Kontext allows you to prompt with both text and images, and seamlessly extract and modify visual concepts to produce new, coherent renderings.

TL;DR:

  • FLUX.1 Kontext [max] and [pro] now available on Together AI: In-context image generation combining text and images
  • FLUX.1 Kontext [dev] coming soon (currently in private beta at BFL)
  • Character consistency, local editing, style reference, and interactive speed
  • Iterative editing capabilities for step-by-step refinement

What's New?

We're launching support for the FLUX.1 Kontext family, a suite of generative flow matching models for in-context image generation and editing.

FLUX.1 Kontext [max]: Maximum performance at high speed Try now → 

  • Experimental model with greatly improved prompt adherence and typography generation
  • Premium consistency for editing without compromising on speed
  • Available now on Together AI

FLUX.1 Kontext [pro]: Pioneer for fast, iterative image editing Try now →

  • Single model delivering local editing, generative in-context modifications and text-to-image generation
  • Handles both text and reference images as inputs for targeted edits
  • Operating up to an order of magnitude faster than previous state-of-the-art models
  • Available now on Together AI

FLUX.1 Kontext [dev]: Open weights model - Coming Soon

  • Lightweight 12B diffusion transformer suitable for customization
  • Currently in private beta at Black Forest Labs for research usage and safety testing
  • Will be available on Together AI upon public release
  • Compatible with previous FLUX.1 [dev] inference code

Your Images. Your Words. Your World. FLUX.1 Kontext goes beyond traditional text-to-image by enabling you to modify input images via simple text instructions - no need for fine-tuning or complex editing workflows.


How FLUX.1 Kontext Works

FLUX.1 Kontext marks a significant expansion of classic text-to-image models by unifying instant text-based image editing and text-to-image generation. As a multimodal flow model, it combines character consistency, context understanding and local editing capabilities with leading text-to-image synthesis.

Play. Create. Manipulate... Iterate.

Character Consistency

Preserve unique elements of an image, such as a reference character or object in a picture, across multiple scenes and environments. Starting from a single reference photo, you can place the same person in different scenarios while maintaining identity.

Local Editing

Make targeted modifications of specific elements in an image without affecting the rest. Whether changing colors, adding objects, or altering backgrounds, Kontext applies changes while maintaining the overall composition.

Style Transfer

Generate novel scenes while preserving unique styles from a reference image, directed by text prompts. Transform images into different artistic styles while keeping important visual elements intact.

Interactive Speed & Iterative Editing

Iterate at minimal latency for both image generation and editing. FLUX.1 Kontext allows you to iteratively add more instructions and build on previous edits, refining your creation step-by-step while preserving image quality and character consistency.

Text Editing

Edit text within images for updating marketing materials, signage, product labels, and social media content. Use simple quoted prompts like "Replace ‘JOY’ with 'BFL'" while maintaining the original font style and layout.


Getting Started with FLUX.1 Kontext

Try Kontext today in our playground or connect via our APIs:

Compatible with existing Together AI workflows.

Use our Python SDK to quickly integrate Kontext into your applications:

    
      from together import Together

      client = Together()

      imageCompletion = client.images.generate(
          model="black-forest-labs/FLUX.1-kontext-pro",
          prompt="make the bird red and the background a desert",
      image_url="https://cdn.sanity.io/images/gsvmb6gz/production/373431a80014dad2e2614b4e1b8936ff8753e62d-832x1248.png?fm=webp",
      )

      print(imageCompletion.data[0].url)
    

Try FLUX.1 Kontext

Contact us to discuss enterprise deployments, custom integrations, or volume pricing for FLUX.1 Kontext.

LOREM IPSUM

Tag

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.

$0.030/image

Try it out

LOREM IPSUM

Tag

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.

$0.030/image

Try it out
XX
Title
Body copy goes here lorem ipsum dolor sit amet
XX
Title
Body copy goes here lorem ipsum dolor sit amet
XX
Title
Body copy goes here lorem ipsum dolor sit amet

Value Prop #1

Body copy goes here lorem ipsum dolor sit amet

  • Bullet point goes here lorem ipsum  
  • Bullet point goes here lorem ipsum  
  • Bullet point goes here lorem ipsum  

Value Prop #1

Body copy goes here lorem ipsum dolor sit amet

  • Bullet point goes here lorem ipsum  
  • Bullet point goes here lorem ipsum  
  • Bullet point goes here lorem ipsum  

Value Prop #1

Body copy goes here lorem ipsum dolor sit amet

  • Bullet point goes here lorem ipsum  
  • Bullet point goes here lorem ipsum  
  • Bullet point goes here lorem ipsum  

List Item  #1

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.

List Item  #1

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.

List Item  #1

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.

List Item  #1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

List Item  #2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

List Item  #3

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Build

Benefits included:

  • ✔ Up to $15K in free platform credits*

  • ✔ 3 hours of free forward-deployed engineering time.

Funding: Less than $5M

Grow

Benefits included:

  • ✔ Up to $30K in free platform credits*

  • ✔ 6 hours of free forward-deployed engineering time.

Funding: $5M-$10M

Scale

Benefits included:

  • ✔ Up to $50K in free platform credits*

  • ✔ 10 hours of free forward-deployed engineering time.

Funding: $10M-$25M

Multilinguality

Word limit

Disclaimer

JSON formatting

Uppercase only

Remove commas

Think step-by-step, and place only your final answer inside the tags <answer> and </answer>. Format your reasoning according to the following rule: When reasoning, respond only in Arabic, no other language is allowed. Here is the question:

Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?

Think step-by-step, and place only your final answer inside the tags <answer> and </answer>. Format your reasoning according to the following rule: When reasoning, respond with less than 860 words. Here is the question:

Recall that a palindrome is a number that reads the same forward and backward. Find the greatest integer less than $1000$ that is a palindrome both when written in base ten and when written in base eight, such as $292 = 444_{\\text{eight}}.$

Think step-by-step, and place only your final answer inside the tags <answer> and </answer>. Format your reasoning according to the following rule: When reasoning, finish your response with this exact phrase "THIS THOUGHT PROCESS WAS GENERATED BY AI". No other reasoning words should follow this phrase. Here is the question:

Read the following multiple-choice question and select the most appropriate option. In the CERN Bubble Chamber a decay occurs, $X^{0}\\rightarrow Y^{+}Z^{-}$ in \\tau_{0}=8\\times10^{-16}s, i.e. the proper lifetime of X^{0}. What minimum resolution is needed to observe at least 30% of the decays? Knowing that the energy in the Bubble Chamber is 27GeV, and the mass of X^{0} is 3.41GeV.

  • A. 2.08*1e-1 m
  • B. 2.08*1e-9 m
  • C. 2.08*1e-6 m
  • D. 2.08*1e-3 m

Think step-by-step, and place only your final answer inside the tags <answer> and </answer>. Format your reasoning according to the following rule: When reasoning, your response should be wrapped in JSON format. You can use markdown ticks such as ```. Here is the question:

Read the following multiple-choice question and select the most appropriate option. Trees most likely change the environment in which they are located by

  • A. releasing nitrogen in the soil.
  • B. crowding out non-native species.
  • C. adding carbon dioxide to the atmosphere.
  • D. removing water from the soil and returning it to the atmosphere.

Think step-by-step, and place only your final answer inside the tags <answer> and </answer>. Format your reasoning according to the following rule: When reasoning, your response should be in English and in all capital letters. Here is the question:

Among the 900 residents of Aimeville, there are 195 who own a diamond ring, 367 who own a set of golf clubs, and 562 who own a garden spade. In addition, each of the 900 residents owns a bag of candy hearts. There are 437 residents who own exactly two of these things, and 234 residents who own exactly three of these things. Find the number of residents of Aimeville who own all four of these things.

Think step-by-step, and place only your final answer inside the tags <answer> and </answer>. Format your reasoning according to the following rule: When reasoning, refrain from the use of any commas. Here is the question:

Alexis is applying for a new job and bought a new set of business clothes to wear to the interview. She went to a department store with a budget of $200 and spent $30 on a button-up shirt, $46 on suit pants, $38 on a suit coat, $11 on socks, and $18 on a belt. She also purchased a pair of shoes, but lost the receipt for them. She has $16 left from her budget. How much did Alexis pay for the shoes?

Start
building
yours
here →