Class Image (0.3.0)

Image(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an image input or output in the conversation.

Attributes

Name Description
mime_type str
Required. The IANA standard MIME type of the source data. Supported image types includes: - image/png - image/jpeg - image/webp
data bytes
Required. Raw bytes of the image.