AIHordeclient is a lib to connect to https://aihorde.net/api/v2 and ease plugin development.
There is an official Python-SDK from AIHorde.
pip install aihordeclientIn order to run a simple use and see the client in action, do:
git clone https://github.com/ikks/aihordeclient/
cd aihordeclient
uv venv -p 3.13
source .venv/bin/activate
uv pip install aihordeclient
AIHORDE_API_KEY=<yourapikey> uv run main.pyOn success you will have a webp downloaded file in your temp directory.
This screenshot under Debian, Sway Kitty terminal, uv and using vv to display the image.
Look at https://github.com/ikks/aihordeclient/blob/main/main.py for the simplest sample, for other real use cases, see:
Get an AIHORDE free api_key to run the sample code, once you have installed the package.
Most of the code descends from blueturtleai Gimp 2.10.X plugin initial work.
- AIHorde