personGeneration property

String? personGeneration
getter/setter pair

Controls whether the model can generate people.

Optional. Possible string values are:

  • "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.

Implementation

core.String? personGeneration;