Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates conditional routing in AI art workflows by dynamically switching between pipeline inputs based on boolean condition.
The CR Pipe Input Switch JK node is designed to facilitate conditional routing within your AI art workflows. This node allows you to dynamically switch between two different pipeline inputs based on a boolean condition. By leveraging this node, you can create more flexible and adaptive workflows that respond to specific conditions or states, enhancing the overall efficiency and customization of your AI art generation process. The primary function of this node is to evaluate a boolean value and route the appropriate pipeline input accordingly, ensuring that the correct data flow is maintained based on the specified condition.
This parameter is a boolean input that determines which pipeline input will be selected. If set to True
, the node will route the pipe_true
input; if set to False
, it will route the pipe_false
input. The default value is False
.
This parameter represents the pipeline input that will be used when the boolean_value
is False
. It is a required input and must be connected to a valid pipeline.
This parameter represents the pipeline input that will be used when the boolean_value
is True
. It is a required input and must be connected to a valid pipeline.
This output represents the selected pipeline input based on the evaluation of the boolean_value
. It will output either the pipe_false
or pipe_true
input, depending on the boolean condition.
This output simply returns the evaluated boolean_value
, allowing you to track the condition that was used to determine the pipeline routing.
boolean_value
parameter to create conditional logic in your workflows, enabling dynamic switching between different pipeline inputs based on specific criteria.pipe_false
and pipe_true
inputs are connected to valid pipelines to avoid interruptions in data flow.pipe_false
input is not connected to a valid pipeline.pipe_false
input is properly connected to a valid pipeline.pipe_true
input is not connected to a valid pipeline.pipe_true
input is properly connected to a valid pipeline.boolean_value
is not a valid boolean.boolean_value
is set to either True
or False
.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.