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).

By fraudrice·Created a day ago·Updated a day ago· 0
Krea Mask
  • mask
  • image
  • mask
  • preview
◄channelluminance►
◄threshold0.50►
◄grow0►
◄invertfalse►
CategoryKrea/utils

Inputs (6)

NameTypeDefaultDescription
channelCOMBOluminanceWhich part of the image becomes the mask (image input only).
thresholdFLOAT0.500–1—
growINT0-256–256Pixels to grow (or shrink, if negative).
invertBOOLEANfalse—
maskoptMASK—
imageoptIMAGEUsed when no mask is connected.

Outputs (2)

NameTypeDescription
maskMASK—
previewIMAGE—