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 > dspy_nodes > DynamicOptionsNode

ComfyUI Node: DynamicOptionsNode

Class Name

DynamicOptionsNode

Category
custom
Author
tom-doerr (Account age: 3545days)
Extension
dspy_nodes
Latest Updated
2026-07-10
Github Stars
0.2K

How to Install dspy_nodes

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

DynamicOptionsNode Description

DynamicOptionsNode generates context-based option lists for dynamic, responsive interfaces.

DynamicOptionsNode:

The DynamicOptionsNode is a versatile component designed to dynamically generate a list of options based on a selected category. This node is particularly useful in scenarios where you need to present a user with a set of choices that vary depending on a specific context or category. By leveraging this node, you can streamline workflows that require conditional logic to determine available options, enhancing the flexibility and interactivity of your AI-driven applications. The node's primary function is to process input categories and return a corresponding list of options, making it an essential tool for creating dynamic and responsive user interfaces.

DynamicOptionsNode Input Parameters:

category

The category parameter is a crucial input that determines the set of options the node will generate. It accepts a predefined list of categories, namely "fruits," "colors," and "animals." Depending on the selected category, the node will return a corresponding list of options. For example, choosing "fruits" will yield options like "apple," "banana," and "orange." This parameter allows you to tailor the node's output to specific contexts, making it adaptable to various scenarios. There are no minimum or maximum values, but the available options are limited to the predefined categories.

selection2

The selection2 parameter is an additional input that currently accepts a single option, "abc." While its specific function is not detailed in the context, it may serve as a placeholder for future enhancements or additional logic within the node. This parameter does not impact the current execution of the node significantly, but it is essential to include it as part of the input configuration. Like the category parameter, there are no minimum or maximum values, and the available option is limited to "abc."

DynamicOptionsNode Output Parameters:

STRING

The output parameter of the DynamicOptionsNode is a list of strings corresponding to the options generated based on the selected category. This output is crucial as it provides the dynamically generated options that can be used in subsequent processes or presented to users for selection. The list of strings is directly influenced by the input category parameter, ensuring that the output is contextually relevant and tailored to the user's needs. This dynamic generation of options enhances the node's utility in creating interactive and adaptable workflows.

DynamicOptionsNode Usage Tips:

  • Ensure that the category parameter is set correctly to generate the desired list of options. This will help in tailoring the node's output to your specific needs.
  • Consider using the DynamicOptionsNode in conjunction with other nodes that require dynamic input options, as this can enhance the interactivity and flexibility of your application.

DynamicOptionsNode Common Errors and Solutions:

Invalid category selection

  • Explanation: This error occurs when a category outside the predefined list ("fruits," "colors," "animals") is selected.
  • Solution: Ensure that the category parameter is set to one of the valid options to avoid this error.

Empty options list

  • Explanation: This issue arises when the node returns an empty list, possibly due to an incorrect category input.
  • Solution: Double-check the category parameter to ensure it matches one of the predefined categories, ensuring the node can generate the appropriate options.

DynamicOptionsNode Related Nodes

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

DynamicOptionsNode