ComfyUI Node
Split Image Batch to List of Image Batches
A ComfyUI node in utility with 4 inputs and 4 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| sub_batch_size | INT | 21–1024 | — |
| stride | INT | 00–1024 | 0 = non-overlapping (same as sub_batch_size). 1 = sliding window. Any other value = custom stride. |
| last_sub_batch_policy | COMBO | keep_remainder | 3 options: keep_remainder, drop_remainder, pad_with_last |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| sub_batches | IMAGE | — |
| start_index | INT | — |
| end_index | INT | — |
| sub_batch_count | INT | — |