Nodes/Claude CLI (Vision+Text)/Split Image Batch to List of Image Batches
ComfyUI Node

Split Image Batch to List of Image Batches

A ComfyUI node in utility with 4 inputs and 4 outputs.

By RandyHaylor·Created 4 months ago·Updated 4 months ago· 1
Split Image Batch to List of Image Batches
  • images
  • sub_batches
  • start_index
  • end_index
  • sub_batch_count
sub_batch_size2
stride0
last_sub_batch_policykeep_remainder
Categoryutility

Inputs (4)

NameTypeDefaultDescription
imagesIMAGE
sub_batch_sizeINT21–1024
strideINT00–10240 = non-overlapping (same as sub_batch_size). 1 = sliding window. Any other value = custom stride.
last_sub_batch_policyCOMBOkeep_remainder3 options: keep_remainder, drop_remainder, pad_with_last

Outputs (4)

NameTypeDescription
sub_batchesIMAGE
start_indexINT
end_indexINT
sub_batch_countINT