- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/cx-agent-studio/reference/rest/v1beta/Image#SCHEMA_REPRESENTATION)

Represents an image input or output in the conversation.

| JSON representation |
|---|
| ``` { "mimeType": string, "data": string, "altText": string } ``` |

| Fields ||
|---|---|
| `mimeType` | `string` Required. The IANA standard MIME type of the source data. Supported image types includes: \* image/png \* image/jpeg \* image/webp |
| `data` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. Raw bytes of the image. A base64-encoded string. |
| `altText` | `string` Optional. The alternative text for the image. |