Nodes/ComfyUI_LC_MaskMaker_nodes/LC Create Mask ๐Ÿ–ผ๏ธโœ๏ธ
ComfyUI Node

LC Create Mask ๐Ÿ–ผ๏ธโœ๏ธ

Draw a mask on the node: click to add points (no limit), drag to reshape, or use the pencil for freehand. Feather, invert, and opacity built in.

By lonecatone23ยทCreated 6 days agoยทUpdated about 10 hours agoยท 0
LC Create Mask ๐Ÿ–ผ๏ธโœ๏ธ
  • image
  • image
  • mask
โ—„blockfalseโ–บ
โ—„pencilfalseโ–บ
โ—„smoothfalseโ–บ
โ—„invertfalseโ–บ
โ—„feather0.0โ–บ
โ—„opacity1.00โ–บ
โ—„overlay_opacity0.45โ–บ
โ—„points[]โ–บ
CategoryLC MaskMaker/mask

Inputs (9)

NameTypeDefaultDescription
imageIMAGEImage to draw the mask on.
blockBOOLEANfalseif_empty_mask: when nothing is drawn (no shape, or an all-black mask), everything downstream of this node is stopped so you can draw, then queue again. never: always passes the image and mask through.
pencilBOOLEANfalsepoints: click to add, drag to move, shift+click removes. pencil: draw freehand.
smoothBOOLEANfalsesmooth curves through the points instead of straight edges.
invertBOOLEANfalseFlip the mask (outside becomes white).
featherFLOAT0.00โ€“200Edge softness in pixels (gaussian blur radius).
opacityFLOAT1.000โ€“1Mask strength. Scales the mask values (1.0 = solid).
overlay_opacityFLOAT0.450โ€“1How strongly the mask shows over the preview on the node. Display only.
pointsSTRING[]Internal: normalized point list.

Outputs (2)

NameTypeDescription
imageIMAGEโ€”
maskMASKโ€”