Table of Contents

Enum PersonGeneration

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Represents the allowed generation of people by the model.

[JsonConverter(typeof(JsonStringEnumConverter<PersonGeneration>))]
public enum PersonGeneration
Extension Methods

Fields

dont_allow = 0

Disallow the inclusion of people or faces in images.

allow_adult = 1

Allow generation of adults only.

allow_all = 2

Allow generation of people of all ages.

See Also