Nodes/AUN ComfyUI Nodes/AUN Any Index Switch
ComfyUI Node

AUN Any Index Switch

Switch between up to 20 inputs of any type based on index number. Useful for dynamic routing of models, latents, images, or any other type. The label output can show the connected node's title or the connected output slot's label.

By loz2754·Created 7 months ago·Updated about a month ago· 4
AUN Any Index Switch
  • value1
  • value2
  • value3
  • value4
  • value5
  • value6
  • value7
  • value8
  • value9
  • value10
  • value11
  • value12
  • value13
  • value14
  • value15
  • value16
  • value17
  • value18
  • value19
  • value20
  • output
  • label
index1
visible_inputs20
label_modeNode Title
CategoryAUN Nodes/Utility

Inputs (23)

NameTypeDefaultDescription
indexINT11–20Index number (1-20) to select which input to output. Values above the visible count are clamped.
visible_inputsINT202–20How many input sockets to display on the node (2-20).
label_modeCOMBONode TitleChoose label source: 'Node Title' shows the connected node's title, 'Slot Label' shows the connected output slot's label.
value1opt*Input 1 (any type). Only the selected index is output.
value2opt*Input 2 (any type). Only the selected index is output.
value3opt*Input 3 (any type). Only the selected index is output.
value4opt*Input 4 (any type). Only the selected index is output.
value5opt*Input 5 (any type). Only the selected index is output.
value6opt*Input 6 (any type). Only the selected index is output.
value7opt*Input 7 (any type). Only the selected index is output.
value8opt*Input 8 (any type). Only the selected index is output.
value9opt*Input 9 (any type). Only the selected index is output.
value10opt*Input 10 (any type). Only the selected index is output.
value11opt*Input 11 (any type). Only the selected index is output.
value12opt*Input 12 (any type). Only the selected index is output.
value13opt*Input 13 (any type). Only the selected index is output.
value14opt*Input 14 (any type). Only the selected index is output.
value15opt*Input 15 (any type). Only the selected index is output.
value16opt*Input 16 (any type). Only the selected index is output.
value17opt*Input 17 (any type). Only the selected index is output.
value18opt*Input 18 (any type). Only the selected index is output.
value19opt*Input 19 (any type). Only the selected index is output.
value20opt*Input 20 (any type). Only the selected index is output.

Outputs (2)

NameTypeDescription
output*
labelSTRING