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."""
    message_id = auto()
    """The ID of a message."""
    style_id = auto()
    """The ID of a style."""
    style_name = auto()
    """The name of a style."""
    collection_id = auto()
    """The ID of a collection."""
    example_id = auto()
    """The ID of an example."""

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.

message_id class-attribute instance-attribute

message_id = auto()

The ID of a message.

style_id class-attribute instance-attribute

style_id = auto()

The ID of a style.

style_name class-attribute instance-attribute

style_name = auto()

The name of a style.

collection_id class-attribute instance-attribute

collection_id = auto()

The ID of a collection.

example_id class-attribute instance-attribute

example_id = auto()

The ID of an example.

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."""

    api_model_state = "model_state"
    """The level of official support by the API."""

api_model_state class-attribute instance-attribute

api_model_state = 'model_state'

The level of official support by the API.