FLUX 3.1 Image Reaches ComfyUI With Mask and Box Edits

ComfyUI Wikinews

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 Image arrived on December 3, 2026. ComfyUI added it as the FLUX 3.1 Image partner node in PR #18145 the same day, with three official templates. It is API only: no weights ship with it.

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, fast for volume at about half the price.
  • Size: presets from 1K (1 MP) to 4K (16 MP), plus match image 1 to keep an input's exact size. Fifteen aspect ratios sit alongside auto.
  • References: up to 10 images, named image 1, image 2 in 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, auto or force, for prompts that name a real place or product.
  • Output: the node always requests PNG.
ModePrice at 1 MPUse it for
fast$0.015High-volume drafts, catalog shots, quick iterations
quality$0.030Typography, 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.

Seat before the editPainted maskSeat after the edit
InputMaskFLUX 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.

TemplateWhat it does
FLUX 3.1 Image: Text to ImagePrompt to image, 15 ratios up to 4K
FLUX 3.1 Image: Image EditOne photo plus one instruction, output keeps input size and framing
FLUX 3.1 Image: Bounding Box EditBox-level edits through Create Bounding Boxes
FLUX 3.1 Image outputs across mask edits, references and 4K detail

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.

Loading comments…
FLUX 3.1 Image Reaches ComfyUI With Mask and Box Edits | ComfyUI Wiki