Authentication
Learn how to authenticate with the Banan0 API.
Authentication
All API requests require authentication via Bearer token.
API Key Format
bnn_live_... - Use in production, charges tokensbnn_test_... - Use in development, no chargesUsage
Include your API key in the Authorization header:
bash
curl -H "Authorization: Bearer bnn_live_your_key" \
"https://banan0.com/api/v1/models"Creating API Keys
1. Go to [Settings](https://banan0.com/settings)
2. Find "Public API Keys" section
3. Click "Create Key"
4. Configure:
- Name - Descriptive name (e.g., "Production Server")
- Scopes - Permissions the key has
- Rate Limit - Requests per minute (default: 60)
Available Scopes
| Scope | Description |
|---|---|
models:read | List and view model details |
models:run | Execute model runs |
runs:read | View run status and results |
runs:cancel | Cancel running jobs |
webhooks:manage | Create and manage webhooks |