(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.
ImagenGCSImage.gcsURI
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 URI of the file stored in a Cloud Storage for Firebase bucket.
Signature:
gcsURI:string;
Example
"gs://bucket-name/path/sample_0.jpg".
ImagenGCSImage.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-08-07 UTC."],[],[],null,["# ImagenGCSImage 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, stored in a Cloud Storage for Firebase bucket.\n\nThis feature is not available yet.\n\n**Signature:** \n\n export interface ImagenGCSImage \n\nProperties\n----------\n\n| Property | Type | Description |\n|-----------------------------------------------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [gcsURI](./ai.imagengcsimage.md#imagengcsimagegcsuri) | string | ***(Public Preview)*** The URI of the file stored in a Cloud Storage for Firebase bucket. |\n| [mimeType](./ai.imagengcsimage.md#imagengcsimagemimetype) | 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\nImagenGCSImage.gcsURI\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 URI of the file stored in a Cloud Storage for Firebase bucket.\n\n**Signature:** \n\n gcsURI: string;\n\n### Example\n\n`\"gs://bucket-name/path/sample_0.jpg\"`.\n\nImagenGCSImage.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;"]]