ComfyUI Custom Nodes by xss

Custom Nodes for ComfyUI

These are a collection of nodes I have made to help me in my workflows. None of the nodes here require any external dependencies or packages that aren't part of the base ComfyUI install so they should be plug and play.

Installation

  1. Download the node's .zip file

  2. Extract it into your ComfyUI\custom_nodes folder

  3. Restart your ComfyUI server instance

  4. Refresh the browse you are using for ComfyUI

  5. Have fun!

Let me know if you see any issues.

ComfyUI Custom Nodes by xss Image to Contrast Mask

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node will take the provided image and combines a few of the other nodes I have to make it a single step process to make a contrast mask from it. This can be used for background replacement if you have an image with a good depth mask applied such as one that came from MiDaS or just a normal high contrast background.

ComfyUI Custom Nodes by xss VAE Decode with Preview

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node will take the provided image and combines a few of the other nodes I have to make it a single step process to make a contrast mask from it. This is a simple node that allows you to preview an image as it is being decoded. It does not save the image by design, but it does output it if one wanted to do so.

ComfyUI Custom Nodes by xss Image to Mask

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node will take the provided image and convert it into a mask based on various settings. It works well when combined with images provided my MiDaS for removing backgrounds, especially if further filtered by the other nodes I have provided.

ComfyUI Custom Nodes by xss Crop

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node will take the provided image crop it according to the provided dimensions.

ComfyUI Custom Nodes by xss Gaussian Blur

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node will take the provided image and blur it. It can be used for normal image blur or in combination with pallet clipping to assist in masking out areas more thoroughly.

ComfyUI Custom Nodes by xss Invert Image

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node will invert the palette of the provided image. It can be useful for creating advanced masks from images or for artistic purposes.

ComfyUI Custom Nodes by xss Invert Mask

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node will take invert a MASK.

ComfyUI Custom Nodes by xss Monochromatic Clip

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. This node is great for creating advanced masks from MiDaS depth maps or from other images that have been generated in your workflow. It is also useful in general palette clipping.

ComfyUI Custom Nodes by xss Mosaic

Unzip the contents into your ComfyUI\custom_nodes folder and restart ComfyUI and refresh your browser. The new node should show up under image in the UI. It works great with models like All-In-One-Pixel-Model!