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
Copy file name to clipboardExpand all lines: docs-devsite/vertexai.imagenimageformat.md
+69-5Lines changed: 69 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,22 +9,35 @@ overwritten. Changes should be made in the source code at
9
9
https://github.com/firebase/firebase-js-sdk
10
10
{% endcomment %}
11
11
12
-
# ImagenImageFormat interface
12
+
# ImagenImageFormat class
13
+
Defines the image format for images output by Imagen.
14
+
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](./vertexai.imagenmodelparams.md#imagenmodelparams_interface)<!---->.
16
+
13
17
<b>Signature:</b>
14
18
15
19
```typescript
16
-
exportinterfaceImagenImageFormat
20
+
exportdeclareclassImagenImageFormat
17
21
```
18
22
19
23
## Properties
20
24
21
-
| Property | Type | Description |
25
+
| Property | Modifiers | Type | Description |
26
+
| --- | --- | --- | --- |
27
+
| [compressionQuality](./vertexai.imagenimageformat.md#imagenimageformatcompressionquality) | | number | Thelevelofcompression (anumberbetween 0 and 100). |
0 commit comments