ComfyUI Node
h4 - Forge_Mask
A ComfyUI node in h4_Live/Masking with 6 inputs and 2 outputs.
h4 - Forge_Mask
- image
- IMAGE
- MASK
◄mask_blur4►
◄mask_strength1.00►
◄mask_expansion0►
◄invert_maskfalse►
◄mask_data►
Categoryh4_Live/Masking
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The source image to mask. | |
| mask_blur | INT | 40–128 | The smoothness of the edges. A tiny bit of blur (4-8) helps the AI blend your changes without leaving hard lines. |
| mask_strength | FLOAT | 1.000–1 | How 'opaque' the mask is. 1.0 means full strength; lower it if you want your changes to be more subtle or ghost-like. |
| mask_expansion | INT | 0-64–64 | Grows or shrinks the mask area. Positive values expand the mask outwards, which is great for ensuring the background matches perfectly around your cutout. |
| invert_mask | BOOLEAN | false | Swaps the selection. Use this if you want to change EVERYTHING EXCEPT the area you painted. |
| mask_data | STRING | The invisible code for your hand-painted mask. I manage this for you behind the scenes! |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |