Class SubjectImageConfig (1.75.0)

SubjectImageConfig(
    subject_description: str,
    subject_type: typing.Literal[
        "SUBJECT_TYPE_DEFAULT",
        "SUBJECT_TYPE_PERSON",
        "SUBJECT_TYPE_ANIMAL",
        "SUBJECT_TYPE_PRODUCT",
    ],
)

Subject image config.

Attributes

Name Description
subject_description str
Subject description for the image.
subject_type Literal['SUBJECT_TYPE_DEFAULT', 'SUBJECT_TYPE_PERSON', 'SUBJECT_TYPE_ANIMAL', 'SUBJECT_TYPE_PRODUCT']
Subject type for the image. Can take the following values: * SUBJECT_TYPE_DEFAULT: Default subject type * SUBJECT_TYPE_PERSON: Person subject type * SUBJECT_TYPE_ANIMAL: Animal subject type * SUBJECT_TYPE_PRODUCT: Product subject type