Vertex AI v1 API - Enum ImageConfig.Types.PersonGeneration (3.66.0)

public enum ImageConfig.Types.PersonGeneration

Reference documentation and code samples for the Vertex AI v1 API enum ImageConfig.Types.PersonGeneration.

Enum for controlling the generation of people in images.

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Fields

Name Description
AllowAdult

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

AllowAll

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

AllowNone

Prevents the model from generating images of people.

Unspecified

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