Skip to content

Batch Generate & Image Quantity

David Sage edited this page Nov 2, 2025 · 11 revisions
Image Quantity   Batch Generate

Images are Generated in Batches

When a user clicks on the Generate button in FooocusPlus and similar programs, a batch of new images is created. In FooocusPlus, the size of the batch is specified using the Image Quantity slider.

The slider can vary the quantity from 1 and 50 images, with a default value of 4 images. The maximum and the default values can be changed in UserDir/config.txt using the "default_max_image_quantity" and "default_image_quantity" settings, respectively.

If a batch of 50 images is not enough - perhaps the computer is intended to continue to generate through through the night for example - a right-click on the Generate button will bring up the "Generate Forever" option, which will do that just that (within reason):

Generate Forever

The Batch Control

As a more controlled alternative, The Batch Control accordion contains the Batch Generate button which will automatically restart the generative process. If the Batch Count is set to 1, then pressing Batch Generate will create one batch of images - just like pressing the Generate button. However, if Batch Count is set to 10 for example, then 10 batches will be created automatically. If the Image Quantity is set to 50 and the Batch Count is set to its default maximum of 25 batches then its multiplier value will result in the creation of 1250 images.

The maximum value of the Batch Count is relative to the config.txt "default_max_image_quantity": the Batch Count maximum value is always half the Image Quantity value.

Batch Control Accordion

Clone this wiki locally