Class PersonGeneration (1.144.0)

PersonGeneration(value)

Enum for controlling the generation of people in images.

Enums

Name Description
PERSON_GENERATION_UNSPECIFIED The default behavior is unspecified. The model will decide whether to generate images of people.
ALLOW_ALL Allows the model to generate images of people, including adults and children.
ALLOW_ADULT Allows the model to generate images of adults, but not children.
ALLOW_NONE Prevents the model from generating images of people.

Methods

PersonGeneration

PersonGeneration(value)

Enum for controlling the generation of people in images.