comfyui-job-iterator
Implements iteration over sequences within a single workflow run. [w/NOTE: This node replaces the execution of ComfyUI for iterative processing functionality.]
Nodes (26)
Every n-way grouping of a sequence, without writing them out by hand
Zip or cross-product multiple sweeps into one job
Stamp a running index onto every step of a job
Turn a job step into one readable string with Python format syntax
Pull a named value back out of a job step
GetAttribute with a FLOAT-typed socket — not a cast
GetAttribute with an INT-typed socket — not a cast
GetAttribute with a STRING-typed socket — not a cast
Grab one specific step out of a job by index
A live Python REPL wired into your workflow
The node that actually turns your job into a loop
Flatten each item of a sequence-of-tuples into a string
Turn a batch of images into one contact-sheet image
Glue two images side-by-side or stacked
Hand-type a sequence — but it has to be real Python, not free text
Turn a list of values into a parameter sweep ComfyUI will actually run
Resolve a list of filenames to real model paths
Test every ordering of a list, not just every value
A tiny status image you render inside your own loop
The numeric sweep primitive, straight from Python's range()
Sort or reverse a sequence — and skip the one option that's currently broken
Pull one image out of a batch by index
Pick one image out of a list, not a batch
Trim a sequence down to dry-run part of a big sweep
See what's actually flowing through a wire
Render a caption you can burn into your output grid
ComfyUI Job Iterator
Implements iteration over sequences within a single workflow run.
Fixing Old Workflows
Replace the old JobIterator node with the new JobToList node.
Installation
Just clone into custom_nodes. There are no dependencies.
Usage
- Make a SEQUENCE containing the values to use at each step.
- Turn it into a JOB using a MakeJob node, and enter a name for the attribute.
- If you need to modify more than one parameter, make more SEQUENCES and turn them into JOBs.
- Connect to a JobToList.
- Connect the attributes output to GetAttribute nodes to pull out the value of a name at the current step.
- Connect those values into a normal workflow.
- Click "queue prompt".
Example

Misc Nodes
Also includes some miscellaneous nodes:
- Stringify - returns
str()andrepr()of the input. - Interact - opens a debug REPL on the terminal where you ran ComfyUI whenever it is evaluated.
- Join image batch - turns a batch of images into one tiled image.
- Select from image batch - outputs a single image from a batch.