Alistair Buxton 96b856a2d5 Remove executor hack, convert job to list instead
This makes the node pack work on the latest ComfyUI. Swap the JobIterator
node for a JobToList node. Nothing else needs to change.

This does mean that the workflow will be evaluated breadth-first instead
of depth-first, which means intermediate results will be cached in memory
and you won't get any output until the whole job is finished.
2024-09-14 16:11:30 +01:00
2023-09-09 18:05:22 +01:00
2023-09-09 18:05:22 +01:00
2023-09-09 18:06:34 +01:00
2023-09-10 20:35:49 +01:00

ComfyUI Job Iterator

Implements iteration over sequences within a single workflow run.

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 JobIterator.
  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.
S
Description
No description provided
Readme GPL-3.0
2.3 MiB
Languages
Python 100%