/APIXO Docs

Authentication

Learn how to authenticate your API requests

Authentication

All APIXO API requests require authentication using a Bearer token.

Get Your API Key

Create an Account

Sign up at apixo.ai if you haven't already.

Access the Dashboard

Navigate to DashboardAPI Keys.

Generate a Key

Click Create New Key, give it a name, and copy the key immediately.

API keys are only shown once. Store it securely.

Using Your API Key

Include your API key in the Authorization header of every request:

Authorization: Bearer YOUR_API_KEY
curl -X POST https://api.apixo.ai/api/v1/generateTask/nano-banana \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"request_type": "async", "input": {"prompt": "A sunset"}}'

Security Best Practices

Error Responses

If authentication fails, you'll receive:

{
  "code": 401,
  "message": "Invalid or missing API key"
}

Common causes:

  • Missing Authorization header
  • Invalid or revoked API key
  • Key doesn't have permission for the requested model

Next Steps

Now that you're authenticated, try the Quickstart guide to generate your first image.

On this page