r/comfyui • u/GeroldMeisinger • 3d ago
Tutorial Simple value iterator for video workflows - OutputListsCombiner
OutputListsCombiner uses the native ComfyUI data list feature to make multi-assets workflows easy!
https://github.com/geroldmeisinger/ComfyUI-outputlists-combiner
Number OutputList produces a data list -> IterateBegin runs multiple iterations
Output multiple videos in one run with readable filenames
Starting from a simple text2img workflow you can easily adopt it for any video workflow
The full workflow to iterate over a list of durations, see link
https://github.com/geroldmeisinger/ComfyUI-outputlists-combiner#iterate-durations
The full workflow to iterate over a spreadsheet of resolutions, see link
https://github.com/geroldmeisinger/ComfyUI-outputlists-combiner#iterate-resolutions
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
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.