ImagenModelParams interface

Parameters for configuring anImagenModel.

Signature:

exportinterfaceImagenModelParams

Properties

PropertyTypeDescription
generationConfigImagenGenerationConfigConfiguration options for generating images with Imagen.
modelstringThe Imagen model to use for generating images. For example:imagen-3.0-generate-002.Only Imagen 3 models (namedimagen-3.0-*) are supported.Seemodel versions for a full list of supported Imagen 3 models.
safetySettingsImagenSafetySettingsSafety 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 (namedimagen-3.0-*) are supported.

Seemodel 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;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-09 UTC.