Skip to main content

Horde Model Reference

Haidra Logo

Build Status PyPI Version Supported Python versions License: AGPL v3

Horde Model Reference is the authoritative source for AI model metadata in the AI-Horde ecosystem: download URLs, SHA-256 checksums, baselines, NSFW flags, and capabilities for image generation, text generation, and utility models used by workers, clients, and services.

It is three things in one package: a set of JSON reference files, a Python library, and a FastAPI service.

Install

pip install horde-model-reference

Quick try

from horde_model_reference import ModelReferenceManager, MODEL_REFERENCE_CATEGORY

manager = ModelReferenceManager()  # auto-fetches from the PRIMARY server, caches in memory

models = manager.get_model_reference(MODEL_REFERENCE_CATEGORY.image_generation)
for name, model in models.items():
    print(f"{name}: {model.baseline}, NSFW={model.nsfw}")

No configuration needed -- the defaults work out of the box. The library runs in read-only REPLICA mode, fetching from models.aihorde.net with automatic fallback to the original GitHub repositories if the PRIMARY server is unreachable.

For the fluent query API (filter, sort, aggregate, merge sources), HTTP API access, deploying your own server, or contributing model data, see the full documentation.

Documentation

Full docs at horde-model-reference.readthedocs.io/en/latest/. Build locally with mkdocs serve.

Runnable examples live in the examples/ directory.

Contributing

Contributions are welcome. Read CONTRIBUTING.md for setup and guidelines, and see the open issues.

Community

License

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE for the full text. If you run a modified version as a network service, you must make your source code available to users. See the GNU AGPL FAQ for details.

Related Projects

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

horde_model_reference-8.2.0.tar.gz (979.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

horde_model_reference-8.2.0-py3-none-any.whl (448.6 kB view details)

Uploaded Python 3

File details

Details for the file horde_model_reference-8.2.0.tar.gz.

File metadata

  • Download URL: horde_model_reference-8.2.0.tar.gz
  • Upload date:
  • Size: 979.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for horde_model_reference-8.2.0.tar.gz
Algorithm Hash digest
SHA256 54edcae96b9d4b901579d1b8919cecfc817c9ed9f38d92c7875aadd283ceae1d
MD5 faa1fca6b2c6c6f697222c81a816fe6f
BLAKE2b-256 cd69375546847b2297ed17be9209f9c673630b29039ed6a4eaa64b6c2c9ff568

See more details on using hashes here.

Provenance

The following attestation bundles were made for horde_model_reference-8.2.0.tar.gz:

Publisher: release.yml on Haidra-Org/horde-model-reference

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file horde_model_reference-8.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for horde_model_reference-8.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 044a4fb262ec2c8a0cd83e05a8014fb114104c5efd4933c252697fd87be6130f
MD5 59ba16ee9fea0d3f34ff14caddd8d5f5
BLAKE2b-256 ff8723970ce1c73e776715f53c38cc2592d8d94f17f3ae513d5f965e958c720b

See more details on using hashes here.

Provenance

The following attestation bundles were made for horde_model_reference-8.2.0-py3-none-any.whl:

Publisher: release.yml on Haidra-Org/horde-model-reference

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

8.2.0 This release

2 files

8.1.0

2 files

8.0.1

2 files

8.0.0

2 files

7.6.1

2 files

7.6.0

2 files

7.5.1

2 files

7.5.0

2 files

7.4.0

2 files

7.3.0

2 files

7.2.0

2 files

7.1.0

2 files

7.0.2

2 files

7.0.1

2 files

7.0.0

2 files

6.0.0

2 files

5.3.3

2 files

5.3.2

2 files

5.3.1

2 files

5.3.0

2 files

5.2.1

2 files

5.2.0

2 files

5.1.1

2 files

5.1.0

2 files

5.0.1

2 files

5.0.0

2 files

4.1.0

2 files

4.0.4

2 files

4.0.3

2 files

4.0.2

2 files

4.0.1

2 files

4.0.0

2 files

3.0.0

2 files

2.1.5

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

2 files

0.10.0

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.1

2 files

0.7.0

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.0

2 files

0.3.0

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.1.1

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.7

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page