Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.64 KB

vertexai.imagengcsimage.md

File metadata and controls

54 lines (36 loc) · 1.64 KB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

ImagenGCSImage interface

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 The URI of the file stored in a Cloud Storage for Firebase bucket.
mimeType string 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

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

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;