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.
Edge Painter (Load Image + guide strokes)
- mask
- guide
- image
- strokes
- strokes_mask
- overlay
- fused_guide
◄image▾►
◄fusionreplace►
Categoryimage
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | COMBO | 1 options: example.png | |
| maskopt | MASK | Optional 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. | |
| guideopt | IMAGE | Optional original guide (e.g. Canny/Lineart of this image). Enables the fused_guide output. | |
| fusionopt | COMBO | replace | Inside the area: 'replace' = only your strokes (change a shape); 'add' = original guide + your strokes (add details such as embroidery, prints, seams). |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The loaded image, untouched. |
| strokes | IMAGE | Only your strokes: white on black. Plug it into a Canny/Lineart/Scribble ControlNet. |
| strokes_mask | MASK | Your strokes as a mask (1 = painted). |
| overlay | IMAGE | The image with your strokes painted in white. |
| fused_guide | IMAGE | Original guide outside the area; inside it, your strokes ('replace') or guide + strokes ('add'). Without a guide input it equals 'strokes'. |