ComfyUI Node
Text Switch (GeN13)
Type text directly into the boxes and output the selected one. Chain any number of nodes side by side: numbering continues from the previous node, and the first node controls the chain.
Text Switch (GeN13)
- chain
- chain
- STRING
- #01
- #02
- #03
- #04
- #05
- #06
- #07
- #08
- #09
- #10
- #11
- #12
- #13
- #14
- #15
- #16
- #17
- #18
- #19
- #20
- #21
- #22
- #23
- #24
- #25
◄count2►
◄select#01►
◄text_01►
◄text_02►
◄text_03►
◄text_04►
◄text_05►
◄text_06►
◄text_07►
◄text_08►
◄text_09►
◄text_10►
◄text_11►
◄text_12►
◄text_13►
◄text_14►
◄text_15►
◄text_16►
◄text_17►
◄text_18►
◄text_19►
◄text_20►
◄text_21►
◄text_22►
◄text_23►
◄text_24►
◄text_25►
◄select_num—►
CategoryGeN13/text
Inputs (29)
| Name | Type | Default | Description |
|---|---|---|---|
| count | INT | 21–25 | Box count: number of text boxes shown; the rest are hidden. |
| select | COMBO | #01 | Select: the box to output. In a chain, the first node controls it, and numbering continues from the previous node's last box. |
| text_01 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_02 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_03 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_04 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_05 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_06 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_07 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_08 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_09 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_10 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_11 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_12 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_13 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_14 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_15 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_16 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_17 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_18 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_19 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_20 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_21 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_22 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_23 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_24 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| text_25 | STRING | Text: type here or connect an upstream string. A connected upstream runs only when this box is selected. | |
| chainopt | G13_SWITCH | Chain: connect the chain output of the previous Text Switch; numbering continues from its last box. | |
| select_numopt | INT | 1–9999 | Select input: an INT, such as from Counter or Trigger, sets the box number directly, starting at 1; overrides select. |
Outputs (27)
| Name | Type | Description |
|---|---|---|
| chain | G13_SWITCH | Chain: connect to the chain input of the next Text Switch. |
| STRING | STRING | Text: the selected box; empty when the selected box is in a later node of the chain. |
| #01 | STRING | Text: this box's content, regardless of select. |
| #02 | STRING | Text: this box's content, regardless of select. |
| #03 | STRING | Text: this box's content, regardless of select. |
| #04 | STRING | Text: this box's content, regardless of select. |
| #05 | STRING | Text: this box's content, regardless of select. |
| #06 | STRING | Text: this box's content, regardless of select. |
| #07 | STRING | Text: this box's content, regardless of select. |
| #08 | STRING | Text: this box's content, regardless of select. |
| #09 | STRING | Text: this box's content, regardless of select. |
| #10 | STRING | Text: this box's content, regardless of select. |
| #11 | STRING | Text: this box's content, regardless of select. |
| #12 | STRING | Text: this box's content, regardless of select. |
| #13 | STRING | Text: this box's content, regardless of select. |
| #14 | STRING | Text: this box's content, regardless of select. |
| #15 | STRING | Text: this box's content, regardless of select. |
| #16 | STRING | Text: this box's content, regardless of select. |
| #17 | STRING | Text: this box's content, regardless of select. |
| #18 | STRING | Text: this box's content, regardless of select. |
| #19 | STRING | Text: this box's content, regardless of select. |
| #20 | STRING | Text: this box's content, regardless of select. |
| #21 | STRING | Text: this box's content, regardless of select. |
| #22 | STRING | Text: this box's content, regardless of select. |
| #23 | STRING | Text: this box's content, regardless of select. |
| #24 | STRING | Text: this box's content, regardless of select. |
| #25 | STRING | Text: this box's content, regardless of select. |