

Comfyui Sub Nodes
Overview :
ComfyUI-Sub-Nodes is an open-source project on GitHub designed to provide sub-graph node functionality for ComfyUI. It allows users to create and utilize sub-graphs within ComfyUI, enhancing workflow organization and reusability. This plugin is particularly beneficial for developers who need to manage complex workflows within their UI.
Target Users :
This plugin is targeted towards developers who use ComfyUI for workflow development, especially those who need to manage complex logic and data flow within their UI. It helps them organize code more effectively, boosting development efficiency and maintainability.
Use Cases
Developer A used ComfyUI-Sub-Nodes to create a data processing sub-graph within their UI, improving data processing efficiency.
Developer B utilized this plugin to implement a complex image processing workflow within their UI, simplifying the code structure.
Developer C reused multiple workflow modules in their UI through the sub-graph functionality, reducing code duplication.
Features
Create sub-graph workflows, defining inputs and outputs using VIV_Subgraph_Inputs and VIV_Subgraph_Outputs.
Create a folder named 'subnodes' in the root directory of the ComfyUI installation directory to store sub-graph workflows.
Call sub-graphs using the VIV_Subgraph node, automatically populating inputs/outputs, supporting progress bars and preview displays.
Support for passing any object between sub-graphs.
Sub-graph nodes add additional keys to support sub-graph execution, enhancing workflow flexibility.
Support for exporting workflows in API format, though some information might be lost.
Intuitive and straightforward creation and calling of sub-graphs, making it easy to get started.
How to Use
1. Locate the ComfyUI-Sub-Nodes project on GitHub and download it.
2. Read the project's README.md file to understand how to install and configure the plugin.
3. Create sub-graph workflows and define inputs/outputs using VIV_Subgraph_Inputs and VIV_Subgraph_Outputs.
4. Create a subnodes folder in the ComfyUI installation directory and save the sub-graph workflows there.
5. Call the sub-graph in the main workflow using the VIV_Subgraph node.
6. Adjust the sub-graph's inputs/outputs as needed to ensure correct data transmission.
7. Test the sub-graph functionality to ensure it works as intended.
8. Fine-tune and optimize the sub-graph as needed to improve workflow efficiency and maintainability.
Featured AI Tools
Chinese Picks

Capcut Dreamina
CapCut Dreamina is an AIGC tool under Douyin. Users can generate creative images based on text content, supporting image resizing, aspect ratio adjustment, and template type selection. It will be used for content creation in Douyin's text or short videos in the future to enrich Douyin's AI creation content library.
AI image generation
9.0M

Outfit Anyone
Outfit Anyone is an ultra-high quality virtual try-on product that allows users to try different fashion styles without physically trying on clothes. Using a two-stream conditional diffusion model, Outfit Anyone can flexibly handle clothing deformation, generating more realistic results. It boasts extensibility, allowing adjustments for poses and body shapes, making it suitable for images ranging from anime characters to real people. Outfit Anyone's performance across various scenarios highlights its practicality and readiness for real-world applications.
AI image generation
5.3M