# HTTP API reference

## Get and manage your API token

1. Open [API Management](https://quickqr.art/app/api-management).
2. Purchase an API credits package in [API Management](https://quickqr.art/app/api-management) to activate a new API key.
3. View and manage your API key in [API Management](https://quickqr.art/app/api-management).

You can review plans and credit pricing on [Pricing](https://docs.quickqr.art/apis/pricing). Purchases are made in [API Management](https://quickqr.art/app/api-management).

Use Discord only if needed:

* Join the Official Discord server: <https://qra.ai/discord>
* Accept the T\&C by sending `/quickqrart` in any bot-enabled channel such as **#pixelml-bot-1**
  * Follow this guide: <https://app.guidde.com/share/playbooks/k9RT4TC4PT5VoPsTsD6VyQ?origin=LyX3ESjrhkRnKyyO9SBB1Mqnjus2>
* You can also check your API key with `/info` in image generation bot channels such as **#pixelml-bot-1**

After activation, test the API with your key. Manage keys and credits anytime in [API Management](https://quickqr.art/app/api-management).

## Authentication

All API requests must be authenticated with a token. Include this header with all requests:

```
x-api-key: <Your API token here>
```

## Documentation

* [Predictions](https://docs.quickqr.art/apis/http-api-reference/predictions)
  * [Outpainting](https://docs.quickqr.art/apis/http-api-reference/predictions/outpainting)
  * [Generate QR Art V5](https://docs.quickqr.art/apis/http-api-reference/predictions/generate-qr-art-v5)
  * [Generate QR Art V5s](https://docs.quickqr.art/apis/http-api-reference/predictions/generate-qr-art-v5s)
* [Rate limits](https://docs.quickqr.art/apis/http-api-reference/rate-limits)
* [Improve the readability of the QR Code Art](https://docs.quickqr.art/user-guide/improve-the-readability-of-the-qr-code-art)
