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.
This key is a secret and should be stored securely.
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:We may add additional fields to existing endpoint responses without changing the API version.
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).