choice to a Branch node whose inputs carry the option names, or use option_index to switch on the position of the chosen option. A Branch node takes at most 32 inputs, so a list with more options than that can only be routed by option_index. This is an API node: it runs on Comfy’s servers and needs a Comfy.org account with credits.
Inputs
Notes:
- Connect text or at least one image; the node raises an error when both are empty.
- The node raises an error when fewer than 2 or more than 50 options are given, when an option is longer than 40 characters, or when two options are the same ignoring case.
option_indexcounts from 0, so the first option in the list has index 0.- Billing is token-based; the price badge on the node shows the approximate rate per 1M tokens.
Outputs
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
b1cd36d600f5c07935c455d9e926e6c0a53f172fcc1a6f602c8d4dc70eeffabe