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 = 0Disallow the inclusion of people or faces in images.
allow_adult = 1Allow generation of adults only.
allow_all = 2Allow generation of people of all ages.