ComfyUI  >  Nodes  >  ComfyUI Easy Use >  Image Chooser

ComfyUI Node: Image Chooser

Class Name

easy imageChooser

Category
EasyUse/Image
Author
yolain (Account age: 1341 days)
Extension
ComfyUI Easy Use
Latest Updated
6/25/2024
Github Stars
0.5K

How to Install ComfyUI Easy Use

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

Image Chooser Description

Facilitates batch image selection with user-friendly interface, enhancing efficiency and precision in image processing tasks.

Image Chooser:

The easy imageChooser node is designed to facilitate the selection of images from a batch, providing a user-friendly interface for choosing specific images based on your preferences. This node is particularly useful when working with multiple images and needing to select the best ones for further processing or saving. It streamlines the workflow by allowing you to pause and make selections, ensuring that only the most relevant images are used in subsequent steps. The easy imageChooser node enhances efficiency and precision in image processing tasks, making it an essential tool for AI artists who work with large sets of images.

Image Chooser Input Parameters:

mode

The mode parameter determines the behavior of the image selection process. It offers options such as Always Pause and Keep Last Selection. Always Pause will prompt you to make a selection every time the node is executed, ensuring you have control over the images chosen. Keep Last Selection will remember your previous selections and use them, which can save time if you are repeatedly processing similar batches of images. This parameter helps tailor the node's functionality to your workflow needs.

images

The images parameter is an optional input that accepts a batch of images. If provided, these images will be used for the selection process. If not provided, the node will operate in read-from-stash mode, using previously stored images. This flexibility allows you to either input new images directly or rely on stored images for selection, depending on your current task requirements.

prompt

The prompt parameter is a hidden input that stores the prompt information associated with the images. This can be useful for keeping track of the context or instructions related to the image batch, ensuring that the selection process aligns with the intended use of the images.

my_unique_id

The my_unique_id parameter is a hidden input that uniquely identifies the current selection session. This ensures that the selections are correctly associated with the specific batch of images being processed, preventing any mix-ups or errors in the selection process.

extra_pnginfo

The extra_pnginfo parameter is a hidden input that stores additional metadata related to the images. This can include information such as the workflow or previous selections, which can be useful for maintaining consistency and context in the image selection process.

Image Chooser Output Parameters:

image

The image output parameter provides the selected images from the batch. This output is crucial as it contains the images you have chosen, ready for further processing or saving. The selected images are returned as a tensor, ensuring they are in a format suitable for subsequent nodes or operations in your workflow.

Image Chooser Usage Tips:

  • Use the mode parameter to control the selection process based on your workflow needs. For instance, use Always Pause for manual selection and Keep Last Selection for automated workflows.
  • Ensure that the images parameter is correctly populated if you want to input new images directly. If not, make sure the node is set up to read from the stash.
  • Utilize the prompt and extra_pnginfo parameters to maintain context and metadata, which can be helpful for complex workflows involving multiple image batches.

Image Chooser Common Errors and Solutions:

Error: "Error: extra_pnginfo is empty"

  • Explanation: This error occurs when the extra_pnginfo parameter is expected to contain metadata but is found to be empty.
  • Solution: Ensure that the extra_pnginfo parameter is correctly populated with the necessary metadata before executing the node.

Error: "Error: extra_pnginfo[0] is not a dict or missing 'workflow' key"

  • Explanation: This error indicates that the extra_pnginfo parameter does not contain the expected dictionary format or is missing the 'workflow' key.
  • Solution: Verify that the extra_pnginfo parameter is correctly formatted as a dictionary and includes the 'workflow' key with the appropriate metadata.

Error: "Please re-install ComfyUI-Easy-Use"

  • Explanation: This error suggests that a required class or function is missing, likely due to an incomplete or corrupted installation.
  • Solution: Reinstall the ComfyUI-Easy-Use package to ensure all necessary components are correctly installed and available for use.

Image Chooser Related Nodes

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