Enumeration ProminentPeople

Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. This enum is not supported in Gemini API.

Enumeration Members

ALLOW_PROMINENT_PEOPLE: "ALLOW_PROMINENT_PEOPLE"

Allows the model to generate images of prominent people.

BLOCK_PROMINENT_PEOPLE: "BLOCK_PROMINENT_PEOPLE"

Prevents the model from generating images of prominent people.

PROMINENT_PEOPLE_UNSPECIFIED: "PROMINENT_PEOPLE_UNSPECIFIED"

Unspecified value. The model will proceed with the default behavior, which is to allow generation of prominent people.