Documentation Index
Fetch the complete documentation index at: https://docs.aiornot.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
- Create an account: Visit aiornot.com and choose any plan that includes the API access you need.
- Locate your API key: Once logged in, head to API tab and click copy the generated key.
- Call appropriate API endpoint: See the API Reference for details.
Authentication
All permissioned endpoints require the API key as a bearer token in theAuthorization header.
Think of it like your password. Anyone with access to this key can make requests to the API
on your behalf, using your quota. Code examples in the API Reference show how to
include the API key in your requests.
Response Serialization
The API returns JSON responses. API Reference shows what that response format looks like for each endpoint. However, there is one critical thing to note when integrating the API into your application: However, we will never remove or rename a field without releasing a new API version. Successful integrations must be resilient to new fields. This allows us to add new information to responses (e.g. a new image generator classification) without breaking existing integrations. To make this more concrete, image you are using pydantic in Python to deserialize the response. At integration time, you might have code that looks like,null) in particular
responses. Some endpoints return null responses for sub-model errors without failing
completely, so long as the primary model was successfully (e.g. quality in the image model).