Nodes/ComfyUI-EdgePainter/Edge Painter (Load Image + guide strokes)
ComfyUI Node

Edge Painter (Load Image + guide strokes)

Load Image + guide strokes. Right click > Open in MaskEditor and paint: a thin white brush is set automatically for this node only (your normal MaskEditor settings are restored when you close it). The strokes come out separately, white on black.

By JacPointLab·Created about 6 hours ago·Updated about 6 hours ago· 0
Edge Painter (Load Image + guide strokes)
  • mask
  • guide
  • image
  • strokes
  • strokes_mask
  • overlay
  • fused_guide
◄image▾►
◄fusionreplace►
Categoryimage

Inputs (4)

NameTypeDefaultDescription
imageCOMBO1 options: example.png
maskoptMASKOptional area to paint in (e.g. your inpaint mask). Strokes outside it are discarded, and the rest is dimmed in the preview and in the MaskEditor.
guideoptIMAGEOptional original guide (e.g. Canny/Lineart of this image). Enables the fused_guide output.
fusionoptCOMBOreplaceInside the area: 'replace' = only your strokes (change a shape); 'add' = original guide + your strokes (add details such as embroidery, prints, seams).

Outputs (5)

NameTypeDescription
imageIMAGEThe loaded image, untouched.
strokesIMAGEOnly your strokes: white on black. Plug it into a Canny/Lineart/Scribble ControlNet.
strokes_maskMASKYour strokes as a mask (1 = painted).
overlayIMAGEThe image with your strokes painted in white.
fused_guideIMAGEOriginal guide outside the area; inside it, your strokes ('replace') or guide + strokes ('add'). Without a guide input it equals 'strokes'.