Nodes Browser

ComfyDeploy: How pants works in ComfyUI?

What is pants?

Nodes: Make Square Node, Interrogate Node, TextEncodeAIO

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

comfy-pants: custom nodes for ComfyUI

This repo contains a number of QoL nodes I made for myself that I figured I may as well make available for everyone else.

Nodes

  • Make Square Node
    • Will pad an image to make it square with a chosen filling strategy. Sort of like "Resize and fill" from a1111.
  • TextEncodeAIO
    • Tried to hack StylePile-like (the A1111 extension, shoutout btw) behavior into a ClipTextEncode node, but I'm not sure I'm even doing it right.

Installation

First clone the repo to your custom_nodes folder:

cd path/to/ComfyUI/custom_nodes
git clone https://github.com/pants007/comfy-pants.git

Then enter the repo folder and install dependencies through pip:

cd comfy_pants
pip install -r requirements.txt