ComfyUI Node: Split Image Batch to List of Image Batches

Authored by RandyHaylor

Created

Updated

1 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

utility

Inputs

images IMAGE
sub_batch_size INT
stride INT
last_sub_batch_policy
  • keep_remainder
  • drop_remainder
  • pad_with_last

Outputs

IMAGE

INT

INT

INT

Extension: Claude CLI (Vision+Text)

Call the local claude CLI from ComfyUI for vision+text or text-only completions. Uses your existing claude login OAuth (no API key required). Supports UUID session reuse for prompt-cache savings, with session token-usage tracking. Additional utility nodes: Split Image Batch to List of Image Batches (takes a large incoming batch and splits it into a list of smaller sub-batches with start/end index outputs, so you can send N images at a time — e.g. pairs — to the Claude CLI node along with their original batch indices for tracking), Indexed 2x2 Grid from Batch, Select Images (Bounds Safe), and Image Batch Current Index. Optional headless API-key mode.

Authored by RandyHaylor

Looking for a different node?

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more