Przejdź do treści
Image Generator Parameters / Batch Size (Number of Images)
Universal parameters

Batch Size (Number of Images)

Batch size determines how many image variations the generator produces from a single prompt. Each image receives a distinct seed value, allowing you to explore different angles, compositions, and details simultaneously. It is the fastest way to evaluate how reliably a prompt performs before refining a specific concept.

Also known as: n, num_images, numberOfImages, batch_size, --repeat

Side-by-side test results

Batch Size (Number of Images) - image 1
image 1
Batch Size (Number of Images) - image 2
image 2
Batch Size (Number of Images) - image 3
image 3
Batch Size (Number of Images) - image 4
image 4

Model: FLUX.1 [schnell] (przez API fal.ai). Settings: num_images = 4, seed 1411, single request. Date: 14.11.2026.
Prompt: a narrow cobblestone street in an old european town after rain, reflections on the stones, evening, photo

I ran a single prompt with a fixed starting seed, and the system returned four distinct street scenes in 3.3 seconds. Because the generator incremented the seed sequentially for each slot, every image in the set remains completely reproducible. Remember that hosted platforms bill for every generated image individually, even when processed inside a single batch.

Syntax across generators

GeneratorParameterValuesDefault
Ideogramnum_images1-8 (Nano Banana 2 reframe: 1-4)1
GPT ImagenSVG only with n=1maximum unconfirmed (API reference 403)1
Seedream*sequential_image_generation + max_imagesNieobsługiwane w 5.0 pro i flash; działa w 5.0 lite, 4.5, 4.0disabled / auto; max_images 1-15; input images + output images <= 15disabled
Imagen (retired)sampleCount1-4none specified
Qwen-ImagenIn OpenAI-compatible mode it must be a number, not a string1-61
ComfyUIbatch_size (EmptyLatentImage) - range unconfirmed--
Midjourney*none (always 4 grid) ; --repeat multiplies tasksDraft V8.1/V8.2: 24 images per prompt4
FLUXnone (1 image per task)--
Stability AI (SD 3.5)none (1 image per task)--

* Midjourney: docs.midjourney.com blocks automated scrapers, so values are sourced from search engine indexes. Please verify settings on the official Midjourney site before production use.

When to use it

Common mistake

Generating a single image and immediately modifying your wording whenever the result looks slightly off. A single output is often just random chance governed by a rogue seed. Reviewing a batch of four reveals what your prompt actually directs versus what was simply an accidental artifact.

Ready-to-use example

OpenAI Images API:  "n": 2
Ideogram:  "num_images": 4 (range 1-8)
ComfyUI:  Empty Latent Image -> batch_size = 4
Midjourney:  always 4 images by default; --repeat 3 repeats the entire job

Frequently asked questions

How many images does Midjourney generate at once?

Midjourney generates four images by default in a standard 2x2 grid. If you need more variations automatically, the --repeat parameter queues and runs the entire job multiple times in sequence.

What is the difference between batch count and batch size in Stable Diffusion?

Batch size renders multiple images simultaneously in parallel, which relies heavily on available graphics memory. Batch count generates images sequentially one after another, requiring less memory while taking proportionately longer to finish.

Does increasing the batch size use up more credits or tokens?

Yes. Most commercial AI platforms and APIs charge on a per-image basis. Requesting a batch of four images will consume four times the credits or cost compared to a single output.

Related terms

🛒 Sklep Kinetyka CapCut Pro 460 zł/rok Lovable Pro 450 zł/rok Replit Core 119 zł/rok Zobacz wszystko →
× ‹ powiększenie ›