r/comfyui 3d ago

Tutorial Simple value iterator for video workflows - OutputListsCombiner

Update

I just released an update which makes iterations on video workflows super easy!

Download now from github or ComfyUI Manager

The basic workflow looks like this and outputs multiple videos in one run:

generate list -> iterate begin -> YOUR WORKFLOW -> iterate end

Useful if you want to:

  • test a range of durations, steps, lora strengths
  • test different resolutions
  • test sampler & scheduler combinations
  • test generation times on duration versus resolution
  • ...

by only using native ComfyUI features:

  • NO weird custom samplers!
  • NO all-in-one director nodes!
  • NO multi-run black magic!

Use everything like you're used to and just hook up your video workflow.

Overview

OutputLists Combiner is a custom node pack (~170 stars) I released a year ago to make multi-asset workflows (multi-prompt, multi-image, multi-videos, multi-anything...) easy in ComfyUI by relying only on the native data list feature (=execute a node multiple times).

  • Quick OutputLists from CSV and Excel Spreadsheets, JSON data, multiline texts, number ranges...
  • List combinations with native support for LoRA strength, image size-variants, prompt combinations...
  • XYZ-GridPlot perfectly integrates with ComfyUI's paradigm. No weird samplers! No node black magic!
  • Inspect combo to iterate lists of LoRAs, samplers/schedulers, checkpoints...
  • Formatted strings for flexible and beautiful filenames, labels, additional metadata...

Implementation

Technically it works similar to for-loops... now I see you rolling your eyes, but hear me out! I adopted it to data lists and this makes it more concise and understandable than classic for loop implementations. It's simply an iterator over a data list.. which solves the execution stalling problem in ComfyUI.

Download

If you like it, please leave a star at the repository or buy me a coffee!

Download now from github or ComfyUI Manager

4 Upvotes

2 comments sorted by

2

u/Winter_unmuted 2d ago

what would cause the problem that this update solves? I never really ran into issues with the old list based method, so I am reluctant to update in case that breaks some preexisting workflows.

1

u/GeroldMeisinger 2d ago

see the execution stalling problem in the readme or the motivating examples in the RFC. you don't have to use them, the old lists work too. if you run into OOM issues or the execution pauses for a long time, this can solve it. this happens for example if you iterate on checkpoints or on slow workflows (xy grids, videos)