ComfyUI Node
Text Switch 2 Input With Text Output
Allows you to choose between 2 text inputs, or none, with text output. Labels can be customized. TIP: Double-click the node or right-click and select 'Compact mode' to hide configuration widgets.
Text Switch 2 Input With Text Output
- text
◄text_a—►
◄text_b—►
◄label_aText A►
◄label_bText B►
◄chooseNone►
CategoryAUN Nodes/Text
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| text_a | STRING | First text option. | |
| text_b | STRING | Second text option. | |
| label_a | STRING | Text A | Label used to select text_a. |
| label_b | STRING | Text B | Label used to select text_b. |
| choose | STRING | None | Which label to output. Set to label_a to output text_a, label_b to output text_b, otherwise outputs empty. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |