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.
An image generated by Imagen, stored in a Cloud Storage for Firebase bucket.
This feature is not available yet.
Signature:
export interface ImagenGCSImage
Properties
Property | Type | Description |
---|---|---|
gcsURI | string | (Public Preview) The URI of the file stored in a Cloud Storage for Firebase bucket. |
mimeType | 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. |
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.
Signature:
mimeType: string;