Parameters for configuring an ImagenModel.
Signature:
export interface ImagenModelParams
Properties
| Property | Type | Description |
|---|---|---|
| generationConfig | ImagenGenerationConfig | Configuration options for generating images with Imagen. |
| model | string | 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 | Safety settings for filtering potentially inappropriate content. |
ImagenModelParams.generationConfig
Configuration options for generating images with Imagen.
Signature:
generationConfig?: ImagenGenerationConfig;
ImagenModelParams.model
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
Safety settings for filtering potentially inappropriate content.
Signature:
safetySettings?: ImagenSafetySettings;