Visit ComfyUI Online for ready-to-use ComfyUI environment
Floodgate is a ComfyUI extension node enabling dynamic switching between execution flows. It enhances workflow flexibility by allowing conditional branching, optimizing process control within the user interface.
Welcome to comfyui-floodgate, an extension for ComfyUI designed to simplify and enhance your workflow management. ComfyUI is a powerful and modular diffusion model GUI and backend that allows you to create complex workflows using a graph/nodes/flowchart-based interface. comfyui-floodgate extends this functionality by providing an easy way to control the logic flow within your workflows.
comfyui-floodgate allows you to toggle between different logic paths in your workflow without the need to manually connect and disconnect multiple nodes. This can be particularly useful when working with high-resolution fixes or similar workflows that require significant processing time. By using comfyui-floodgate, you can streamline your workflow, save time, and focus more on your creative process.
Imagine you have a workflow with multiple paths, and you need to switch between them based on certain conditions. Normally, you would have to manually connect and disconnect nodes to change the path, which can be tedious and error-prone. comfyui-floodgate solves this problem by introducing a "gate" that you can open or close to control which path is taken.
LATENT
) to the source
of the Floodgate node.gate_open
to toggle between the paths. The path not chosen will not be executed.
Since ComfyUI caches intermediate results, opening the Floodgate will not require the preceding nodes to be processed again, making the process efficient and quick.You can connect any types of nodes, as long as the input and output types match. This flexibility allows you to create highly customized workflows tailored to your specific needs.
You can use multiple Floodgates within a single workflow, each controlling different parts of the logic flow. This enables you to create complex, multi-path workflows with ease.
Each Floodgate can be controlled individually, allowing you to toggle different parts of your workflow independently. This granular control helps you manage complex workflows more effectively.
Suppose you have a workflow for image processing that includes a high-resolution fix. You can use a Floodgate to toggle between the base resolution and the high-resolution path. This way, you can quickly switch to the high-resolution path once you are satisfied with the base resolution output.
Currently, comfyui-floodgate does not include different models. It is a utility extension designed to enhance the functionality of your existing ComfyUI workflows.
gate_open
is determined before you press Queue Prompt
. The logic flow is parsed during the queuing stage, not the execution stage.gate_open
value.For more information, tutorials, and community support, you can visit the following resources:
© Copyright 2024 RunComfy. All Rights Reserved.