Skip to content

metadata

Request metadata specific to the AI-Horde API.

AIHordePathData

Bases: GenericPathFields

AI Horde specific path data. See parent class for more information.

Source code in horde_sdk/ai_horde_api/metadata.py
class AIHordePathData(GenericPathFields):
    """AI Horde specific path data. See parent class for more information."""

    id_ = "id"
    """A job UUID."""
    user_id = auto()
    """The horde user id."""
    filter_id = auto()
    """The ID of a content filter."""
    team_id = auto()
    """The UUID of a team."""
    worker_id = auto()
    """The UUID of a worker."""
    worker_name = auto()
    """The name of a worker."""
    sharedkey_id = auto()
    """The UUID representing a shared key."""
    model_name = auto()
    """The name of a model."""
    ipaddr = auto()
    """An IP address."""

id_ class-attribute instance-attribute

id_ = 'id'

A job UUID.

user_id class-attribute instance-attribute

user_id = auto()

The horde user id.

filter_id class-attribute instance-attribute

filter_id = auto()

The ID of a content filter.

team_id class-attribute instance-attribute

team_id = auto()

The UUID of a team.

worker_id class-attribute instance-attribute

worker_id = auto()

The UUID of a worker.

worker_name class-attribute instance-attribute

worker_name = auto()

The name of a worker.

sharedkey_id class-attribute instance-attribute

sharedkey_id = auto()

The UUID representing a shared key.

model_name class-attribute instance-attribute

model_name = auto()

The name of a model.

ipaddr class-attribute instance-attribute

ipaddr = auto()

An IP address.

AIHordeQueryData

Bases: GenericQueryFields

AI Horde specific query data. See parent class for more information.

Source code in horde_sdk/ai_horde_api/metadata.py
class AIHordeQueryData(GenericQueryFields):
    """AI Horde specific query data. See parent class for more information."""

    model_state = auto()
    """The level of official support by the API."""

model_state class-attribute instance-attribute

model_state = auto()

The level of official support by the API.