$ cat articles/flux-3-1-mask-photo-editing.md
Explainer· Content· Design· 10 min read· Dec 4, 2026
AI no longer redraws the whole photo when you ask it to change one thing. How to edit with a brush in FLUX 3.1
FLUX 3.1 from Black Forest Labs changes only the area you paint with a brush: an item's color, clothing or a sign in the same lettering. The rest stays put.

You can now fix one detail in your photo without losing everything else. In the new version of FLUX, the image model from Black Forest Labs, you paint over the spot you want to change with a brush, say a chair seat, a jacket or a shop sign, and describe in one sentence what should be there. Only the painted area changes: faces, light, background and nearby text stay exactly as they were. That lets you recolor a product to your brand color, put different clothes on a person in a shot or swap the words on a sign in the same lettering. You can try it in the browser, in Image Studio, with nothing to install.
Anyone who has edited pictures in ChatGPT knows the story. You ask it to recolor one armchair and get a new room: the light is different, the face of the person on the sofa has shifted a little, the lettering on the wall has drifted. The model doesn't edit the picture, it redraws it from scratch, and everything you liked has to be chased down on the fifth try.
On December 3, Black Forest Labs, the company behind the FLUX image models, released FLUX 3.1 and showed a simple example. A photo of a chair with only the seat painted over, and the instruction «Make the seat bright yellow». The result has a yellow seat, while the legs, the wall and the shadow on the floor are the same as before. How do you do the same with your own photo and keep the edit from spreading across the whole frame?
Why AI used to redraw the whole photo, and why it doesn't now
The trick is the mask. It's an image the same size as your photo, only black and white: white marks the area that may change, black marks everything else. It works like painter's tape: paint simply won't land underneath it.
You don't have to draw the mask separately: you just brush over the photo, and whatever you paint becomes white. From there, according to the FLUX 3.1 documentation, everything outside the painted area is carried over from your photo without a single change. Before, «change only the jacket» was a request the model interpreted its own way. Now it's a boundary.
It's also fast: by the company's own measurements an edit takes about 4 seconds. You can run through options one after another, like phone filters: yellow seat, then blue, then plaid.
Who gains from this, and who is fine with ChatGPT
The biggest winners are people with one good photo they don't want to ruin. A seller with a product shot who needs it in a second color. Someone with a social media banner where the date has to change. A café owner who needs a picture of the sign with new text.
If you create pictures from scratch and don't care what they looked like before an edit, ChatGPT will do the job. The brush matters when the rest of the frame is already right and must not be touched. And if the photo is old and blurry, first do an AI photo upscale to 4K for free and then edit the sharp version.
Step 1. Paint one spot and write one sentence
Open Image Studio: it's the Black Forest Labs page where the model runs right in the browser, and the announcement links to it with a «Try it free» button. Upload a photo with one thing you'd like to change: a mug, a chair, a T-shirt.
Then, as Black Forest Labs describes it, you brush over the part you want and describe the edit in words. Paint with a little margin around the edges, especially if the item has a shadow or reflection: the documentation advises leaving room for them inside the mask.
Make [what you painted] [what it should become]. Keep everything outside the mask unchanged.Replace: the square brackets with your edit, for example «Make the seat bright yellow» or «Make the mug matte black».
Result: a few seconds later, the same photo where only the painted spot has changed. Check the edges: if the color sits cleanly and the shadow is still there, the mask had the right margin.
You fixed one photo. Next, pictures like this become a video
You got the picture you needed in a minute, with no Photoshop. The next step is in the «Motion Video with AI» course: finished product or banner images become a social media video with animation, transitions and music. You describe the video in words, Claude builds it, no video editor needed.
- «Motion Video with AI» course: from idea to finished video
- Script and storyboard together with Claude
- Transitions, music and voiceover
- AI mentor in every lesson
$44.90one time
Get full accessNo subscription. Lifetime access, future courses included.
Step 2. The exact color by code, not «sort of blue»
Every model reads the word «blue» its own way. For product photos that's a problem: the mug on the website is one shade, the mug in the shot is another. FLUX 3.1 understands an exact color if you give it the code: a hash sign and six characters. Any editor's color picker shows this code, and ChatGPT can tell you the code of a color from your logo or an old product photo.
In the announcement, a building in the background is recolored to #0f0787 this way. With the brush it's the same: paint over the item and write the code.
Change the color of [what you painted] to [#color code]. Keep the texture, shadows and labels the same.Replace: the first bracket with the name of the item, the second with your color code.
Result: the item in exactly your brand color, while the label, folds and highlights stay in place.
Step 3. New text in the same lettering
The most annoying edit in a regular editor is text in a photo: you have to match the font, color, slant and perspective. FLUX 3.1 can change lettering while keeping its look. In the announcement, a café sign is made to read «Sorry WE'RE CLOSED» in the same letters and colors it had.
For text you can even skip the brush. The brush gives a hard guarantee, but a plain sentence works too if it names what changes and what stays: according to the documentation, the model then protects the rest of the frame on its own.
Change the text on [where the text is] to say "[new text]" in the same lettering and colors. Keep everything else the same.Replace: where the text is (a sign, a mug, a poster) and the new text. All of Black Forest Labs' examples use Latin letters, so if you write in another alphabet, check the result by eye.
Result: the same sign or banner with new words, the font and color matching the old ones.
Step 4. Different clothes on the same person
The second mask example in the announcement is the most practical: on a mountain shot, Black Forest Labs paints over only the beanie and jacket and describes new ones, while the face, pose and misty light stay the same. You can try a blazer on your own portrait for a profile picture, or show clothes from a store on one and the same person. If you need that person in different scenes, see also how to save yourself or your pet as a reference in ChatGPT.
Replace the [what they are wearing now] with [what to wear: cut, color, fabric], matching the light of the original photo.Replace: the first bracket with what you painted (for example «grey knit beanie and jacket»), the second with the new item in as much detail as you can: cut, color, material.
Result: the same person in the same pose, in new clothes. If the item is longer than the old one, say a coat instead of a jacket, paint with extra room downward.
What it costs and where the brush won't help
Black Forest Labs doesn't say how many images you get for free: the «Try it free» button is there, but the exact limit only shows up after you sign in. After that you pay per image, with no subscription: $0.015 in fast mode, so a hundred edits cost a dollar and a half, and until December 17 there's a 50% discount. The mode with finer detail, for small text, costs twice as much.
Where the brush won't save you:
- The new item is bigger than the old one. If you swap a chair for an armchair and the armchair is wider, its edge hits the mask border and gets cut off. The documentation suggests doing such edits without a mask, with words only.
- Shadows and reflections. The new item casts its own shadow, and that shadow lies outside the mask. Paint with a margin.
- A wide, soft mask edge. If the border is painted semi-transparent, old and new blend and a «ghost» appears. Keep the edges crisp.
Our opinion, and you're welcome to disagree: for people who sell products or run a social media page, the brush will do more than any new model that simply draws prettier pictures. If you only create new images and never edit, you'll barely notice the difference.
Before and now
Before, you explained to the model what it must not touch and hoped it would listen. Now you draw the boundary yourself with a brush, and everything beyond it stays yours. What would you change first: a product's color, the date on a banner or the blazer in your profile picture?
Versions and prices as of 04.12.2026
Prices, discounts and free access change. Check the current ones on the Black Forest Labs site before you start.
Sources5expand
- Black Forest Labs, «Introducing FLUX 3.1 Image», 03.12.2026 — https://bfl.ai/blog/flux-3-1
- Black Forest Labs, «Pricing», checked 04.12.2026 — https://bfl.ai/pricing
- Black Forest Labs, «Edit and control with FLUX 3.1 Image», documentation, checked 04.12.2026 — https://docs.bfl.ai/flux_3_1/flux31_image_edit
- Black Forest Labs, «FLUX 3.1 Image», documentation, checked 04.12.2026 — https://docs.bfl.ai/flux_3_1/flux31_image_overview
- Hacker News, FLUX 3.1 Image discussion, 03.12.2026 — https://news.ycombinator.com/item?id=50750293
$ grep tools: articles/flux-3-1-mask-photo-editing.md
Tools from this piece
Each has its own card: check date, stars and a short verdict.
ServiceTRELLIS.2TRELLIS.2 by Microsoft turns a single photo of an object into a 3D model with materials and gives you a GLB file. The demo runs free in the browser, MIT licence.
GitHub repository17kAI Design SkillsTwo MIT skills for Claude Code, Cursor or Codex: one takes a landing page from brief to strict visual system, one animates a Figma mockup into video and GIF.$ ls articles/ --related




Comments