image
batch
Image from Batch

Image From Batch

ImageFromBatch-comfyui node

Documentation

  • Class name: ImageFromBatch
  • Category: image/batch
  • Output node: False

The ImageFromBatch node is designed for extracting a specific segment of images from a batch based on the provided index and length. It allows for more granular control over the batched images, enabling operations on individual or subsets of images within a larger batch.

Input types

FieldComfy dtypeDescription
imageIMAGEThe batch of images from which a segment will be extracted. This parameter is crucial for specifying the source batch.
batch_indexINTThe starting index within the batch from which the extraction begins. It determines the initial position of the segment to be extracted from the batch.
lengthINTThe number of images to extract from the batch starting from the batch_index. This parameter defines the size of the segment to be extracted.

Output types

FieldComfy dtypeDescription
imageIMAGEThe extracted segment of images from the specified batch. This output represents a subset of the original batch, determined by the batch_index and length parameters.