IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python data

MAX_NUM_IMAGES

MAX_NUM_IMAGES​

max.pipelines.request.provider_options.MAX_NUM_IMAGES = 4

source

The most images one image generation request can ask for.

Every image in a request runs in one batch, so the cap bounds a request’s batch size. FLUX.2 Klein fails at 8 images and runs 6, so 4 leaves margin for every model.