ComfyUI Node
Krea Mask
Make a clean edit mask for Krea Masked Edit: from a MASK, or from one channel (or the brightness) of an image. Outputs a binary mask and a black/white preview of exactly what Krea receives (white = edit).
Krea Mask
- mask
- image
- mask
- preview
◄channelluminance►
◄threshold0.50►
◄grow0►
◄invertfalse►
CategoryKrea/utils
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| channel | COMBO | luminance | Which part of the image becomes the mask (image input only). |
| threshold | FLOAT | 0.500–1 | — |
| grow | INT | 0-256–256 | Pixels to grow (or shrink, if negative). |
| invert | BOOLEAN | false | — |
| maskopt | MASK | — | |
| imageopt | IMAGE | Used when no mask is connected. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| preview | IMAGE | — |