Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile gatekeeper node for AI art generation pipeline, controls data flow based on conditions, streamlines workflows.
FloodGate is a versatile node designed to control the flow of data within your AI art generation pipeline. Its primary function is to act as a gatekeeper, allowing or blocking the passage of data based on a specified condition. This node is particularly useful for managing complex workflows where certain operations need to be conditionally executed. By using FloodGate, you can streamline your processes, ensuring that only the necessary data flows through at the right times, thereby optimizing performance and resource utilization. The node's ability to handle various data types and its straightforward boolean control mechanism make it an essential tool for AI artists looking to add conditional logic to their workflows.
The source
parameter is a generic input that accepts any type of data. This is the data that will be conditionally passed through the FloodGate. The flexibility of this parameter allows it to handle various data types, making the node highly adaptable to different scenarios. There are no specific minimum or maximum values for this parameter, as it is designed to be universally compatible.
The gate_open
parameter is a boolean input that determines whether the gate is open or closed. When set to True
, the gate allows the data from the source
parameter to pass through. When set to False
, the gate blocks the data, preventing it from moving forward in the pipeline. The default value for this parameter is False
, ensuring that the gate is initially closed. This parameter is crucial for controlling the flow of data based on specific conditions in your workflow.
The CLOSE
output is one of the two possible outputs of the FloodGate node. When the gate is closed (gate_open
is False
), this output will be active. It essentially represents the blocked state of the data, ensuring that no data passes through the gate. This output can be used to trigger alternative actions or handle scenarios where the data flow needs to be halted.
The OPEN
output is the second possible output of the FloodGate node. When the gate is open (gate_open
is True
), this output will be active, allowing the data from the source
parameter to pass through. This output is crucial for continuing the data flow in your pipeline, enabling subsequent nodes to process the data as intended.
gate_open
parameter to dynamically control the flow of data based on conditions in your workflow. This can help optimize performance by only processing necessary data.source
parameter does not match the expected type for the connected nodes.source
parameter is compatible with the connected nodes. Check the data types and make necessary adjustments to match the expected input types.gate_open
parameter is not a boolean value or cannot be interpreted as one.gate_open
parameter is set to a boolean value (True
or False
). If using a dynamic input, ensure it resolves to a boolean value before being passed to the FloodGate node.© Copyright 2024 RunComfy. All Rights Reserved.