FLUX 3.1 Image

FLUX 3.1 Image is Black Forest Labs' image generation and editing model, built for speed at every size from 1 MP up to native 4K. It keeps people and objects consistent across multiple references, edits locally through masks and bounding boxes while leaving the rest of the image untouched, and changes or translates text in its original lettering. It suits high-volume work such as product catalogs, virtual try-on, storyboards and key art.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
Prompting
How to write text-to-image prompts for FLUX 3.1 Image: ordering the scene, trading adjectives for concrete detail, and setting the shape and size of the frame.
Fast and quality modes
How to choose between the fast and quality modes of FLUX 3.1 Image: what quality adds to long copy and intricate detail, and when fast is enough.
Rendering text
How to render text with FLUX 3.1 Image: quoting the exact string, directing the type, laying out several strings, and changing or translating copy in place.
Editing images
How to edit a photo with FLUX 3.1 Image from a single instruction: scoping the change, relighting, turning a gaze, swapping objects in and out, and chaining passes.
Multi-reference composition
How to combine reference images with FLUX 3.1 Image: assigning roles, dressing a model from packshots, keeping faces across shots and transferring a style.
Masked edits
How to aim a FLUX 3.1 Image edit with a mask: picking one of two identical objects, placing something new and putting a reference onto a product.
Bounding boxes
How to place, add, move and remove elements by region with FLUX 3.1 Image: reading the 0 to 1000 grid, laying out a frame and editing an image box by box.
Grounding with web and image search
How to ground FLUX 3.1 Image in real places and current facts with settings.grounding, and when to force a search or leave it to the model.