Files

1.1 KiB

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 %}

ImageConfig interface

Configuration options for generating images with Gemini models.

Signature:

export interface ImageConfig 

Properties

Property Type Description
aspectRatio ImageConfigAspectRatio The aspect ratio of generated images.
imageSize ImageConfigImageSize The size of the generated images.

ImageConfig.aspectRatio

The aspect ratio of generated images.

Signature:

aspectRatio?: ImageConfigAspectRatio;

ImageConfig.imageSize

The size of the generated images.

Signature:

imageSize?: ImageConfigImageSize;