FLUX 3.1 Image Reaches ComfyUI With Mask and Box Edits
Black Forest Labs' FLUX 3.1 Image lands in ComfyUI partner nodes: 3-second generation at 1 MP, mask edits, up to 10 references and 4K output.
FLUX 3.1 generates and edits images in about 3 seconds at 1 MP, and BFL puts 16 MP output under 15 seconds. Inside ComfyUI it is one node that covers text to image, instruction edits, mask edits and bounding-box edits, so a prompt and up to ten pictures go in, one image comes out.
What the node handles
- Two modes:
quality(default) for text, fine detail and many references,fastfor volume at about half the price. - Size: presets from 1K (1 MP) to 4K (16 MP), plus
match image 1to keep an input's exact size. Fifteen aspect ratios sit alongsideauto. - References: up to 10 images, named
image 1,image 2in the prompt. With a mask the limit drops to 9. - Mask: white areas may change, black areas stay. The mask must match
image 1's aspect ratio. - Boxes: up to 32 boxes from
Create Bounding Boxes, cited as<box_1>,<box_2>. A single click places an object at that point at roughly 10% of the frame. - Grounding:
off,autoorforce, for prompts that name a real place or product. - Output: the node always requests PNG.
| Mode | Price at 1 MP | Use it for |
|---|---|---|
fast | $0.015 | High-volume drafts, catalog shots, quick iterations |
quality | $0.030 | Typography, multi-reference consistency, 4K finals |
Prices are BFL's API list; ComfyUI bills each run in credits, and the node's badge shows the estimate for the selected mode and resolution.
Editing without repainting the frame
The useful part for ComfyUI work is that a mask, a box and an instruction all act on one reference image. Brush the seat of a chair, write "make the seat bright yellow", and the rest of the photo is left alone.
![]() | ![]() | ![]() |
|---|---|---|
| Input | Mask | FLUX 3.1 output |
Bounding boxes do the same job for one object inside a larger frame: draw the box, write the change into its desc, and pass the table to the node through FLUX 3 Image Layout Prompt. Boxes guide placement rather than clipping, so anything you neither box nor mention can still be repainted. End prompts with the anchors you want kept, such as "keep her face, skin and the shirt exactly as they are".
Official templates
Three templates ship with the node (workflow_templates #1539). All three need ComfyUI 0.47.2 or newer and a comfy.org sign-in.
| Template | What it does |
|---|---|
| FLUX 3.1 Image: Text to Image | Prompt to image, 15 ratios up to 4K |
| FLUX 3.1 Image: Image Edit | One photo plus one instruction, output keeps input size and framing |
| FLUX 3.1 Image: Bounding Box Edit | Box-level edits through Create Bounding Boxes |
Samples from the BFL launch post.
Availability
FLUX 3.1 Image runs on BFL's API through ComfyUI's partner nodes, next to the older FLUX 3 Image node. There are no open weights, so there is nothing to download into models/ and nothing to run locally. Every generation is billed per image.



Comments
Sign in with GitHub to join the discussion.