Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::ImageConfig::PersonGeneration (v1.35.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::ImageConfig::PersonGeneration.

Enum for controlling the generation of people in images.

Constants

PERSON_GENERATION_UNSPECIFIED

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

ALLOW_ALL

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

ALLOW_ADULT

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

ALLOW_NONE

value: 3
Prevents the model from generating images of people.