Nodes Browser

ComfyDeploy: How comfyui-job-iterator works in ComfyUI?

What is 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.]

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for comfyui-job-iterator and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

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

  1. Make a SEQUENCE containing the values to use at each step.
  2. Turn it into a JOB using a MakeJob node, and enter a name for the attribute.
  3. If you need to modify more than one parameter, make more SEQUENCES and turn them into JOBs.
  4. Connect to a JobToList.
  5. Connect the attributes output to GetAttribute nodes to pull out the value of a name at the current step.
  6. Connect those values into a normal workflow.
  7. Click "queue prompt".

Example

workflow embedded

Misc Nodes

Also includes some miscellaneous nodes:

  • Stringify - returns str() and repr() 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.