mask pass
The quiet workhorse of inpainting stacks
- mask
- mask
The Aegisflow Mask Pass does one thing: a mask goes in, the same mask comes out. No resizing, no feathering, no clever blending - it's a straight pass-through node, and it's part of the pack's "passer" family for a reason that has nothing to do with what the mask looks like.
Why a pass-through is useful
Modular workflows have a recurring failure mode: ComfyUI and some popular custom nodes try to "fix" empty required inputs by auto-wiring whatever matching output is around - and sometimes wire the wrong mask (or the wrong anything) into your inpaint node, silently corrupting generations. Because this passer's input is optional, it never triggers that autofixing. It also works as a nameable target for Use Everywhere / Anything Everywhere style invisible-broadcast nodes: rename the passer, point your sender at it, and the mask you want lands here at runtime even though no wire visibly reaches it.
The classic use is inpainting. You'll see these in modular inpaint workflows where a mask comes from somewhere off-canvas - a segment-anything step, a separate img2img branch, or a manual load - and needs to arrive at the Set Latent Noise Mask or the inpaint sampler without dragging wires across half the graph. The passer is the socket that says "this group wants a MASK here."
Inputs and outputs
- mask (MASK, optional) - the mask to pass through.
- Output: mask (MASK).
If nothing fills the input, the output is None. That's expected behavior when a sender delivers at runtime; it's an error only if you wire an empty passer straight into a consumer.
Installing it
Part of the AegisFlow Utility Nodes pack, so you install them all:
cd ComfyUI/custom_nodes
git clone https://github.com/aegis72/aegisflow_utility_nodes
Restart ComfyUI. ComfyUI Manager also lists it under "AegisFlow Utility Nodes". No models, no dependencies beyond what ComfyUI already has.
Where people get burned
Don't confuse this with a mask-editing node - it won't invert, smooth, or threshold anything. If you need those, do them upstream and pass the result. And if you leave the input empty while no sender targets the node, whatever you connected downstream receives nothing. The passer is a mailbox, not a filter.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| maskopt | MASK | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |