Convert your workflows into node and chain them.
This repository includes a set of custom nodes for ComfyUI that allow you to:
The idea came from the frustration users experienced with the many limitations and bugs in ComfyUIβs group nodes. While group nodes can seem useful for organizing nodes hierarchically, their actual use often leads to issues. Here are some of the major flaws I aimed to address:
By solving these problems, my tool makes node management more intuitive, stable, and efficient, allowing you to focus on what matters: creating.
2025.03.23 First of all, I apologize for not maintaining the code regularly. ComfyUI has evolved significantly since my last version, so I've completely revised the code to ensure better integration with ComfyUI and avoid future issues.
Features in this version:
Warning and know issue:
2024.11.01 Initial version features : 1 Convert your workflows into nodes
Windows:
Variant 1: In folder click panel current path and input cmd and press Enter on keyboard
Variant 2: Press on keyboard Windows+R, and enter cmd.exe open window cmd, enter cd /d your_path_to_custom_nodes, Enter on keyboard
git clone https://github.com/numz/Comfyui-FlowChain.git
After this command be created folder Comfyui-FlowChain
cd Comfyui-FlowChain
pip install -r requirements.txt
| | Name | Description | ComfyUI category | |:-------------------------------------------------:|:--------------------|:------------------------------------------------------------------------------------------------------------:|:----------------:| | <img src="docs/assets/workflow.png" width="100%"> | Workflow | Node that allows loading workflows. It will show Inputs and Outputs into the loaded Workflows | FlowChain βοΈ | | <img src="docs/assets/Input.png" width="100%"> | Workflow Input | Node used to declare the inputs of your workflows. | FlowChain βοΈ | | <img src="docs/assets/output.png" width="100%"> | Workflow Output | Node used to declare the outputs of your workflows. | FlowChain βοΈ | | <img src="docs/assets/Continue.png" width="100%"> | Workflow Continue | Node to stop/Continue the workflow process. | FlowChain βοΈ | | <img src="docs/assets/lipsync.png" width="100%"> | Workflow Lipsync | Extra Node to use LipSync Studio via API | FlowChain βοΈ |
Select a workflow from the workflows dropdown menu. This list displays all compatible workflows saved in your ComfyUI user directory:
ComfyUI\user\default\workflows
For a workflow to be considered compatible, it must contain at least one "Workflow Input" or "Workflow Output" node. This ensures the workflow can properly interface with the FlowChain system.
Note: After adding new workflows to this directory, you'll need to refresh the ComfyUI interface (press F5) to see them appear in the dropdown list. But once loaded, it will refresh the parent node automatically
Allow to declare inputs in your workflow.
Types available : "IMAGE", "MASK", "STRING", "INT", "FLOAT", "LATENT", "BOOLEAN", "CLIP", "CONDITIONING", "MODEL", "VAE"
Give a Name and select the type.
Default value is used when debugging your workflow or if you don't plug an input into the Workflow node.
Project will be automatically created into your Lipsync Studio projects folder. You can then load it into studio and work directly from studio if the output not good enough for you.
the "πͺ Switch" nodes from Crystools have a particular place in workflow Node
Let's illustrate this with an example:
Here we want to choose between video1 or video2. It depends on the boolean value in Switch Image Node. The issue here is that both videos will be loaded before Switch. To prevent both videos from being loaded, the "workflow node" will check the boolean value, remove the unused node, and directly connect the correct value to the preview image.
This gives you the ability to create truly conditional cases in your workflows, without computing irrelevant nodes.
Coming soon
We welcome contributions to this project. When submitting pull requests, please provide a detailed description of the changes. see CONTRIBUTING for more information.
this project is open-source effort that is free to use and modify. I rely on the support of users to keep this project going and help improve it. If you'd like to support me, you can make a donation on my buy me a coffe or Patreon page. Any contribution, large or small, is greatly appreciated!
Your support helps me cover the costs of development and maintenance, and allows me to allocate more time and resources to enhancing this project. Thank you for your support!