ComfyUI Node
ꘇ top.mask
Apply IMAGE or native queued MASK to source alpha; mask resizes to source. Native MASK directly supplies opacity; channel choice applies to IMAGE masks. Luma/RGB mask channels include mask alpha. Alpha channel uses alpha directly. Multiply preserves existing transparency; replace sets alpha. Strength blends with original alpha; RGB unchanged.
ꘇ top.mask
- image
- mask
- image
◄channel▾►
◄operation▾►
◄invertfalse►
◄strength1.00►
CategoryGenereti / TOP
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask | IMAGE,MASK | — | |
| channel | COMBO | 5 options: luma, alpha, red, green, blue | |
| operation | COMBO | 2 options: multiply, replace | |
| invert | BOOLEAN | false | — |
| strength | FLOAT | 1.000–1 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |