ComfyUI > Nodes > ComfyUI-Interactive > Interactive Selector (with parameters)

ComfyUI Node: Interactive Selector (with parameters)

Class Name

InteractiveSelectorWithParameters

Category
interactive
Author
lquesada (Account age: 4280days)
Extension
ComfyUI-Interactive
Latest Updated
2024-11-23
Github Stars
0.03K

How to Install ComfyUI-Interactive

Install this extension via the ComfyUI Manager by searching for ComfyUI-Interactive
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Interactive 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Interactive Selector (with parameters) Description

Facilitates interactive image and parameter selection in workflows for enhanced control and efficiency.

Interactive Selector (with parameters):

The InteractiveSelectorWithParameters node is designed to facilitate interactive selection processes within a workflow, allowing you to dynamically choose and manipulate images and associated parameters. This node is particularly useful in scenarios where decision-making is required based on visual inputs or specific parameter values. By integrating this node into your workflow, you can enhance the interactivity and flexibility of your image processing tasks, enabling more precise control over the selection and application of parameters. The node's primary goal is to streamline the selection process, ensuring that only the desired inputs are processed, thereby optimizing the workflow's efficiency and effectiveness.

Interactive Selector (with parameters) Input Parameters:

propagate_deselect

This parameter is a boolean that determines whether the deselection of items should be propagated throughout the workflow. When set to True, it ensures that any deselection action is recognized and applied across all relevant nodes, maintaining consistency in the selection state. The default value is True, and it can be toggled to False if you wish to isolate deselection actions to specific nodes.

selected

The selected parameter is a boolean that indicates whether a particular item or input is currently selected. This parameter is crucial for the node's operation, as it dictates which inputs are actively processed. The default value is False, meaning no item is selected by default. Setting this to True will activate the corresponding input for processing.

images

This optional parameter accepts image inputs that can be processed by the node. It allows you to provide visual data that the node can use for selection and parameter manipulation. The images can be in any format supported by the workflow, and this parameter is optional, meaning the node can function without it if necessary.

parameter_latent

An optional parameter that allows you to input latent data associated with the images. This can be used to carry additional information that might influence the selection process or subsequent operations. It is optional and can be left unspecified if not needed.

parameter_mask

This optional parameter accepts mask data, which can be used to define specific areas of interest within the images. Masks can help refine the selection process by focusing on particular regions, enhancing the node's ability to make precise selections.

parameter_string

An optional string parameter that can be used to input textual data or metadata associated with the images. This can be useful for tagging or categorizing images, providing additional context for the selection process.

parameter_int

This optional parameter allows you to input integer values that might be relevant to the selection process. These integers can represent various attributes or settings that influence how the node processes the inputs.

parameter_float

An optional parameter for inputting floating-point numbers, which can be used to provide more granular control over the selection process. These values can represent thresholds, weights, or other numerical factors that affect the node's operation.

prompt

A hidden parameter that carries prompt data, which can be used internally by the node to guide the selection process. This parameter is not directly accessible but plays a role in the node's internal logic.

extra_pnginfo

Another hidden parameter that contains additional PNG metadata, which can be used to store extra information about the images. This metadata can be leveraged by the node to enhance the selection process or to maintain consistency across different stages of the workflow.

Interactive Selector (with parameters) Output Parameters:

images

The images output parameter provides the selected images after processing. This output is crucial as it represents the visual data that has been chosen based on the selection criteria, ready for further processing or analysis.

parameter_latent

This output parameter returns the latent data associated with the selected images. It allows you to access any additional information that was processed alongside the images, which can be used in subsequent nodes or operations.

parameter_mask

The parameter_mask output provides the mask data corresponding to the selected images. This output is important for maintaining the integrity of the selection process, ensuring that any defined areas of interest are preserved and can be used in further processing.

parameter_string

This output returns the string data associated with the selected images. It provides access to any textual information or metadata that was processed, which can be useful for documentation or categorization purposes.

parameter_int

The parameter_int output provides the integer values associated with the selected images. These values can be used to influence subsequent operations or to maintain consistency in the workflow.

parameter_float

This output returns the floating-point numbers associated with the selected images. These values can be crucial for fine-tuning further processing steps or for maintaining precision in numerical operations.

Interactive Selector (with parameters) Usage Tips:

  • Ensure that only one input is selected at a time to avoid conflicts and ensure smooth processing.
  • Utilize the propagate_deselect parameter to maintain consistency across your workflow when deselecting items.
  • Leverage the optional parameters to provide additional context or data that can enhance the selection process.

Interactive Selector (with parameters) Common Errors and Solutions:

Too many inputs are active

  • Explanation: This error occurs when more than one input is selected simultaneously, which the node cannot process.
  • Solution: Ensure that only one input is marked as selected at any given time to prevent this error.

Interactive - Error obtaining current_prompt workflow. This may still work.

  • Explanation: This warning indicates that there was an issue retrieving the current prompt's workflow data, which might affect the node's operation.
  • Solution: Check the workflow configuration and ensure that all necessary data is correctly set up. If the issue persists, review the prompt and metadata settings for any inconsistencies.

Interactive Selector (with parameters) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Interactive
RunComfy

© Copyright 2024 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 Playground, enabling artists to harness the latest AI tools to create incredible art.