Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates conditional image processing with dynamic switching between two inputs based on boolean condition for AI art workflows.
The Switch image [Crystools] node is designed to facilitate conditional image processing within your AI art workflows. This node allows you to dynamically switch between two different image inputs based on a boolean condition, enabling more flexible and adaptive image manipulation. By leveraging this node, you can create more complex and responsive image processing pipelines that adjust their behavior based on specific conditions or criteria. This can be particularly useful in scenarios where you need to apply different image transformations or effects depending on certain conditions, thereby enhancing the versatility and efficiency of your creative process.
This parameter accepts an image input that will be used if the boolean condition is evaluated to true. The image provided here will be the output when the condition is met. This allows you to define the image that should be processed or displayed when the specified condition is satisfied.
This parameter accepts an image input that will be used if the boolean condition is evaluated to false. The image provided here will be the output when the condition is not met. This allows you to define an alternative image that should be processed or displayed when the specified condition is not satisfied.
This parameter is a boolean value that determines which image input (on_true or on_false) will be selected. If the boolean value is true, the on_true image will be chosen; if false, the on_false image will be chosen. The default value for this parameter is true, meaning the on_true image will be selected unless specified otherwise.
The output parameter is an image that results from the evaluation of the boolean condition. Depending on whether the boolean condition is true or false, the output will be either the on_true or on_false image. This output is crucial for further processing or display in your AI art workflow, as it represents the dynamically selected image based on the specified condition.
<image_path>
<type>
© Copyright 2024 RunComfy. All Rights Reserved.