Nodes Browser

ComfyDeploy: How ComfyUI-iTools works in ComfyUI?

What is ComfyUI-iTools?

The iTools are some quality of life nodes, like read a possible prompt used to create an image, save a prompt to file as a new line, read prompts from a multiline file.

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-iTools and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

iTools

The iTools are some quality of life nodes, like read a possible prompt used to create an image, save a prompt to file as a new line, read prompts from a multiline file.

Nodes:

# iTools Image Loader Plus: is an enhancement of the original ComfyUI ImageLoader node. It attempts to return the possible prompt used to create an image. If the prompt isn't found directly, this node will search for the prompt within the following supported nodes in the workflow:

  • CLIPTextEncodeSDXL
  • CLIPTextEncode
  • easy positive
  • ShowText|pysssss
  • Eff. Loader SDXL
  • SDXLPromptStyler

If your prompt is within any of these nodes, you will be able to retrieve it. The ShowText|pysssss node is a convenient addition that you can integrate it into any workflow to make sure it will be retrieved by iTools ImageLoaderPlus.

iTools ImageLoaderPlus

# iTools Prompt Loader: will try to load a prompt from a txt file, you need to provide a full path to a .txt file or try use the default prompt.txt one is the examples folder, the node will return the prompt at given index (line number) note that count start from zero.

# iTools Prompt Saver: will append the given prompt as a new line to the given file, provide a full path to a .txt file or try use the default prompt.txt one.

Watch the video

# iTools Add Text Overlay: will add an overlay bottom bar to show a given text, you may change the background color of the overlay bar and the font size

Example 1: add text overlay iTools Add Text Overlay Example 2: add full prompt iTools Add Text Overlay Example 3: change background color and font size iTools Add Text Overlay

# iTools Load Images: will return list of images from a given directory with a given limit, for example if the limit is 4 it will return first 4 images in that directory.it will also return the list of these images names. iTools Add Text Overlay