Authentication

How to authenticate with Banatie API using API keys.

Early Access

We're currently in early access phase. API keys are issued personally via email.

To request access: Sign up at banatie.app. We'll send your API key within 24 hours.

Using Your API Key

All API requests require the X-API-Key header:

Authenticated Request
curl -X POST https://api.banatie.app/api/v1/generations \
  -H "X-API-Key: your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a sunset over the ocean"}'

Key Types

Banatie uses two types of API keys:

Type
Permissions
Expiration
Use Case
Project KeyImage generation, uploads, images90 daysYour application integration
Master KeyFull admin access, key managementNever expiresServer-side admin operations

You'll receive a Project Key for your application. Master Keys are for administrative operations — you probably don't need one.

API key management dashboard coming soon. For now, contact us if you need to rotate your key.

Next Steps