batch generation setup that executes two or more prompts simultaneously in a single run.

Details

Model description

⚡ Unleash KSampler's Parallel Power: Crush Massive Prompt Queues at 2x+ Speed

Are you tired of manually hitting "Queue Prompt" hundreds of times just to test different character and scene combinations?

Contrary to popular belief, ComfyUI's KSampler is fully capable of executing multiple distinct conditioning prompts in parallel, generating completely different images simultaneously. This sample workflow serves as a high-performance demonstration of how to harness this behavior to slice through massive generation queues at more than double your usual speed.


🛑 REQUIRED CUSTOM NODES

To run this workflow without missing-node errors, you must install our extension package:


🚀 The 5x5 Matrix: 25 Combinations, Accelerated Parallel Processing

This workflow is a practical demonstration of prompt de-coupling and dynamic batch execution:

  • The Setup (5x5 Matrix): The workflow embeds 5 unique Character Data presets (managed via Text Line Selector) and 5 distinct Action/Staging Plans (sequenced via Prompt Line). This creates a creative matrix of up to 25 possible unique generation menus.

  • True Parallel Execution Mechanic: When you set Max Lines to 2 or more on the Prompt Line node, it dynamically outputs multiple independent prompt streams. You can easily chain further text processing nodes—like Join Strings—after it to append assets or modifiers. KSampler then consumes these multiple independent prompts simultaneously, rendering 2 or more completely different images from separate prompts in a single execution run.

  • Double the Efficiency: If you have a massive queue of different characters and directions to test, this parallel slicing technique allows you to clear your creative backlog more than twice as fast as standard one-by-one queue methods.

  • Effortless Dimension Control (Resolution Selector): Forget about manually clicking and entering width/height values across multiple fields every time you change aspect ratios. The Resolution Selector node lets you instantly switch your output image dimensions with a single click from a simple combo dropdown menu.


🛠️ How to Experience the 2x+ Speed Demon

  1. Download this workflow .json and drag-and-drop it into your ComfyUI canvas.

  2. Install ComfyUI-Text-Driven-Workflows via the ComfyUI Manager and restart ComfyUI.

  3. Load your preferred SDXL checkpoint.

  4. Set Max Lines to 2 or more on the Prompt Line node, select your target dimensions via the Resolution Selector dropdown, hit Queue, and watch how ComfyUI simultaneously renders completely distinct prompt combinations in parallel.

If this parallel prompt slicing workflow doubles your daily asset production efficiency, please consider leaving a review or dropping a ⭐ on our GitHub repository!

Images made by this model