API Overview
Akai API provides OpenAI-style compatible endpoints. Send all requests over HTTPS and authenticate with a Bearer token.
Base configuration
text
Base URL: https://ai.akaii.top/v1
Authorization: Bearer YOUR_API_KEY
Content-Type: application/jsonMain endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/models | GET | List models visible to the current key |
/chat/completions | POST | Chat Completions compatible requests |
/responses | POST | Responses compatible requests |
/images/generations | POST | Image generation requests |
Availability depends on key group, model capability, and current service configuration.
Server applications should read keys from environment variables or a secret manager. Do not expose long-lived keys in browser code.