You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| [negativePrompt](./ai.imagengenerationconfig.md#imagengenerationconfignegativeprompt) | string | <b><i>(PublicPreview)</i></b> Adescriptionofwhatshouldbeomittedfromthegeneratedimages.<!-- -->SupportfornegativepromptsdependsontheImagenmodel.<!-- -->Seethe [documentation](http://firebase.google.com/docs/vertex-ai/model-parameters#imagen) for more details.<!-- -->This is no longer supported in the Gemini Developer API ([GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)<!-- -->) in versions greater than <code>imagen-3.0-generate-002</code>. |
| [negativePrompt](./ai.imagengenerationconfig.md#imagengenerationconfignegativeprompt) | string | Adescriptionofwhatshouldbeomittedfromthegeneratedimages.<!-- -->SupportfornegativepromptsdependsontheImagenmodel.<!-- -->Seethe [documentation](http://firebase.google.com/docs/vertex-ai/model-parameters#imagen) for more details.<!-- -->This is no longer supported in the Gemini Developer API ([GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)<!-- -->) in versions greater than <code>imagen-3.0-generate-002</code>. |
> 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.
14
-
>
15
-
16
13
Defines the image format for images generated by Imagen.
17
14
18
15
Use this class to specify the desired format (JPEG or PNG) and compression quality for images generated by Imagen. This is typically included as part of [ImagenModelParams](./ai.imagenmodelparams.md#imagenmodelparams_interface)<!---->.
@@ -27,21 +24,18 @@ export declare class ImagenImageFormat
27
24
28
25
| Property | Modifiers | Type | Description |
29
26
| --- | --- | --- | --- |
30
-
| [compressionQuality](./ai.imagenimageformat.md#imagenimageformatcompressionquality) | | number | <b><i>(PublicPreview)</i></b> Thelevelofcompression (anumberbetween 0 and 100). |
0 commit comments