Class ImageGenerationResponse (1.31.1)

ImageGenerationResponse(
    images: typing.List[vertexai.vision_models._vision_models.GeneratedImage],
)

Image generation response.

Methods

__getitem__

__getitem__(idx: int) -> vertexai.vision_models._vision_models.GeneratedImage

Gets the generated image by index.

__iter__

__iter__() -> typing.Iterator[vertexai.vision_models._vision_models.GeneratedImage]

Iterates through the generated images.