Endpoints
Both HTTP routes take the same requests as OpenAI’s audio API, so an OpenAI SDK
works once you change
base_url and api_key. GET /v1/models lists both
models. Every answer carries X-Request-Id, errors share one
envelope, and each model keeps a request log you can read:
GET /v2/tts/requests and GET /v2/stt/requests.
Languages and prices
The price is the same on HTTP and on the socket.
First request
Speak a line into a file, then transcribe that file:{"text": "…"}.
Pipecat
Next
TTS quickstart
Voices, formats, streaming and phone audio.
STT quickstart
One clip over HTTP, then live audio over a socket.
Compatibility
Other URLs, browser tokens, and moving from Sarvam.