IAMCCS Image Batch 6
Six images in, one batch out — that's the whole job
- image_1
- image_2
- image_3
- image_4
- image_5
- image_6
- images
- count
Sometimes a node doesn't need a backstory. IAMCCS Image Batch 6 takes up to six images and stacks them into a single IMAGE batch, then tells you how many ended up in it. That's it. If you've ever manually chained Image Batch nodes because you needed more than two inputs, this is the node that deletes that chain.
The stock ComfyUI ImageBatch node takes exactly two images. Real workflows - multi-angle Qwen generations, Flux Klein multi-view batches, storyboard panels - routinely need more, and the classic answer was to daisy-chain three or four ImageBatch nodes in a row, which is exactly as ugly as it sounds. This node collapses that into one box with six labeled sockets.
How it works
image_1 is required; image_2 through image_6 are optional. On execution it gathers whatever's connected, in order, and merges them with the standard batch operation (the source uses ComfyUI's own ImageBatch under the hood, so behavior matches what you already know). Outputs:
images- the combined IMAGE batch. Same resolution assumption as always: all inputs must already match in size and channels, because a batch is a single tensor. If your images differ in dimensions, resize first.count- the number of frames/images in the resulting batch. Handy for feeding a loop or a "did I connect everything?" check.
Why you'd reach for it
Two concrete cases. In the Qwen/Flux multi-generation dataset workflows this pack is built around, you generate several variants of one reference and want them as one batch for a contact sheet or a comparison grid. And in any batch-processing loop, count doubles as a live sanity check that the right number of inputs actually made it in - connect five, read count = 5, done.
One thing to watch: unconnected optional inputs are simply skipped, so count is the only way to know what really got merged. If you expect six panels and count says four, an input silently dropped - that's usually a missing connection, not a bug.
Install
It's one node in the IAMCCS-nodes pack:
cd ComfyUI/custom_nodes
git clone https://github.com/IAMCCS/IAMCCS-nodes.git
or ComfyUI Manager → search IAMCCS, then restart. No dependencies, no models.
The verdict
If you already have a favorite multi-image batch node, this won't convert you. If you're new or you're tired of the daisy-chain, it's the boring, reliable fix - and for a node this small, boring is a compliment.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image_1 | IMAGE | — | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| image_5opt | IMAGE | — | |
| image_6opt | IMAGE | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| count | INT | — |