@@ -435,8 +435,11 @@ class PersonGeneration(_common.CaseInSensitiveEnum):
435
435
"""Enum that controls the generation of people."""
436
436
437
437
DONT_ALLOW = 'DONT_ALLOW'
438
+ """Block generation of images of people."""
438
439
ALLOW_ADULT = 'ALLOW_ADULT'
440
+ """Generate images of adults, but not children."""
439
441
ALLOW_ALL = 'ALLOW_ALL'
442
+ """Generate images that include adults and children."""
440
443
441
444
442
445
class ImagePromptLanguage (_common .CaseInSensitiveEnum ):
@@ -5383,7 +5386,8 @@ class GenerateImagesConfig(_common.BaseModel):
5383
5386
)
5384
5387
aspect_ratio : Optional [str ] = Field (
5385
5388
default = None ,
5386
- description = """Aspect ratio of the generated images.
5389
+ description = """Aspect ratio of the generated images. Supported values are
5390
+ "1:1", "3:4", "4:3", "9:16", and "16:9".
5387
5391
""" ,
5388
5392
)
5389
5393
guidance_scale : Optional [float ] = Field (
@@ -5468,7 +5472,8 @@ class GenerateImagesConfigDict(TypedDict, total=False):
5468
5472
"""
5469
5473
5470
5474
aspect_ratio : Optional [str ]
5471
- """Aspect ratio of the generated images.
5475
+ """Aspect ratio of the generated images. Supported values are
5476
+ "1:1", "3:4", "4:3", "9:16", and "16:9".
5472
5477
"""
5473
5478
5474
5479
guidance_scale : Optional [float ]
@@ -6054,7 +6059,8 @@ class EditImageConfig(_common.BaseModel):
6054
6059
)
6055
6060
aspect_ratio : Optional [str ] = Field (
6056
6061
default = None ,
6057
- description = """Aspect ratio of the generated images.
6062
+ description = """Aspect ratio of the generated images. Supported values are
6063
+ "1:1", "3:4", "4:3", "9:16", and "16:9".
6058
6064
""" ,
6059
6065
)
6060
6066
guidance_scale : Optional [float ] = Field (
@@ -6138,7 +6144,8 @@ class EditImageConfigDict(TypedDict, total=False):
6138
6144
"""
6139
6145
6140
6146
aspect_ratio : Optional [str ]
6141
- """Aspect ratio of the generated images.
6147
+ """Aspect ratio of the generated images. Supported values are
6148
+ "1:1", "3:4", "4:3", "9:16", and "16:9".
6142
6149
"""
6143
6150
6144
6151
guidance_scale : Optional [float ]
0 commit comments