Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-xiaozhuguang > 小珠光编号切换

ComfyUI Node: 小珠光编号切换

Class Name

XiaozhuguangNumberSwitch

Category
xiaozhuguang
Author
xiaozhuguang (Account age: 36days)
Extension
ComfyUI-xiaozhuguang
Latest Updated
2026-08-05
Github Stars
0.04K

How to Install ComfyUI-xiaozhuguang

Install this extension via the ComfyUI Manager by searching for ComfyUI-xiaozhuguang
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-xiaozhuguang in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

小珠光编号切换 Description

Facilitates seamless switching between multiple data inputs based on selectable index for flexible data management.

小珠光编号切换:

The XiaozhuguangNumberSwitch node is designed to facilitate seamless switching between multiple data inputs of any type, based on a selectable index. This node is particularly useful when you need to dynamically choose between different data streams or values, allowing for flexible and efficient data management within your workflow. By providing a selector that ranges from 0 to 49, the node enables you to specify which input value should be outputted, making it a versatile tool for scenarios where conditional data routing is required. Its primary goal is to enhance the adaptability of your data processing pipeline by offering a straightforward mechanism to toggle between various inputs without the need for complex logic or additional nodes.

小珠光编号切换 Input Parameters:

select

The select parameter is an integer input that determines which of the available input values will be outputted by the node. It acts as an index, ranging from 0 to 49, corresponding to the potential input values labeled value0 to value49. The default value is 0, meaning that if no other selection is made, the node will output the data from value0. This parameter is crucial as it directly influences the node's output by selecting the specific input value to be passed through. The select parameter is designed to be user-friendly, with a step size of 1, ensuring precise control over the selection process.

value0, value1, ..., value49

These parameters represent the optional input values that the node can switch between. Each value parameter can accept any data type, providing flexibility in the types of data you can manage. While these inputs are optional, they form the pool of data from which the node will select based on the select parameter. The ability to handle multiple data types makes this node adaptable to various use cases, whether you're dealing with numbers, strings, or more complex data structures.

小珠光编号切换 Output Parameters:

output

The output parameter is the result of the node's switching operation. It outputs the data from the selected input value, as determined by the select parameter. This output can be of any data type, reflecting the versatility of the node in handling diverse data inputs. The output parameter is essential for integrating the node's functionality into larger workflows, as it provides the dynamically selected data for further processing or analysis.

小珠光编号切换 Usage Tips:

  • Ensure that the select parameter is set correctly to match the index of the desired input value. This will ensure that the correct data is outputted by the node.
  • Utilize the node's ability to handle any data type by feeding it a diverse range of inputs, allowing for complex data routing and manipulation within your workflow.

小珠光编号切换 Common Errors and Solutions:

Invalid select value

  • Explanation: If the select parameter is set to a value outside the range of 0 to 49, the node may not function as expected.
  • Solution: Ensure that the select parameter is always within the valid range to avoid unexpected behavior.

Missing input value

  • Explanation: If the selected input value is not provided, the node may output None or an unexpected result.
  • Solution: Verify that all potential input values are correctly set and available for selection to ensure the node outputs the desired data.

小珠光编号切换 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-xiaozhuguang
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

小珠光编号切换