Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.04 KB

vertexai.imageninlineimage.md

File metadata and controls

57 lines (39 loc) · 2.04 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 %}

ImagenInlineImage interface

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, represented as inline data.

Signature:

export interface ImagenInlineImage 

Properties

Property Type Description
bytesBase64Encoded string (Public Preview) The base64-encoded image data.
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.

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.

Signature:

mimeType: string;