Batch processing

Batch processing generates several results from one GenAI node in a single run. It is a setting on the node, so no extra node is needed.

Set Number of results on a GenAI node to any value from 1 to 16. The node then runs that many generations in parallel. The setting appears on GenAI nodes whose first output is an Image or a Video. Examples are Gemini Pro3.0 Image and Veo3.1.

docs_batch-processing_01.gif

Number of results set to 4 on Gemini Pro3.0 Image, then run

Outputs

Each result gets its own output port, numbered in order. Generated Image becomes Generated Image 1, Generated Image 2, and so on. Each port connects like any other output. Lowering the number removes the higher ports and their connections.

Seeds

A fixed Seed sends the same value to every run. On Gemini Pro3.0 Image and Veo3.1, an empty Seed gets a new seed for each run.

Viewing results

Results appear on the node like any other output. In the Media Viewer, use the arrow buttons to move between them. If some runs fail, the finished results still appear.

docs_batch-processing_02.gif

Stepping through the results in the Media Viewer

To run nodes once for every frame of an image sequence, use the For Each container. See the For Each page.