KJNodes/imagegenerated

Image Tensor List(ImageTensorList)

This node technically accepts two formats of input: standalone PyTorch tensors or an existing list of image tensors.

Image Tensor List

image1
image2
IMAGE
KJNodes

The Image Tensor List node technically accepts two formats of input: independent PyTorch tensors or existing image tensor lists.

The Image Tensor List node is a utility tool for combining image data. Its core function is to merge two input image data sources into a single image list. This node simplifies data preparation when handling multiple images in a workflow.

Node Function

This node technically accepts two formats of input: independent PyTorch tensors or existing image tensor lists. Its internal logic intelligently determines the input type and seamlessly concatenates them into a new, unified list. Regardless of whether the input is a single image or a list, the final output is a tensor list containing all input images.

Node Parameter Description - Image Tensor List

Connection Inputs (Inputs)

Parameter NameData TypeRequiredDefault ValueValue Range/OptionsDescription
image1IMAGEYes--image1: The first input image data, which can be a single image or an image list.
image2IMAGEYes--image2: The second input image data, used to merge with image1.

Output

Parameter NameData TypeDescription
IMAGEIMAGEIMAGE: The output image tensor list after merging.

Usage Scenarios

This node is very useful in workflows that require batch or sequential processing of multiple images. For example, when creating animations or before feeding multiple generation results into subsequent upscaling, filter, or video synthesis nodes, this node can be used to organize scattered images into an ordered list, thereby simplifying pipeline connections.

Notes

Please note that this node is only responsible for data combination and organization and does not perform any image processing operations (such as resizing, color conversion). Input images should have compatible dimensions and formats to ensure proper processing by subsequent nodes.

The Image Tensor List node is from the ComfyUI-KJNodes node package.

Comments

Sign in with GitHub to join the discussion.

Loading comments…