Visit ComfyUI Online for ready-to-use ComfyUI environment
KJNodes for ComfyUI enhances usability with various quality-of-life nodes, primarily focusing on visual improvements.
ComfyUI-KJNodes is an extension designed to enhance the functionality and usability of ComfyUI, a user interface for AI-based applications. This extension provides a variety of nodes and scripts that improve the quality of life for users, particularly in the areas of masking and combining functionalities of existing nodes. By integrating these nodes, AI artists can streamline their workflows, reduce repetitive tasks, and achieve more complex operations with ease.
ComfyUI-KJNodes works by adding new nodes and scripts to the ComfyUI environment. These nodes are designed to perform specific tasks, such as setting and getting constants, converting colors to masks, and combining conditions. Each node has a specific function and can be connected to other nodes to create a workflow that suits your needs. The extension simplifies complex operations by breaking them down into smaller, manageable tasks that can be easily configured and combined.
For example, if you need to create a mask from an RGB color value, you can use the ColorToMask node. This node takes an RGB value as input and outputs a mask that can be used in further processing. Similarly, the ConditioningMultiCombine node allows you to combine multiple conditions into a single node, saving space and reducing the complexity of your workflow.
These nodes allow you to set and get constants, reducing unnecessary lines in your workflow. They are purely visual and can take in and return any type of data. You can visualize the paths and jump to the corresponding node on the other end through the right-click menu.
Known limitations:
This node converts an RGB color value to a mask. It works with batches and AnimateDiff, making it versatile for various applications.
This node allows you to combine any number of conditions into a single node, saving space and simplifying your workflow.
This node lets you mask and combine two sets of conditions, further reducing the complexity of your workflow.
This node grows or shrinks a mask (with negative values) and has an option to invert the input. It returns both the mask and the inverted mask. Additionally, it can blur the mask, although this operation can be slow, especially with large batches.
This node creates a round mask. Here is an example image: image
This node outputs the value of a widget on any node as a string. To use it, you need to enable node ID display from the Manager menu to get the ID of the node you want to read a widget from. Here are some example images to guide you: example of use enable node id display use node id and widget name
Recreating or reloading the target node will change its ID, and the WidgetToString node will no longer be able to find it until you update the node ID value with the new ID.
Q: How do I enable the node ID display? A: Go to the Manager menu and enable the node ID display option.
Q: Why is my Set/Get node not working? A: Ensure it is not connected to a dynamically setting output node or a bypassed node.
For additional resources, tutorials, and community support, you can visit the following links:
© Copyright 2024 RunComfy. All Rights Reserved.