Nodes Browser

ComfyDeploy: How ComfyUI Nich Utils works in ComfyUI?

What is ComfyUI Nich Utils?

Several utility nodes for use with ComfyUI.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI Nich Utils and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

Nich Comfy Utils

This library is still in early development! It will likely contain bugs or oddities

This library contains utility nodes for comfyUI.

Image from Dir Selector

Breaking change

  • This node no longer contains the 'selected image' text box. This one was very unstable when loading / running multiple workflows. Please connect a text output to the filename output(s) if you want to retain what image was used in your workflow. This change should make it more idiomatic and reliable to use.

This node will select a random image from the provided folder. It allows for

  • Pinning a single image (if you want to keep using the selected image).
  • Allows searching within subdirectories of the given directory path (optional).
  • Filtering on a regular expression, for if you want to sample specific files only (optional).

Example Use cases:

  • Selecting a random image for IPadapter
  • Cycling controlnet poses
  • Cycling only through a subset of images (regular expression knowledge required).

Select Text with Regular Expression

This node allows selecting parts of text using a regular expression, with a delimiter (default = whitespace)

Example Use cases:

  • Select a subset of a prompt

Open work

  • Improve code
  • Add tests
  • More nodes!