Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates stacking multiple images horizontally or vertically, aiding in creating cohesive visual presentations for AI artists.
The Stack Images node is designed to facilitate the arrangement of multiple images into a single composite image by stacking them either horizontally or vertically. This node is particularly useful for AI artists who want to create a cohesive visual presentation from a series of images, such as a collage or a storyboard. By specifying the stacking direction and batch stacking mode, you can control how the images are aligned and combined. The node also supports splitting the images into batches, allowing for more complex arrangements. This functionality is beneficial for organizing images in a structured manner, making it easier to visualize and present your creative work.
This parameter is a list of image tensors that you want to stack. Each tensor represents an image, and the list can contain multiple images that will be processed and combined according to the specified stacking modes. There is no explicit minimum or maximum number of images, but the sum of the splits must equal the number of images provided.
Splits define how the images are divided into groups or batches for stacking. This parameter is a list of integers, where each integer specifies the number of images in a particular batch. The sum of the splits must match the total number of images to ensure proper stacking. If only one split is provided, it will be repeated to match the number of images.
This parameter determines the overall stacking direction for the images, with options such as "horizontal" or "vertical." Only a single stack mode is supported, meaning you must choose one direction for the entire operation. The choice of stack mode affects the final layout of the composite image.
Similar to stack_mode, this parameter specifies the stacking direction within each batch. It also supports "horizontal" or "vertical" options and requires a single choice. This setting influences how images within a batch are arranged before being combined into the final image.
Optional parameter that allows you to provide labels for the horizontal axis. These labels can be used to annotate the stacked images, adding context or descriptions to the horizontal arrangement. If not provided, no labels will be added.
Optional parameter for providing labels for the vertical axis. These labels serve a similar purpose as horizontal_labels but are used for the vertical arrangement of images. If omitted, the vertical stacking will not include labels.
The output is a single tensor representing the composite image created by stacking the input images according to the specified parameters. This tensor can be used for further processing or visualization, providing a unified view of the stacked images.
© 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.