Nodes/h4_Live/h4 - Forge_Mask
ComfyUI Node

h4 - Forge_Mask

A ComfyUI node in h4_Live/Masking with 6 inputs and 2 outputs.

By m3rr·Created 8 months ago·Updated 16 days ago· 1
h4 - Forge_Mask
  • image
  • IMAGE
  • MASK
mask_blur4
mask_strength1.00
mask_expansion0
invert_maskfalse
mask_data
Categoryh4_Live/Masking

Inputs (6)

NameTypeDefaultDescription
imageIMAGEThe source image to mask.
mask_blurINT40–128The smoothness of the edges. A tiny bit of blur (4-8) helps the AI blend your changes without leaving hard lines.
mask_strengthFLOAT1.000–1How 'opaque' the mask is. 1.0 means full strength; lower it if you want your changes to be more subtle or ghost-like.
mask_expansionINT0-64–64Grows or shrinks the mask area. Positive values expand the mask outwards, which is great for ensuring the background matches perfectly around your cutout.
invert_maskBOOLEANfalseSwaps the selection. Use this if you want to change EVERYTHING EXCEPT the area you painted.
mask_dataSTRINGThe invisible code for your hand-painted mask. I manage this for you behind the scenes!

Outputs (2)

NameTypeDescription
IMAGEIMAGE
MASKMASK