(Public Preview) The MIME type of the image; either "image/png" or "image/jpeg".To request a different format, set the imageFormat property in your ImagenGenerationConfig.
ImagenInlineImage.bytesBase64Encoded
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The base64-encoded image data.
Signature:
bytesBase64Encoded:string;
ImagenInlineImage.mimeType
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The MIME type of the image; either "image/png" or "image/jpeg".
To request a different format, set the imageFormat property in your ImagenGenerationConfig.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[],[],null,["# ImagenInlineImage interface\n\n\u003e This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nAn image generated by Imagen, represented as inline data.\n\n**Signature:** \n\n export interface ImagenInlineImage \n\nProperties\n----------\n\n| Property | Type | Description |\n|-------------------------------------------------------------------------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [bytesBase64Encoded](./ai.imageninlineimage.md#imageninlineimagebytesbase64encoded) | string | ***(Public Preview)*** The base64-encoded image data. |\n| [mimeType](./ai.imageninlineimage.md#imageninlineimagemimetype) | string | ***(Public Preview)*** The MIME type of the image; either `\"image/png\"` or `\"image/jpeg\"`.To request a different format, set the `imageFormat` property in your [ImagenGenerationConfig](./ai.imagengenerationconfig.md#imagengenerationconfig_interface). |\n\nImagenInlineImage.bytesBase64Encoded\n------------------------------------\n\n\u003e This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nThe base64-encoded image data.\n\n**Signature:** \n\n bytesBase64Encoded: string;\n\nImagenInlineImage.mimeType\n--------------------------\n\n\u003e This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nThe MIME type of the image; either `\"image/png\"` or `\"image/jpeg\"`.\n\nTo request a different format, set the `imageFormat` property in your [ImagenGenerationConfig](./ai.imagengenerationconfig.md#imagengenerationconfig_interface).\n\n**Signature:** \n\n mimeType: string;"]]