Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 2.83 KB

vertexai.imagenmodelparams.md

File metadata and controls

73 lines (49 loc) · 2.83 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 %}

ImagenModelParams 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.

Parameters for configuring an ImagenModel.

Signature:

export interface ImagenModelParams 

Properties

Property Type Description
generationConfig ImagenGenerationConfig (Public Preview) Configuration options for generating images with Imagen.
model string (Public Preview) The Imagen model to use for generating images. For example: imagen-3.0-generate-002.Only Imagen 3 models (named imagen-3.0-*) are supported.See model versions for a full list of supported Imagen 3 models.
safetySettings ImagenSafetySettings (Public Preview) Safety settings for filtering potentially inappropriate content.

ImagenModelParams.generationConfig

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.

Configuration options for generating images with Imagen.

Signature:

generationConfig?: ImagenGenerationConfig;

ImagenModelParams.model

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 Imagen model to use for generating images. For example: imagen-3.0-generate-002.

Only Imagen 3 models (named imagen-3.0-*) are supported.

See model versions for a full list of supported Imagen 3 models.

Signature:

model: string;

ImagenModelParams.safetySettings

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.

Safety settings for filtering potentially inappropriate content.

Signature:

safetySettings?: ImagenSafetySettings;