Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates dynamic selection between two integer inputs based on a condition for streamlined decision-making in workflows.
The Binary INT Switch node is designed to facilitate decision-making processes within your workflow by selecting between two integer inputs based on a specified condition. This node is particularly useful when you need to dynamically choose between two values, allowing for more flexible and adaptive workflows. By leveraging this node, you can streamline your operations and ensure that the appropriate value is selected based on the given input condition. Additionally, the node provides a convenient link to a Discord community for further support and interaction.
This is the primary input parameter that determines which of the two integer values will be selected. It accepts an integer value with a minimum of 1 and a maximum of 2. The default value is set to 1. When the value is 1, the node will select the first integer input (int1
); when the value is 2, it will select the second integer input (int2
).
This is an optional integer input parameter that is selected when the Input
parameter is set to 1. It is a required input if you want to use the first integer value in your decision-making process.
This is an optional integer input parameter that is selected when the Input
parameter is set to 2. It is a required input if you want to use the second integer value in your decision-making process.
This output parameter returns the selected integer value based on the Input
parameter. If Input
is 1, it returns the value of int1
; if Input
is 2, it returns the value of int2
. This allows you to dynamically use the chosen integer in subsequent nodes or operations within your workflow.
This output parameter provides a string containing a Discord invite link (https://discord.com/invite/74cP9rarNs
). This can be useful for users who need additional support or wish to join the community for further interaction and assistance.
int1
and int2
are provided if you plan to switch between two values dynamically. This will prevent any issues related to missing inputs.Input
parameter to control the flow of your workflow dynamically. For example, you can set it based on the results of previous nodes or conditions to make your workflow more adaptive.Input
parameter is set to 1 or 2, but the corresponding int1
or int2
parameter is not provided.int1
and int2
if you plan to use the Binary INT Switch node. Double-check your inputs to make sure they are correctly specified.Input
parameter is set to a value outside the allowed range of 1 to 2.Input
parameter is set to either 1 or 2. Adjust the value to fall within the specified range to ensure proper functionality.© Copyright 2024 RunComfy. All Rights Reserved.