Batch Generation Workflows: Hundreds of Images Without Chaos
Generate images in bulk efficiently: batch size vs batch count, prompt matrices, wildcards, XY plots, queues, file naming and curating results.
Exploring a concept often means hundreds of images. A good batch workflow saves hours.
Batch size vs batch count
- Batch size: images generated in parallel. Faster per image but uses more VRAM.
- Batch count: repeats in sequence. Uses no extra VRAM.
On limited VRAM, keep batch size at 1-2 and raise batch count.
Variation tools
- Seeds: random seeds per image for variety; fixed seeds for comparison. See seeds and reproducibility.
- Wildcards: lists of options inserted randomly, for example outfits or settings.
- Prompt matrix: every combination of a few options.
- Dynamic prompts: syntax like {red|blue|green} picked per image.
XY plots
Render a grid comparing two variables, such as CFG vs steps or sampler vs LoRA strength. It is the fastest way to learn settings. See CFG scale explained.
Queues
ComfyUI queues jobs; you can queue many variations and walk away. SwarmUI can distribute across multiple GPUs.
File naming
Include date, model, seed and a prompt keyword in filenames. Most UIs support naming patterns.
Curating
- Quickly reject obvious failures.
- Shortlist by composition.
- Compare finalists at full size.
- Re-generate winners with hires fix and upscaling; see hires fix explained.
Speed
Common questions
What is the difference between batch size and batch count?
Batch size generates several images at once, using more VRAM. Batch count repeats generation several times in sequence.
What are wildcards?
Placeholders in a prompt that pick random entries from a list each generation, such as __hair_colour__, to create variations automatically.
How do I compare settings quickly?
Use an XY plot script in Forge-style UIs or equivalent nodes in ComfyUI to render a grid across two variables.
Related reading
Seeds and Reproducibility: Recreating AI Images Exactly
GuideHow to Use LoRAs: Strength, Trigger Words and Stacking
GuideFace Detailer Guide: Sharper Faces With ADetailer and FaceDetailer
Free toolImage Prompt Generator
Browse more: all guides · comparisons · glossary · free tools