ComfyUI > Nodes > COMFYUI_PROMPTMODELS > Selector de imágenes

ComfyUI Node: Selector de imágenes

Class Name

SelectorDeImagenes

Category
Selectores Pro
Author
cdanielp (Account age: 0days)
Extension
COMFYUI_PROMPTMODELS
Latest Updated
2026-03-17
Github Stars
0.02K

How to Install COMFYUI_PROMPTMODELS

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

Selector de imágenes Description

SelectorDeImagenes streamlines image and mask selection for complex AI art editing tasks.

Selector de imágenes:

SelectorDeImagenes is a powerful node designed to facilitate the selection and combination of multiple images along with their corresponding masks. This node is particularly beneficial for AI artists who need to manage and manipulate several images simultaneously, allowing for complex image processing tasks. By enabling the selection of up to 12 image slots, SelectorDeImagenes provides flexibility in handling various image inputs, ensuring that each image is paired with its mask for precise editing and manipulation. The node's primary function is to streamline the process of image selection and combination, making it an essential tool for projects that require detailed image composition and editing.

Selector de imágenes Input Parameters:

fallback

The fallback parameter determines the behavior of the node when no active slots are detected. It can be set to "error" to raise an error if no slots are active, or it can default to using the first slot if available. This parameter is crucial for ensuring that the node has a defined behavior in cases where no images are actively selected, preventing unexpected results.

mode

The mode parameter specifies the operational mode of the node, which can be either "single_only" or "batch_only". In "single_only" mode, the node expects only one active slot, while "batch_only" mode allows for multiple active slots to be processed as a batch. This parameter is essential for controlling how the node processes the input images and masks, ensuring compatibility with the desired workflow.

on<i>

Each onparameter (where`` ranges from 1 to 12) is a boolean flag that indicates whether a specific image slot is active. When set to True, the corresponding image and mask are included in the processing. This parameter allows for selective activation of image slots, providing flexibility in choosing which images to process.

img<i>

The imgparameter (where`` ranges from 1 to 12) represents the image input for each slot. It is a required parameter for active slots and must be provided to ensure the node functions correctly. This parameter is critical for supplying the actual image data that the node will process.

mask<i>

The maskparameter (where ranges from 1 to 12) represents the mask input for each slot. Like the `img`<i> parameter, it is required for active slots and must be provided to ensure proper image and mask pairing. This parameter is essential for defining the areas of the image that will be affected by processing.

Selector de imágenes Output Parameters:

torch.Tensor (image batch)

The output is a batch of images combined into a single torch.Tensor. This output is crucial for subsequent processing steps that require a unified image batch, allowing for efficient handling and manipulation of multiple images in a single operation.

torch.Tensor (mask batch)

Alongside the image batch, the node outputs a batch of masks combined into a single torch.Tensor. This output ensures that each image in the batch is paired with its corresponding mask, maintaining the integrity of the image-mask relationship for further processing.

Selector de imágenes Usage Tips:

  • Ensure that all active slots have both an image and a mask connected to avoid errors and ensure proper processing.
  • Use the mode parameter to control the node's behavior based on your specific needs, whether processing a single image or a batch of images.
  • Activate only the necessary slots to optimize performance and reduce processing time.

Selector de imágenes Common Errors and Solutions:

❌ Modo single_only con <n> slots activos: <slots>.

  • Explanation: This error occurs when the node is set to "single_only" mode but more than one slot is active.
  • Solution: Deactivate all but one slot or switch the mode to "batch_only" to allow multiple active slots.

❌ Slot <i> activado pero sin imagen conectada.

  • Explanation: This error indicates that a slot is active, but no image is connected to it.
  • Solution: Connect an image to the active slot or deactivate the slot if it is not needed.

❌ Slot <i> activado pero sin máscara conectada.

  • Explanation: This error occurs when a slot is active, but no mask is connected to it.
  • Solution: Connect a mask to the active slot or deactivate the slot if it is not needed.

❌ Imagen slot <i> incompatible.

  • Explanation: This error indicates that the image dimensions of a slot do not match the reference image dimensions.
  • Solution: Ensure that all images have the same dimensions as the reference image.

❌ Máscara slot <i> incompatible.

  • Explanation: This error occurs when the mask dimensions of a slot do not match the reference mask dimensions.
  • Solution: Ensure that all masks have the same dimensions as the reference mask.

❌ Ningún slot activado.

  • Explanation: This error indicates that no slots are active, and the node cannot proceed.
  • Solution: Activate at least one slot or ensure that the fallback option is correctly configured.

Selector de imágenes Related Nodes

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

Selector de imágenes