ComfyUI > Nodes > ComfyUI-CozyGen > CozyGen Choice Input

ComfyUI Node: CozyGen Choice Input

Class Name

CozyGenChoiceInput

Category
CozyGen/Static
Author
GsusGG (Account age: 1268days)
Extension
ComfyUI-CozyGen
Latest Updated
2025-10-17
Github Stars
0.02K

How to Install ComfyUI-CozyGen

Install this extension via the ComfyUI Manager by searching for ComfyUI-CozyGen
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-CozyGen 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

CozyGen Choice Input Description

CozyGenChoiceInput enables dynamic selection from predefined options in AI art generation.

CozyGen Choice Input:

The CozyGenChoiceInput node is designed to provide a flexible and dynamic way to select from a list of predefined choices within the CozyGen framework. This node is particularly useful when you need to incorporate a selection mechanism into your AI art generation process, allowing you to choose from various options such as samplers, schedulers, or other model-related choices. By offering a dropdown menu populated with available options, the node simplifies the process of making selections, ensuring that you can easily configure your workflow without needing to manually input or remember specific values. This enhances the user experience by providing a streamlined and intuitive interface for making selections, ultimately contributing to a more efficient and effective creative process.

CozyGen Choice Input Input Parameters:

param_name

This parameter specifies the name of the parameter you are configuring. It is a string value with a default of "Choice Parameter". This name is used to identify the parameter within the node graph and can be customized to better reflect its purpose in your specific workflow.

priority

The priority parameter is an integer that determines the order in which parameters are processed. It has a default value of 10. Higher priority values mean the parameter will be processed earlier, which can be important when the order of operations affects the outcome of your workflow.

choice_type

This parameter defines the type of choices available in the dropdown menu. It includes options such as "sampler", "scheduler", and dynamically retrieved model folder names. The choice type determines the set of options that will populate the dropdown, allowing you to select from relevant categories.

default_choice

The default_choice parameter provides a list of all possible choices, including a "None" option for safety. This list is dynamically generated based on the choice_type and includes options like samplers and schedulers. The default choice is used when no specific value is provided from the frontend UI.

display_bypass

This boolean parameter, with a default value of False, determines whether the display of the choice input can be bypassed. When set to True, it allows the node to skip displaying the choice input in certain conditions, which can be useful for simplifying the UI in complex workflows.

value

The value parameter is a hidden string that represents the selected choice from the frontend UI. It defaults to an empty string and is used to store the user's selection, which is then utilized during the node's execution to determine the final output.

CozyGen Choice Input Output Parameters:

ANY

The output of the CozyGenChoiceInput node is of type ANY, meaning it can return any type of value based on the selected choice. The output is the final value determined by the node, which could be a specific sampler, scheduler, or another model-related option. This flexibility allows the node to integrate seamlessly into various parts of your workflow, providing the necessary input for subsequent nodes.

CozyGen Choice Input Usage Tips:

  • Ensure that the choice_type parameter is set correctly to populate the dropdown with relevant options, as this will directly impact the choices available to you.
  • Utilize the default_choice parameter to set a sensible default that aligns with your typical workflow, reducing the need for manual selection each time.

CozyGen Choice Input Common Errors and Solutions:

KeyError

  • Explanation: This error occurs when the specified choice_type does not have a corresponding folder or set of options available.
  • Solution: Verify that the choice_type is correctly specified and corresponds to an existing category or folder. Ensure that the necessary resources are available in the expected locations.

ValueError

  • Explanation: This error might occur if the value parameter is set to an invalid option that is not present in the default_choice list.
  • Solution: Check that the value parameter is correctly set to one of the available options in the dropdown. If using a custom value, ensure it matches one of the predefined choices.

CozyGen Choice Input Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CozyGen
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.

CozyGen Choice Input