Google Cloud Ai Platform V1 Client - Class PersonGeneration (1.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]