Nodes Browser
ComfyDeploy: How ComfyUI-Color_Transfer works in ComfyUI?
What is ComfyUI-Color_Transfer?
Postprocessing nodes that implement color palette transfer for images.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-Color_Transfer
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-Color_Transfer
Postprocessing nodes that implement color palette transfer in images. It replaces the dominant colors in an image with a target color palette.
Installation
Clone repo to your custom_nodes folder
git clone https://github.com/45uee/ComfyUI-Color_Transfer.git
Usage
- Create a "Color Palette" node containing RGB values of your desired colors. Color must be defined in this format: [(Value, Value, Value), ...], for example [(30, 32, 30), (60, 61, 55), (105, 117, 101), (236, 223, 204)]
- Create a "Palette Transfer" node, and connect your image and palette as input, that's all.
- You can specify color clustering and comparing distance method, by default MiniBatchKMeans faster but can be less accurate