Endpoints
Everything lives under https://leekbox.ai. Authenticate with Authorization: Bearer sk-....
Text
| Protocol | Method / path |
|---|---|
| OpenAI Chat Completions | POST /v1/chat/completions |
| OpenAI Responses | POST /v1/responses |
| Anthropic Messages | POST /v1/messages |
| Gemini GenerateContent | POST /v1beta/models/{model}:generateContent |
| Gemini streaming | POST /v1beta/models/{model}:streamGenerateContent |
Images
| Purpose | Method / path |
|---|---|
| Generate | POST /v1/images/generations |
| Edit / inpaint | POST /v1/images/edits |
Other
| Purpose | Method / path |
|---|---|
| Model list | GET /v1/models |
| Usage | GET /v1/usage |
Auth headers
- OpenAI protocol:
Authorization: Bearer <key> - Anthropic protocol:
x-api-key: <key>plusanthropic-version: 2023-06-01; Bearer also accepted - Gemini protocol:
x-goog-api-key: <key>; Bearer also accepted
Streaming
All text endpoints accept stream: true and return standard SSE, forwarded chunk by chunk without buffering the full answer.