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
Defines the image format for images output by Imagen.
13
+
Copyright 2025 Google LLC
14
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)<!---->.
15
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
16
+
17
+
http://www.apache.org/licenses/LICENSE-2.0
18
+
19
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
16
20
17
21
<b>Signature:</b>
18
22
@@ -24,20 +28,18 @@ export declare class ImagenImageFormat
24
28
25
29
| Property | Modifiers | Type | Description |
26
30
| --- | --- | --- | --- |
27
-
| [compressionQuality](./vertexai.imagenimageformat.md#imagenimageformatcompressionquality) | | number | Thelevelofcompression (anumberbetween 0 and 100). |
0 commit comments