API overview
Gateway base addresses, the list of endpoints and which request format fits a model.
Base URL
OpenAI-compatible tools and SDKs (base URL already includes /v1):
https://llmbox.cc/v1Endpoints
| Endpoint | Description |
|---|---|
POST/v1/chat/completions | Chat Completions — base OpenAI format, streaming supported |
POST/v1/responses | Responses — Codex format, streaming supported |
POST/v1/embeddings | Embeddings — text vectors, billed per input token |
POST/v1/images/generations | Image generation, billed per image |
POST/v1/videos | Create a video job: 202 + id for polling; billed per second on completion |
GET/v1/videos/{id} | Video job status |
GET/v1/videos/{id}/content | Download the finished video — after GET /v1/videos/{id} reports status completed |
POST/v1/text-to-speech/{voice_id} | Text to speech (and /stream) in the ElevenLabs format, billed per character |
POST/v1/speech-to-text | Speech to text, billed per second of audio |
POST/v1/speech-to-speech/{voice_id} | Voice changer (and /stream), billed per second of audio |
POST/v1/sound-generation | Sound effects, billed per second of audio |
POST/v1/music | Music (and /v1/music/stream), billed per second of audio |
POST/v1/audio/speech | Text to speech in the OpenAI format, billed per character |
POST/v1/audio/transcriptions | Transcription in the OpenAI format, billed per second of audio |
GET/v1/voices | Voices; likewise GET/v2/voices, GET/v1/voices/{voice_id}, GET/v1/shared-voices, free |
GET/v1/models | Model catalog (key optional; with a key it also lists models opened to your account) |
GET/v1/models/{id} | A single model by ID (an ID with a slash — as is or with %2F); unavailable — 404 model_not_found |
GET/v1/balance | Current balance (by API key) |
The ElevenLabs-format audio endpoints also take the key in the xi-api-key
header — that is how the ElevenLabs SDK sends it. The base URL for that SDK has
no /v1 (see Audio).
Every request is authorized with a key — see Keys and authentication.
Every response carries an x-request-id header — the same id as request_id
in an error body; include it when contacting support.
Request format and model
The gateway does not translate between request formats: a request to
/v1/chat/completions or /v1/responses reaches the model's
provider in the same format. So a model answers on an endpoint only if its
provider supports that format. If a model returns an error on one text
endpoint, try another — /v1/chat/completions is the most widely supported.
The model type must match the endpoint: an image model on the chat endpoint (and
vice versa) gets 404 model_not_found, just like a model that does not exist.
What the gateway changes in a request
Only supported parameters reach the model, and client identifiers are replaced
with the gateway's — see Request parameters. Your request
headers (for example, OpenAI-Beta) are not passed to the
provider. Send the full conversation history with every request: the gateway
keeps no provider-side state.