Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline image and mask selection for AI art projects with centralized hub and random output option.
The LayerUtility: ImageHub node is designed to streamline the process of managing multiple image and mask inputs within your AI art projects. This node allows you to select and output a specific image and its corresponding mask from up to nine different input pairs. By providing a centralized hub for image and mask selection, it simplifies the workflow, making it easier to manage and switch between different layers or versions of your artwork. The node also includes an option to randomly select an output, adding an element of unpredictability and creativity to your work. This functionality is particularly useful for AI artists looking to experiment with different combinations of images and masks without manually changing inputs each time.
This parameter determines which input image and mask pair will be selected for output. It accepts an integer value ranging from 1 to 9, with a default value of 1. The selected number corresponds to the input pair (e.g., 1 for input1_image and input1_mask, 2 for input2_image and input2_mask, etc.). This allows you to easily switch between different input pairs.
This boolean parameter, when set to True, enables the random selection of an output pair from the available inputs. The default value is False. If enabled, the node will randomly choose one of the input pairs that have been provided, adding an element of randomness to your workflow.
This optional parameter accepts an image input. It is the first image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input1_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the second image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input2_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the third image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input3_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the fourth image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input4_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the fifth image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input5_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the sixth image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input6_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the seventh image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input7_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the eighth image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input8_image
. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts an image input. It is the ninth image in the list of possible inputs. If provided, it can be selected for output based on the value of the output
parameter.
This optional parameter accepts a mask input corresponding to input9_image
. If provided, it can be selected for output based on the value of the output
parameter.
This output parameter provides the selected image based on the output
or random_output
parameter. It is the image that corresponds to the chosen input pair.
This output parameter provides the selected mask based on the output
or random_output
parameter. It is the mask that corresponds to the chosen input pair.
output
parameter to the desired input number.random_output
to add an element of surprise and creativity to your workflow, especially useful for generating diverse results.output
parameter is set to a value outside the range of 1 to 9. - Solution: Adjust the output
parameter to a valid integer value between 1 and 9.random_output
is enabled, but no valid input pairs are available for selection.random_output
option.© Copyright 2024 RunComfy. All Rights Reserved.