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
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-KGnodes
and select it - 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.
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.
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.
Installation
Search for KGnodes
in "Comfy Manager" or alternatively:
-
Go to comfyUI custom_nodes folder,
ComfyUI/custom_nodes/
-
Clone the repository
git clone https://github.com/shahkoorosh/ComfyUI-KGnodes.git
-
Install the requirements
pip install -r requirements.txt
-
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.