1313// limitations under the License.
1414import 'dart:developer' ;
1515
16- import 'package:meta/meta.dart' ;
17-
1816/// Specifies the level of safety filtering for image generation.
1917///
2018/// If not specified, default will be "block_medium_and_above".
21- @experimental
2219enum ImagenSafetyFilterLevel {
2320 /// Strongest filtering level, most strict blocking.
2421 blockLowAndAbove ('block_low_and_above' ),
@@ -60,7 +57,6 @@ enum ImagenSafetyFilterLevel {
6057/// Allow generation of people by the model.
6158///
6259/// If not specified, the default value is "allow_adult".
63- @experimental
6460enum ImagenPersonFilterLevel {
6561 /// Disallow the inclusion of people or faces in images.
6662 blockAll ('dont_allow' ),
@@ -96,7 +92,6 @@ enum ImagenPersonFilterLevel {
9692/// A class representing safety settings for image generation.
9793///
9894/// It includes a safety filter level and a person filter level.
99- @experimental
10095final class ImagenSafetySettings {
10196 // ignore: public_member_api_docs
10297 ImagenSafetySettings (this .safetyFilterLevel, this .personFilterLevel);
@@ -119,7 +114,6 @@ final class ImagenSafetySettings {
119114/// The aspect ratio for the image.
120115///
121116/// The default value is "1:1".
122- @experimental
123117enum ImagenAspectRatio {
124118 /// Square (1:1).
125119 square1x1 ('1:1' ),
@@ -161,7 +155,6 @@ enum ImagenAspectRatio {
161155}
162156
163157/// Configuration options for image generation.
164- @experimental
165158final class ImagenGenerationConfig {
166159 // ignore: public_member_api_docs
167160 ImagenGenerationConfig (
@@ -202,7 +195,6 @@ final class ImagenGenerationConfig {
202195}
203196
204197/// Represents the image format and compression quality.
205- @experimental
206198final class ImagenFormat {
207199 // ignore: public_member_api_docs
208200 ImagenFormat (this .mimeType, this .compressionQuality);
0 commit comments