Black Forest Labs Launches FLUX 3.1 Image With Mask-Based Editing
On December 3, 2026, Black Forest Labs released FLUX 3.1 Image, a new version of its image generation and editing model designed to accelerate large-scale visual content production. The main new feature is mask-based editing, which allows users to change individual areas of an image without altering the rest of the composition. The model also supports spatial control over objects, multiple references, and image generation at up to 4K resolution. FLUX 3.1 Image is already available in Image Studio and through the BFL API. The developers offer two generation modes that differ in speed, quality, and cost.
Mask-Based Editing: Changing Individual Elements Without Regenerating the Image
FLUX 3.1 Image allows users to select the area of an image they want to change and describe the desired adjustment in a text prompt. Unlike conventional prompt-based editing, a mask determines which pixels can be modified. When the original resolution is preserved, the rest of the image remains untouched.
- Change the color of individual clothing or product elements.
- Replace the advertised product within an existing composition.
- Correct text on packaging and advertising materials.
- Add or remove individual objects.
- Modify specific parts of the surroundings while retaining the rest of the composition.
In its official announcement, Black Forest Labs demonstrates how to replace a character's clothing without changing the surrounding landscape and how to change the color of one object among several identical objects. The practical value of this approach is the ability to make localized changes to approved creatives without regenerating the entire image.
Bounding Boxes Enable Spatial Control of Objects in Ad Creatives
Bounding Boxes were introduced in the previous version, FLUX 3 Image. FLUX 3.1 Image retains this capability and complements it with mask-based editing. Bounding Boxes are rectangular areas that define the positions of individual elements in a composition. A single request can contain up to 32 such areas. Users can specify the positions of products, characters, decorative elements, or other objects relative to one another. The tool also supports repositioning and resizing existing objects.
| Capability | Mask Editing | Bounding Boxes |
|---|---|---|
| Define the editing area | Free-form shape | Rectangular area |
| Place new objects | Yes | Yes |
| Control composition during generation | Not the primary purpose | Yes |
| Move objects | Through editing | Through spatial instructions |
| Strictly preserve pixels outside the area | Yes, when the original resolution is preserved | Not guaranteed |
For automated banner production, Bounding Boxes can be used to create repeatable compositions with predefined positions for products and graphic elements. Masks, in turn, are intended for more precise adjustments to existing images.
Up to 10 References for Product Images and Series of Ad Creatives
FLUX 3.1 Image supports generation and editing with multiple input images. The API accepts up to 10 references in a single request. When a mask is used, the maximum number of input images is reduced to nine. Each image can define a different component of the intended composition, such as a character's appearance, a product's appearance, clothing, surroundings, or artistic style.
For e-commerce, this makes it possible to use existing product photography when creating new advertising materials. For example, teams can combine a product photo with an interior image, show several clothing items on one virtual model, or reproduce a product in different surroundings. Black Forest Labs also positions the model as a tool for scaling product catalogs and virtual clothing try-on. However, using multiple references does not guarantee that products will be reproduced with complete accuracy. Teams must verify product construction, dimensions, material textures, logos, and other details that matter to purchase decisions.
Text Editing, Style Transfer, and Native 4K Generation
- Text Editing: change, add, or translate text directly within an image while retaining the original lettering style.
- Style Transfer: apply the artistic treatment of one image to the content of another.
- HEX Colors: specify the desired colors using HEX codes in the prompt.
- Scene Editing: change the lighting, time of day, season, and other characteristics of the surroundings.
- Native 4K: generate and edit images at resolutions of up to approximately 16 megapixels.
Text editing is particularly relevant to the localization of advertising materials. In the official examples, the developers demonstrate changes to text on outdoor advertising displays, product packaging, and signs while retaining their visual presentation. However, retaining the lettering style does not guarantee the use of the original brand font file. For creatives with strict typography requirements, the final text treatment may still require a graphic editor. The 4K designation in FLUX refers to an image resolution class, not the fixed 3840 × 2160 video format. Specific dimensions depend on the selected aspect ratio.
Two FLUX 3.1 Image Modes: Fast and Quality
The developers offer two modes with the same set of capabilities. Fast is designed for large-scale image generation and editing. Quality is recommended for tasks where fine details, typography, and consistency across multiple references are especially important.
Generation and Editing Speed
According to the developers, generating an image at the maximum resolution of approximately 16 MP takes less than 15 seconds. Actual request processing times may vary depending on resolution, the complexity of the operation, and infrastructure load.
Generation Costs Through the BFL API
Pricing depends on the selected resolution and mode. Input images are included in the generation price.
| Resolution | Fast | Quality |
|---|---|---|
| 1 MP | $0.015 | $0.030 |
| 2 MP | $0.024 | $0.042 |
| 4 MP | $0.040 | $0.060 |
| 8 MP | $0.066 | $0.130 |
| 12 MP | $0.089 | $0.203 |
| 16 MP | $0.110 | $0.280 |
As part of the model launch, generation costs are temporarily reduced by 50% until December 17 and by 25% from December 17 through December 31, 2026. At standard rates, generating 1,000 images at 1 MP costs $15 in Fast mode or $30 in Quality mode. This calculation excludes repeated generations and additional asset processing operations.
FLUX 3.1 Image Availability and Integration With Creative Platforms
POST /v1/flux-3.1-imageThe model has also been added to the catalogs of third-party API providers fal and Runware. Both services provide access to image generation and editing.
Black Forest Labs also offers enterprise customers licensing for FLUX model weights, allowing them to fine-tune models on their own data, products, and visual styles and deploy them on their own infrastructure. However, public downloads of the specific FLUX 3.1 Image weights have not been announced. Licensing terms for this version must be confirmed separately. It should not be confused with FLUX 3 Image Klein, whose weights were published on October 15, 2026.
AI Generation Becomes Part of E-commerce Production Infrastructure
Black Forest Labs is a German research and technology company developing the FLUX family of generative models. From a marketing perspective, FLUX 3.1 Image is relevant not only as a standalone image creation model but also as a component of automated ad creative production systems. The combination of localized editing, spatial composition control, multiple references, and relatively low API costs allows generative models to be integrated into product catalog preparation, adaptation of ad concepts, and large-scale visual content production.