API Reference
Explore every AllModels endpoint, request field, response, and code example.
Choose an endpoint to view its parameters, request body, responses, schemas, and copyable examples.
Use the OpenAPI 3.1 YAML to import the API into client generators, API tools, and other OpenAPI-compatible software.
Endpoints
Health
Liveness probe.
Models
Served model discovery.
Providers
Provider defaults and supported models.
Voices
Provider-aware TTS voice discovery.
Account
Create or access an AllModels account, receive an API key, and add prepaid balance.
ElevenLabs SDK
ElevenLabs-SDK-compatible routes.
Realtime
Direct voice sessions that combine streaming STT, your application, and streaming TTS.
Native TTS/STT
Native-protocol WebSocket streaming routes.
OpenAI SDK
OpenAI JavaScript/Python SDK-compatible audio and realtime routes under `/oai`.
Code examples
- HTTP operations include complete cURL, JavaScript
fetch, and Pythonrequestsexamples. - ElevenLabs-compatible operations also include complete official JavaScript and Python SDK examples.
- OpenAI-compatible operations also include complete official JavaScript and Python SDK examples.
- WebSocket operations include an HTTP upgrade example plus complete Node and Python WebSocket clients.
Using WebSockets
WebSocket reference pages include connection parameters and errors. See the streaming and realtime guide for complete message flows.
