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

XiaozhuguangSelector

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 label selection with integer output for mapping string labels to numerical values.

小珠光选择器:

The XiaozhuguangSelector node, also known as the "小珠光选择器," is designed to facilitate the selection of labels through a user-friendly interface. By clicking a button, you can choose a label, and the node will output the corresponding integer value. This functionality is particularly useful in scenarios where you need to map string labels to numerical values for further processing or decision-making within your workflow. The node simplifies the process of converting user inputs into actionable data, making it an essential tool for artists and developers who require a seamless way to handle label selections in their projects.

小珠光选择器 Input Parameters:

label

The label parameter is a string input that represents the label you wish to select. It is the primary input for the node, and its value is expected to be convertible to an integer. The function of this parameter is to allow you to specify which label you want to select, and it directly impacts the output of the node by determining the integer value that will be returned. The default value for this parameter is "0", and it should be a valid string representation of an integer to avoid errors.

_xz_settings

The _xz_settings parameter is a string input that allows for additional configuration settings in a multiline format. While it does not directly affect the primary function of selecting a label, it provides a way to customize the node's behavior or appearance. This parameter is optional and can be left empty if no additional settings are required. The default value is an empty string.

小珠光选择器 Output Parameters:

value

The value output parameter is an integer that represents the numerical equivalent of the selected label. This output is crucial as it translates the user's label selection into a format that can be used for further processing or decision-making in your workflow. The integer value is derived from the label input, and if the input is not a valid integer, the node will default to outputting 0. This ensures that the node always provides a consistent and usable output, even in cases of invalid input.

小珠光选择器 Usage Tips:

  • Ensure that the label input is a valid string representation of an integer to avoid unexpected outputs or errors.
  • Utilize the _xz_settings parameter to customize the node's behavior if needed, but remember that it is optional and can be left empty for standard operations.
  • Use this node in workflows where you need to map user-friendly labels to numerical values for further processing or analysis.

小珠光选择器 Common Errors and Solutions:

Invalid label input

  • Explanation: This error occurs when the label input is not a valid string representation of an integer.
  • Solution: Ensure that the label input is a string that can be converted to an integer. If necessary, validate the input before passing it to the node.

Unexpected output value

  • Explanation: The node outputs 0 when the label input is invalid or cannot be converted to an integer.
  • Solution: Double-check the label input to ensure it is correctly formatted and represents a valid integer. Adjust the input as needed to achieve the desired output.

小珠光选择器 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.

小珠光选择器