Skip to content

_styles

StyleType

Bases: StrEnum

An enum representing the different types of styles.

Source code in horde_sdk/ai_horde_api/apimodels/_styles.py
class StyleType(StrEnum):
    """An enum representing the different types of styles."""

    image = auto()
    text = auto()

image class-attribute instance-attribute

image = auto()

text class-attribute instance-attribute

text = auto()

ResponseModelStylesUser

Bases: HordeAPIData

Source code in horde_sdk/ai_horde_api/apimodels/_styles.py
class ResponseModelStylesUser(HordeAPIData):
    name: str
    """The name of the style."""
    id_: str = Field(alias="id")
    """The ID of the style."""
    type_: StyleType = Field(alias="type")
    """The type of the style."""

name instance-attribute

name: str

The name of the style.

id_ class-attribute instance-attribute

id_: str = Field(alias='id')

The ID of the style.

type_ class-attribute instance-attribute

type_: StyleType = Field(alias='type')

The type of the style.