Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates conditional logic selection based on boolean value for adaptable AI art workflows.
The Switch conditioning [Crystools] node is designed to facilitate conditional logic within your AI art workflows by dynamically selecting between two conditioning inputs based on a boolean value. This node is particularly useful when you need to apply different conditioning settings depending on specific conditions or states in your project. By leveraging this node, you can streamline your workflow, making it more adaptable and responsive to varying inputs and scenarios. The primary goal of this node is to enhance flexibility and control over the conditioning process, ensuring that the appropriate conditioning is applied based on the given boolean condition.
This parameter represents the conditioning input that will be selected and used if the boolean condition is true. It is crucial for defining the conditioning settings that should be applied when the condition is met. The type of this parameter is CONDITIONING
.
This parameter represents the conditioning input that will be selected and used if the boolean condition is false. It is essential for defining the conditioning settings that should be applied when the condition is not met. The type of this parameter is CONDITIONING
.
This parameter is a boolean value that determines which conditioning input to use. If the value is true, the on_true
conditioning will be selected; if false, the on_false
conditioning will be selected. The default value is true, and it is of type BOOLEAN
.
This output parameter provides the selected conditioning based on the boolean value. If the boolean is true, the on_true
conditioning is returned; otherwise, the on_false
conditioning is returned. The type of this parameter is CONDITIONING
.
on_true
and on_false
inputs are properly configured to handle the respective conditioning scenarios, providing a seamless transition between different states.Invalid conditioning input
on_true
or on_false
are not valid or properly configured.on_true
and on_false
inputs are correctly set up and compatible with the expected CONDITIONING
type.Boolean value not provided
© Copyright 2024 RunComfy. All Rights Reserved.