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. and the newly amazing prompt styler node that will help you quickly populate your {prompt} using a template name stored in an easily editable yaml file.

iTools Welcome

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
  • easy showAnything
  • ShowText|pysssss
  • Eff. Loader SDXL
  • SDXLPromptStyler
  • iToolsPromptStyler
  • iToolsPromptStylerExtra

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 Styler 🖌️: Helps you quickly populate your {prompt} using a template name stored in a yaml file. I chose yaml over json because it will be easier for the user to read, edit it or to add his own templates, it will load all yaml files in the styles folder, so you may add your unlimited files there and easily add your own templates. iTools Prompt Styler

# iTools Prompt Styler Extra 🖌️🖌️: Like iTools Prompt Styler, but you can mix up to 4 styles from up to 4 yaml files. check examples folder for basic workflow for this node. iTools Prompt Styler Extra

Example: here are some examples you just use "cute cat" as a prompt and let iTools Prompt Styler Extra do the magic of mixing 4 different styles togather. iTools Prompt Styler Extra

# 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 to 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 to 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 Edit: iTools Add Text Overlay has been updated, and now you can add the text over or under the image

Example: Add text if overlay off: 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

# iTools Grid Filler: Arranging a set of images into specified rows and columns, applying optional spacing and background color Example1: when one image provided iTools Grid Filler Example2: when multi-images provided iTools Grid Filler

# iTools KSampler: Identical to the original KSampler, but additionally provides the settings used to generate the image and the execution time. iTools KSampler

# iTools Line Loader: Will return a line from a multi line text at given index, help ypu make your own list of words or prompts and load them one by one or randomized. iTools Line Loader

# iTools Text Replacer: A text replacer tool that might also be useful Example1: with line loader tool you may quickly paste your prompts in lines and load them one by one or randomized, then you combine it with text replacer to get prompt variations. The total count of lines will be returned, allowing it to be used as a batch counter. iTools Text Replacer

Example2: Another example useful for randomization: with two lists of just 5 elements each, you can get up to 25 possible outputs iTools Text Replacer

Example3: With three lists you get up to 125 possible outputs iTools Text Replacer

# iTools Vae Preview: Merges VAE decoding and image preview into one node, The goal of iTools Vae Preview is to Decode & Preview the image at same node, so you do not have to use the VAEDecod node every time before preview an image. iTools Vae Preview

# iTools Checkerboard: Generates chessboard-like patterns, either in black and white or with random colors. iTools Checkerboard Example1: iTools Checkerboard Example2: iTools Checkerboard Wait for more...

Support me on PayPal

Donate