As it says in the title, this is a simple workflow for changing the colors of the area covered by the mask. 7-10 different nodes used several times and connected together. Nothing special, but I think that this...
Runtime profile
Source description
Description:
As it says in the title, this is a simple workflow for changing the colors of the area covered by the mask. 7-10 different nodes used several times and connected together. Nothing special, but I think that this simplicity is a big advantage, even a complete novice will easily understand how it works.
Examples:
Versions:
AI-generated commentary
AI-generated explanation based on source and configuration details. Suggestions are clearly labeled.
ComfyUI Recolor by Mask is for changing the colors of an area covered by a mask; it takes an image and mask and outputs a preview of the recolored image.
The workflow uses 7–10 different nodes multiple times.
The Simplified version is the less complex option; the Double version adds segments for processing multiple elements in one iteration.
Input: an image and a mask. Output: a preview showing changed colors in the masked area.
Use ComfyUI with ComfyUI-LayerStyle and ComfyUI-Inpaint-CropAndStitch; rgthree-comfy is optional for Image Comparer.
The workflow requires ComfyUI_LayerStyle for LayerColor: RGB and LayerColor: BrightnessContrastV2.
Other named components include PreviewImage, LoadImage, LoadImageMask, InpaintCrop, InpaintStitch, and Image Comparer (rgthree).
It is listed with base model SD 1.5.
To use any image as a new texture, replace the second LayerColor: RGB with Load Image + ImageBlend.
Suggestion
You can try InvertMask after the first LayerColor: RGB.
Suggestion
No universal set of settings is described as perfect for every image; experiment with the settings.
Suggestion
The use license is not specified.
Does this need to be edited?
Sign in to send an edit request.
Sources
1 sourceSource excerpts
1 excerptSource context: 155 downloads · Type Workflows · Base model SD 1.5
Simplified - Simply working workflow, without unnecessary complexity.
Double - An example of how you can add additional segments to process multiple elements in one iteration.
Requirements:
ComfyUI-LayerStyle https://github.com/chflame163/ComfyUI_LayerStyle
ComfyUI-Inpaint-CropAndStitch https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
(Optional - for Image Comparer) rgthree-comfy https://github.com/rgthree/rgthree-comfy
Tips:
If you replace the second LayerColor: RGB with Load Image + ImageBlend you can use any image as a new texture.
Sometimes it may be a good idea to InvertMask after the first LayerColor: RGB.
There is no one universal set of settings that will be perfect for every image - don't be afraid to experiment with the settings.
Remaining hardware or download-size estimates are not available yet.
Requirements
Image Comparer (rgthree)
Not resolvedNode pack · Unknown
InpaintCrop
Not resolvedNode pack · Unknown
InpaintStitch
Not resolvedNode pack · Unknown
LayerColor: BrightnessContrastV2
FoundNode pack · Unknown
LayerColor: RGB
FoundNode pack · Unknown
LoadImage
PossibleNode pack · Unknown
LoadImageMask
PossibleNode pack · Unknown
PreviewImage
PossibleNode pack · Unknown