Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline selection and output of multiple multiline text inputs based on active input for AI artists.
The mulTextSwitch
node is designed to streamline the process of selecting and outputting one of multiple multiline text inputs based on a specified active input. This node is particularly useful for AI artists who need to dynamically switch between different text blocks without manually editing or reconfiguring their setup. By providing a simple mechanism to choose between up to three different text inputs, the mulTextSwitch
node enhances workflow efficiency and flexibility, allowing you to focus more on the creative aspects of your projects.
The active_input
parameter determines which of the provided text inputs will be selected and output by the node. It accepts an integer value with a minimum of 1 and a maximum of 3, with a default value of 1. This parameter is crucial as it directly influences which text input is chosen, thereby affecting the node's output. For example, setting active_input
to 2 will select the text provided in Input_2
.
The Input_1
parameter is an optional multiline text input. When active_input
is set to 1, the text provided in this parameter will be selected and output by the node. This parameter is useful for providing the first option of text content that can be dynamically switched to.
The Input_2
parameter is an optional multiline text input. When active_input
is set to 2, the text provided in this parameter will be selected and output by the node. This parameter serves as the second option for text content, allowing for greater flexibility in text selection.
The Input_3
parameter is an optional multiline text input. When active_input
is set to 3, the text provided in this parameter will be selected and output by the node. This parameter offers a third option for text content, further enhancing the node's versatility.
The Multiline Text
output parameter provides the selected text based on the active_input
parameter. This output is a string that contains the text from either Input_1
, Input_2
, or Input_3
, depending on the value of active_input
. This output is essential for downstream nodes or processes that require the dynamically selected text content.
active_input
parameter is set correctly to select the desired text input. This will prevent any confusion or errors in the output.Input_1
, Input_2
, and Input_3
to make it easier to identify and switch between different text blocks.active_input
values to verify that the correct text input is being selected and output.active_input
does not have a corresponding text input provided.active_input
is not empty. Provide the necessary text in Input_1
, Input_2
, or Input_3
based on the value of active_input
.© Copyright 2024 RunComfy. All Rights Reserved.