Nodes Browser

ComfyDeploy: How ComfyUI-KGnodes works in ComfyUI?

What is ComfyUI-KGnodes?

NODES:Custom Resolution Latent Node, Style Selector This Custom node offers various experimental nodes to make it easier to use 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-KGnodes and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

KGnodes

This Custom node offers various experimental nodes to make it easier to use ComfyUI.

image

Features

Custom Resolution Latent Node: <br> This node is specifically designed for use with SD 3.5 (of course, you can use it with other models like Flux). Users can select an aspect ratio and a target size of either 1MP or 2MP, and the node will then determine the optimal resolution for compatibility with SD3 models.

res

Style Selector: <br> This streamlined node leverages the A1111 Prompt Styler. While several nodes offer similar functionality, they typically require a find-and-replace node to parse the A1111 styles file. This node eliminates that requirement. Furthermore, it provides both positive and negative conditioning for enhanced control.<br> In this node, the CLIP input is optional. If you connect the input CLIP, you get conditioning (+/-), and if not, you get only the positive and negative stylized prompt text output.

style

Installation

Search for KGnodes in "Comfy Manager" or alternatively:

  1. Go to comfyUI custom_nodes folder, ComfyUI/custom_nodes/

  2. Clone the repository git clone https://github.com/shahkoorosh/ComfyUI-KGnodes.git

  3. Install the requirements pip install -r requirements.txt

  4. Restart ComfyUI.

The node resides under Add Node/🎨KG <br> <br> <br>

Acknowledgements

Thanks to twri for SDXL Prompt Styler Node, chibiace for Prompts Node and ControlAltAI for Flux Resolution Calc Node.