ImagenInlineImage interface Stay organized with collections Save and categorize content based on your preferences.
An image generated by Imagen, represented as inline data.
Signature:
exportinterfaceImagenInlineImageProperties
| Property | Type | Description |
|---|---|---|
| bytesBase64Encoded | string | The base64-encoded image data. |
| mimeType | string | The MIME type of the image; either"image/png" or"image/jpeg".To request a different format, set theimageFormat property in yourImagenGenerationConfig. |
ImagenInlineImage.bytesBase64Encoded
The base64-encoded image data.
Signature:
bytesBase64Encoded:string;ImagenInlineImage.mimeType
The MIME type of the image; either"image/png" or"image/jpeg".
To request a different format, set theimageFormat property in yourImagenGenerationConfig.
Signature:
mimeType:string;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-09 UTC.