comfyui-job-iterator

comfyui-job-iterator
★ 125

迭代批量处理参数搜索序列驱动
在单次工作流中按序列迭代参数并执行多次处理,替代重复运行ComfyUI,便于批量生成与参数扫描。
💡 对一组参数序列逐步生成多张图像或运行多次任务。
🍴 12 Forks💻 Python🔄 2024-11-16
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/b45acaa3411d
workflow embedded
📄 README

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() 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.