API reference
Aikey365 exposes multiple AI API protocols under one platform. They can share the same account and API key system, but request bodies, Base URLs, and model capabilities differ.
Main routes
| Capability | Route |
|---|---|
| Models | GET /v1/models |
| Chat Completions | POST /v1/chat/completions |
| Legacy Completions | POST /v1/completions |
| Responses | POST /v1/responses |
| Responses Compact | POST /v1/responses/compact |
| Anthropic Messages | POST /v1/messages |
| Embeddings | POST /v1/embeddings |
| Images | POST /v1/images/generations, POST /v1/images/edits |
| Audio | POST /v1/audio/transcriptions, /translations, /speech |
| Rerank | POST /v1/rerank |
| Realtime | GET /v1/realtime over WebSocket |
| Gemini native | /v1beta/models/... |
| Video | /v1/videos, /v1/video/generations |
A route existing does not mean every model supports it.
Recommended integration sequence
- Validate the key with GET /v1/models.
- Send a minimal request using the target protocol.
- Add streaming, tools, vision, or structured output one capability at a time.
- Validate timeout, retry, and logging behavior before production.
Compatibility boundary
Protocol compatibility means Aikey365 can accept or adapt the relevant wire format. It does not imply that every upstream model supports every optional field of that protocol.