Skip to main content
Our voice agents speak with Mira TTS and listen with Mira STT, our own speech recognition. You can call both directly. Each model answers over HTTP for one request and over a WebSocket for live audio.

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:
The second command prints the transcript as JSON, {"text": "…"}.

Pipecat

Put them where your STT and TTS services were. See 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.