2.0.0 (latest) 1.158.0 1.157.0 1.156.0 1.155.0 1.154.0

    Image()

The image that can be sent to a generative model.

## Properties

### data

Returns the image data.

## Methods

### from_bytes

    from_bytes(data: bytes) -> vertexai.generative_models._generative_models.Image

Loads image from image bytes.

### load_from_file

    load_from_file(
        location: str,
    ) -> vertexai.generative_models._generative_models.Image

Loads image from file.