Class ImageGenerationResponse (1.52.0)

ImageGenerationResponse(images: typing.List[GeneratedImage])

Image generation response.

Attribute

Name Description
images List[vertexai.preview.vision_models.GeneratedImage]
The list of generated images.

Methods

__getitem__

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

Gets the generated image by index.

__iter__

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

Iterates through the generated images.