Google Cloud Ai Platform V1 Client - Class PersonGeneration (1.60.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PersonGeneration.

Enum for controlling the generation of people in images.

Protobuf type google.cloud.aiplatform.v1.ImageConfig.PersonGeneration

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ImageConfig

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
name
mixed

Constants

PERSON_GENERATION_UNSPECIFIED

  Value: 0 
 

The default behavior is unspecified. The model will decide whether to generate images of people.

Generated from protobuf enum PERSON_GENERATION_UNSPECIFIED = 0;

ALLOW_ALL

  Value: 1 
 

Allows the model to generate images of people, including adults and children.

Generated from protobuf enum ALLOW_ALL = 1;

ALLOW_ADULT

  Value: 2 
 

Allows the model to generate images of adults, but not children.

Generated from protobuf enum ALLOW_ADULT = 2;

ALLOW_NONE

  Value: 3 
 

Prevents the model from generating images of people.

Generated from protobuf enum ALLOW_NONE = 3;

Create a Mobile Website
View Site in Mobile | Classic
Share by: