ComfyUI > Nodes > ComfyUI-CozyGen > CozyGen Dynamic Input

ComfyUI Node: CozyGen Dynamic Input

Class Name

CozyGenDynamicInput

Category
CozyGen
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 Dynamic Input Description

CozyGenDynamicInput enables adaptable input parameters for flexible AI art workflows.

CozyGen Dynamic Input:

The CozyGenDynamicInput node is a versatile component designed to provide dynamic input capabilities within the CozyGen framework. This node allows you to define parameters that can adapt to various data types, including strings, integers, floats, booleans, and dropdown selections. Its primary purpose is to offer flexibility in configuring inputs that can change based on user requirements or external conditions, making it an essential tool for creating adaptable and responsive AI art workflows. By leveraging this node, you can streamline the process of managing input parameters, ensuring that your creative projects can accommodate a wide range of scenarios and preferences. The node's dynamic nature is particularly beneficial for artists who need to experiment with different configurations without being constrained by static input definitions.

CozyGen Dynamic Input Input Parameters:

param_name

This parameter specifies the name of the dynamic parameter you are defining. It is a string value that serves as an identifier for the parameter, allowing you to easily reference it within your workflow. The default value is "Dynamic Parameter".

priority

The priority parameter is an integer that determines the order in which this input is processed relative to other inputs. A higher priority value means the input will be processed earlier. The default value is 10.

param_type

This parameter defines the data type of the dynamic input. It can be one of the following: STRING, INT, FLOAT, BOOLEAN, or DROPDOWN. The default type is STRING, allowing you to specify the kind of data the input will handle.

default_value

The default_value parameter sets the initial value for the dynamic input. It is a string by default, but its actual type should match the specified param_type. This value is used if no other input is provided.

add_randomize_toggle

This optional boolean parameter allows you to add a toggle for randomizing the input value. When set to true, it enables the possibility of generating random values for the input, providing an element of variability. The default is False.

choice_type

This optional string parameter is used to specify the type of choices available for dropdown inputs. It helps in defining the options that can be selected when the param_type is set to DROPDOWN. The default is an empty string.

display_bypass

This optional boolean parameter determines whether the input should be bypassed in the display. When set to true, the input will not be shown in the user interface, allowing for hidden configurations. The default is False.

choices

This hidden string parameter is used by JavaScript to define the available options for dropdown inputs. It is not directly visible to the user but is essential for configuring dropdown selections. The default is an empty string.

multiline

This hidden boolean parameter indicates whether string inputs should support multiline text. It is used by JavaScript to adjust the input field accordingly. The default is False.

min_value

This hidden float parameter sets the minimum allowable value for numeric inputs. It is used by JavaScript to enforce value constraints. The default is 0.0.

max_value

This hidden float parameter defines the maximum allowable value for numeric inputs. It is used by JavaScript to ensure that input values do not exceed this limit. The default is 1.0.

step

This hidden float parameter specifies the increment step for numeric inputs. It is used by JavaScript to determine the granularity of value changes. The default is 0.0.

CozyGen Dynamic Input Output Parameters:

ANY

The output of the CozyGenDynamicInput node is of type ANY, meaning it can return a value of any data type specified by the param_type. This flexibility allows the node to adapt its output to match the input configuration, providing a seamless integration into various workflows. The output value is determined by the dynamic input settings and can be used in subsequent nodes or processes within the CozyGen framework.

CozyGen Dynamic Input Usage Tips:

  • Utilize the param_type parameter to ensure that your dynamic input matches the expected data type for your workflow, allowing for seamless integration and processing.
  • Consider using the add_randomize_toggle option to introduce variability in your inputs, which can be particularly useful for generating diverse outputs in creative projects.

CozyGen Dynamic Input Common Errors and Solutions:

Invalid param_type

  • Explanation: The specified param_type is not one of the allowed types (STRING, INT, FLOAT, BOOLEAN, DROPDOWN).
  • Solution: Ensure that the param_type is set to one of the valid options to avoid type mismatch errors.

Value out of range

  • Explanation: The input value exceeds the specified min_value or max_value constraints.
  • Solution: Adjust the input value to fall within the defined range, or modify the min_value and max_value parameters to accommodate the desired input.

Missing default_value

  • Explanation: No default_value is provided, and the input is required for processing.
  • Solution: Specify a default_value that matches the param_type to ensure the node can function correctly without additional input.

CozyGen Dynamic 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 Dynamic Input