Setup Python API Client Interface
The Python API interface is available as a Pip package, which can be installed with the following commands:
pip install wheel
pip install aiohttp
pip install "git+https://github.com/aime-team/aime-api-client-interfaces.git#subdirectory=python"
- Dependencies:
Python 3.8 or higher
aiohttp for asynchronous HTTP requests
requests for synchronous HTTP requests
To verify the installation, you can run a simple test:
from aime_api_client_interface import ModelAPI
model_api = ModelAPI('https://api.aime.info', 'llama4_chat')
version = ModelAPI.get_version()
print(f"AIME API Client Interface version: {version}")