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 \ ImageConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
PERSON_GENERATION_UNSPECIFIED
Value: 0The 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: 1Allows the model to generate images of people, including adults and children.
Generated from protobuf enum ALLOW_ALL = 1;
ALLOW_ADULT
Value: 2Allows the model to generate images of adults, but not children.
Generated from protobuf enum ALLOW_ADULT = 2;
ALLOW_NONE
Value: 3Prevents the model from generating images of people.
Generated from protobuf enum ALLOW_NONE = 3;