All-Images.ai
My Account
  • Welcome
  • All-Images.ai API
    • Overview
    • Authentication
    • Errors
    • Pagination
    • API Reference
      • Images
      • Images generation
      • API Keys
      • API Keys Webhook
    • API Explorer
  • Integration guide
    • Image generation
      • Create Image generation
      • Lifecycle of Image generation
    • Webhooks
      • Image generation
  • Changelog
    • API
Powered by GitBook
On this page

Was this helpful?

  1. All-Images.ai API

Authentication

PreviousOverviewNextErrors

Last updated 1 year ago

Was this helpful?

The All-Images API uses Personal access tokens to authenticate requests.

You can view and manage your access tokens in the page of your All-Images user account.

To authenticate a request, provide the token in the api-key header of the request:

curl -H "api-key: <your_access_token>" https://api.all-images.ai/v1/api-keys/check

Access tokens are tied to the All-Images user account for which they were created. A token provides the same level of access & privileges that its associated All-Images user account would have.

Please be sure to keep your API access tokens secure! Do not share them in emails, chat messages, client-side code or publicly accessible sites.

If you have accidentally shared an API access token publicly, you can revoke it in the page of your All-Images user account by clicking the "Remove" button beside the token.

API Keys
API Keys