Nodes/AUN ComfyUI Nodes/Text Index Switch 3
ComfyUI Node

Text Index Switch 3

Select one of up to 20 text inputs based on an index. Use slot_count to add/remove slots. Also outputs the label of the selected input. Label behavior: • If a node is connected to the input: label = connected node's title • If no node is connected: label = first line of the text input (first line is removed from text output)

By loz2754·Created 7 months ago·Updated about a month ago· 4
Text Index Switch 3
    • text
    • label
    • index
    index1
    slot_count2
    text1Slot 1
    text2Slot 2
    text3Slot 3
    text4Slot 4
    text5Slot 5
    text6Slot 6
    text7Slot 7
    text8Slot 8
    text9Slot 9
    text10Slot 10
    text11Slot 11
    text12Slot 12
    text13Slot 13
    text14Slot 14
    text15Slot 15
    text16Slot 16
    text17Slot 17
    text18Slot 18
    text19Slot 19
    text20Slot 20
    CategoryAUN Nodes/Text

    Inputs (22)

    NameTypeDefaultDescription
    indexINT11–20Selects which text input to output.
    slot_countINT21–20Number of visible text slots
    text1STRINGSlot 1
    text2STRINGSlot 2
    text3STRINGSlot 3
    text4STRINGSlot 4
    text5STRINGSlot 5
    text6STRINGSlot 6
    text7STRINGSlot 7
    text8STRINGSlot 8
    text9STRINGSlot 9
    text10STRINGSlot 10
    text11STRINGSlot 11
    text12STRINGSlot 12
    text13STRINGSlot 13
    text14STRINGSlot 14
    text15STRINGSlot 15
    text16STRINGSlot 16
    text17STRINGSlot 17
    text18STRINGSlot 18
    text19STRINGSlot 19
    text20STRINGSlot 20

    Outputs (3)

    NameTypeDescription
    textSTRING
    labelSTRING
    indexINT