Hosts and authentication
Synthesize speech (HTTP)
POST /v1/rime-tts returns audio bytes in the format named by your Accept header (audio/mpeg, audio/wav, audio/webm;codecs=opus, audio/ogg;codecs=opus, audio/L16, audio/PCMU):
Stream Coda speech over WebSocket
Connect towss://api.rime.ai/coda/ws with rime.v1.json and wait for ready. Send these messages separately to stream a sentence as PCM audio:
audio values as they arrive. Read until done, which leaves the socket open. To interrupt, stop playback and send {"contextId":"turn-1","cancel":{}}.
Use the JSON quickstart for a runnable client and the Coda WebSocket API reference for parameters, events, and binary encoding.
For Mist, use the model-specific WebSocket reference.
List voices
Both voice endpoints are public; no API key required.Check vocabulary coverage (/oov)
Returns the input words that are not in Rime’s pronunciation dictionary:
Normalize text (/textnorm)
Preview exactly how numbers, dates, and phone numbers will be spoken. Note the host: optimize.rime.ai.
Common parameters
Where to go deeper
- API reference index: every endpoint across every model
- WebSocket API overview: endpoint comparison, timestamps, interruption handling
- Build a voice agent: complete apps in Next.js, Vite, Express, plain Node, and FastAPI
- Rime CLI and the hosted MCP server: tooling around this same API

