Nodes/ComfyUI-EdgePainter/Edge Pencil (retouch a guide in black & white)
ComfyUI Node

Edge Pencil (retouch a guide in black & white)

Hand-retouch a guide at the original size. Run once, then right click > Open in MaskEditor: white pencil adds lines, X switches to black to erase them. Run again to use the result.

By JacPointLab·Created about 6 hours ago·Updated about 6 hours ago· 0
Edge Pencil (retouch a guide in black & white)
  • guide
  • size_like
  • guide
  • edited_mask
◄image►
◄source►
Categoryimage

Inputs (4)

NameTypeDefaultDescription
guideIMAGEThe guide to retouch, e.g. the output of a Canny preprocessor.
imageSTRINGManaged by the node: the guide file you paint on.
sourceSTRINGManaged by the node: fingerprint of the guide.
size_likeoptIMAGEThe original photo: the guide is resized to its exact size (preprocessors return their own resolution).

Outputs (2)

NameTypeDescription
guideIMAGEThe guide with your white and black retouches, at the size of the original photo.
edited_maskMASKWhere you painted (1 = retouched).