ComfyUI > Nodes > ComfyUI-Interactive > Interactive Selector

ComfyUI Node: Interactive Selector

Class Name

InteractiveSelector

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 Description

Facilitates interactive workflows by dynamically selecting inputs for decision-making and user interaction, streamlining conditional logic processes.

Interactive Selector:

The InteractiveSelector node is designed to facilitate interactive workflows by allowing you to select specific inputs dynamically during execution. This node is particularly useful in scenarios where you need to make decisions based on user input or other conditions, enabling a more flexible and responsive process. By leveraging this node, you can streamline workflows that require conditional logic or user interaction, enhancing the overall efficiency and adaptability of your projects. The InteractiveSelector is part of a suite of interactive nodes that aim to provide a more engaging and intuitive experience when working with complex data flows.

Interactive Selector Input Parameters:

propagate_deselect

This parameter is a boolean that determines whether the deselection of inputs should be propagated throughout the workflow. When set to True, it ensures that any deselection action is recognized and processed, potentially affecting subsequent nodes. The default value is True, which is generally recommended to maintain consistency in interactive workflows.

selected

This boolean parameter indicates whether a particular input is selected. It plays a crucial role in the node's execution, as it determines which input is active and should be processed. The default value is False, meaning no input is selected initially. This parameter must remain in position 1 due to its significance in the node's logic.

images

This optional parameter allows you to provide image data as input. It is used when the node needs to process or manipulate images based on the selection criteria. The parameter does not have a default value, as it is optional and only required when image processing is necessary.

prompt

This hidden parameter is used internally to store prompt data. It is not intended for direct manipulation by users but is essential for the node's internal operations.

extra_pnginfo

Another hidden parameter, extra_pnginfo, is used to store additional metadata related to PNG images. Like prompt, it is crucial for the node's internal processes but not meant for user interaction.

Interactive Selector Output Parameters:

images

This output parameter returns the selected image data, allowing you to use it in subsequent nodes or processes. It is essential for workflows that involve image manipulation or analysis, providing the necessary data for further operations.

parameter_latent

This output provides latent data, which can be used in various machine learning or data processing tasks. It is crucial for workflows that require latent space manipulation or analysis.

parameter_mask

The parameter_mask output delivers mask data, which is often used in image processing tasks to isolate or highlight specific areas of an image. This output is vital for tasks that involve segmentation or masking.

parameter_string

This output returns string data, which can be used for textual analysis or manipulation. It is important for workflows that involve text processing or generation.

parameter_int

The parameter_int output provides integer data, which can be used in calculations or as input for other nodes that require integer values. It is essential for tasks that involve numerical data processing.

parameter_float

This output delivers float data, which is crucial for tasks that require precision in numerical calculations or data analysis. It is used in workflows that involve floating-point arithmetic or data manipulation.

Interactive Selector Usage Tips:

  • Ensure that only one input is selected at a time to avoid conflicts and ensure smooth execution of the node.
  • Utilize the propagate_deselect parameter to maintain consistency in workflows that require dynamic input selection and deselection.
  • Leverage the images input parameter for workflows that involve image processing, ensuring that the necessary image data is provided.

Interactive Selector Common Errors and Solutions:

Too many inputs are active

  • Explanation: This error occurs when more than one input is selected simultaneously, which violates the node's requirement for a single active input.
  • Solution: Review the input parameters and ensure that only one input is marked as selected at any given time.

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, consider reviewing the node's connections and input data.

Interactive Selector 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.