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 class

GenerateImagesResult

GenerateImagesResult​

class max.pipelines.lib.generate_images.GenerateImagesResult(images)

source

Bases: object

The result of generate_images().

Parameters:

images (list[list[Image]])

images​

images: list[list[Image]]

source

One list per prompt, in prompt order, so images[i] holds prompt i’s num_images_per_prompt images.