Represents the data for an image.

ImageModel

interface ImageModel {
    data: string;
    mimeType: string;
    type: string;
}

Properties

Properties

data: string

The image data. Currently, this is always a base64-encoded string.

ImageModel

mimeType: string

The MIME type of the image (e.g., "image/jpeg").

ImageModel

type: string

The format of the image data. Currently, this is always "base64".

ImageModel