Visit ComfyUI Online for ready-to-use ComfyUI environment
Dynamic selection between ControlNet inputs based on boolean condition for enhanced flexibility in AI art generation workflows.
The CR ControlNet Input Switch JK node is designed to dynamically select between two different ControlNet inputs based on a boolean condition. This node is particularly useful in scenarios where you need to switch between different ControlNet configurations or models depending on a specific condition or state within your AI art generation workflow. By providing a simple yet powerful mechanism to toggle between two ControlNet inputs, this node enhances flexibility and control over the creative process, allowing for more complex and conditional art generation setups.
The boolean_value
parameter is a boolean input that determines which ControlNet input will be selected. If set to True
, the node will output the control_net_true
input; if set to False
, it will output the control_net_false
input. This parameter allows for dynamic switching based on conditions within your workflow. The default value is False
.
The control_net_false
parameter is the ControlNet input that will be selected when the boolean_value
is set to False
. This input should be a valid ControlNet model or configuration that you want to use under the false condition.
The control_net_true
parameter is the ControlNet input that will be selected when the boolean_value
is set to True
. This input should be a valid ControlNet model or configuration that you want to use under the true condition.
The CONTROL_NET
output is the selected ControlNet input based on the boolean_value
parameter. It will be either the control_net_false
or control_net_true
input, depending on the boolean condition. This output allows for conditional ControlNet configurations to be used in subsequent nodes.
The BOOLEAN
output is the same as the boolean_value
input parameter. It is provided as an output to allow for further conditional logic or debugging within your workflow.
boolean_value
parameter to create dynamic and conditional workflows where different ControlNet models or configurations are needed based on specific conditions.control_net_false
and control_net_true
inputs are valid and properly configured ControlNet models to avoid unexpected results.control_net_false
or control_net_true
) is not a valid ControlNet model or configuration.control_net_false
and control_net_true
inputs are correctly set to valid ControlNet models or configurations.boolean_value
parameter is not set, causing the node to fail in determining which ControlNet input to select.boolean_value
parameter is properly set to either True
or False
.control_net_false
and control_net_true
inputs are provided and correctly connected to valid ControlNet models.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.