Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile tool for managing and switching between up to 20 image inputs with customization options.
The Image20Switcher_node
is a versatile tool designed to handle up to 20 different image inputs, allowing you to dynamically select and switch between them based on your needs. This node is particularly useful for AI artists who work with multiple image sources and need a streamlined way to manage and switch between these images. It provides a user-friendly interface to select an image, customize its label, and preview the selected image or a connection diagram. The node also supports various customization options such as font size, font color, and the inclusion of labels, making it a powerful asset for creating complex image compositions and visualizations.
This parameter allows you to choose which image to select from the 20 available inputs. The options range from "Image 1" to "Image 20", with the default being "Image 1". This selection determines which image will be processed and displayed by the node.
This parameter controls the size of the font used for labeling the selected image. The available options are "Small", "Medium", and "Large", with "Medium" being the default. The font size impacts the readability and visual prominence of the label on the image.
This parameter specifies the color of the font used for labeling the selected image. The options include "White", "Black", "Red", "Green", "Blue", "Yellow", "Brown", and "Orange", with "White" as the default. The font color affects the visibility and aesthetic appeal of the label.
This parameter allows you to specify the font file to be used for labeling. The default value is "seguisb.ttf", which is a commonly used Arial font. This parameter provides flexibility in choosing a custom font for your labels.
This boolean parameter determines whether a label should be added to the selected image. The default value is True
. Enabling this option helps in identifying the selected image, especially when working with multiple images.
This boolean parameter controls whether a preview of the selected image or connection diagram should be generated. The default value is True
. Enabling this option allows you to visually verify the selected image or diagram before finalizing your work.
This parameter specifies the type of preview to be generated. The options are "Input Image" and "Connection Diagram", with "Input Image" as the default. This selection determines whether the preview will show the selected image or a diagram illustrating the connections between images.
These optional parameters allow you to input up to 20 different images. Each parameter accepts an image file, which can then be selected and processed by the node. These inputs provide the flexibility to work with a large number of images within a single node.
This hidden parameter is used to store a prompt for generating the image. It is not typically modified by the user but can be useful for advanced configurations.
This hidden parameter is used to store additional PNG metadata. Like the prompt, it is not usually modified by the user but can be useful for advanced configurations.
This output provides the tensor representation of the selected image. It is the primary output of the node and can be used in subsequent nodes for further processing or visualization.
This output provides a tensor representation of the connection diagram. The diagram illustrates the routing and selection logic used to choose the final image, offering a visual representation of the node's internal workings.
preview
and preview_type
parameters to visually verify your selected image or connection diagram before finalizing your work.font_size
and font_color
parameters to enhance the readability and aesthetic appeal of your image labels.preview
and preview_type
parameters to ensure they are correctly configured, and verify that all required inputs are provided.© Copyright 2024 RunComfy. All Rights Reserved.