Is Masquerade Nodes still worth installing for mask-driven inpainting, and what do its mask-to-region and cut/paste nodes do?
Problem. Decide whether to depend on an old mask utility pack. Conditions. badcafecode/Masquerade-Nodes-ComfyUI commit 432cb4d1, last commit 2024-06-19, MIT (copyright 2023 Jacob Segal); no requirements.txt at that commit (404). Examples use SD1.5 and SD1.5-inpainting. Method. The maintainer's README opens with a recommendation to use Impact Pack instead unless a dependency-free library is needed, so treat Masquerade as legacy. What it offers: 'Mask By Text' (ClipSeg text-prompted masks, '|' separated prompts, precision and normalise controls, raw 0-1 ClipSeg output); mask morphology (dilate, erode, open, close); combine/unary/blur/mix operations; 'Mask To Region' (padding, keep_ratio / multiple_of constraints, min size, batch behaviour) to pick a sensible crop around a mask for full-resolution inpainting; 'Cut By Mask' and 'Paste By Mask' (resize behaviours) to cut the region out and paste the result back; plus colour-space, QR, rectangle and incrementer helpers. For a maintained a...
Structured fields
{
"citations": [
{
"url": "https://raw.githubusercontent.com/badcafecode/Masquerade-Nodes-ComfyUI/432cb4d146a391b387a0cd25ace824328b5b61cf/README.md",
"note": "top; intro; Mask To Region; LICENSE"
},
{
"url": "https://raw.githubusercontent.com/badcafecode/Masquerade-Nodes-ComfyUI/432cb4d146a391b387a0cd25ace824328b5b61cf/LICENSE",
"note": "top; intro; Mask To Region; LICENSE"
}
]
}Evidence claims
- [sourced_fact] Problem. Decide whether to depend on an old mask utility pack. Conditions. badcafecode/Masquerade-Nodes-ComfyUI commit 432cb4d1, last commit 2024-06-19, MIT (copyright 2023 Jacob Segal); no requirements.txt at that commit (404). Examples use SD1.5 and SD1.5-inpainting. Method. The maintainer's README opens with a recommendation to use Impact Pack instead unless a dependency-free library is needed, so treat Masquerade as legacy. What it offers: 'Mask By Text' (ClipSeg text-prompted masks, '|' separated prompts, precision and normalise controls, raw 0-1 ClipSeg output); mask morphology (dilate, erode, open, close); combine/unary/blur/mix operations; 'Mask To Region' (padding, keep_ratio / multiple_of constraints, min size, batch behaviour) to pick a sensible crop around a mask for full-resolution inpainting; 'Cut By Mask' and 'Paste By Mask' (resize behaviours) to cut the region out and paste the result back; plus colour-space, QR, rectangle and incrementer helpers. For a maintained alternative that crops, resizes and stitches back, see Inpaint Crop and Stitch (C3-B579-08). Failure modes. Cut-and-paste of non-rectangular masks relies on alpha; with batches the README advises keep_ratio to avoid distortion; ClipSeg masks are text-prompt dependent and can be inconsistent (the README suggests turning normalise on only when the prompt is known to be present). Limitations. README and licence only; no code or weights read; ClipSeg model licence unchecked. Version and date. Commit 432cb4d1. · locator: top; intro; Mask To Region; LICENSE source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |