Stream synthesized speech
OpenAI-compatible text-to-speech. Use Authorization: Bearer <API_KEY>
and a JSON body. The response is a raw audio byte stream forwarded
progressively (no prediction polling); the negotiated content type is
returned verbatim (audio/mpeg for mp3, audio/pcm;rate=…;channels=…
for pcm). An omitted response_format defaults to mp3.
The accepted model/voice/format set is a curated per-environment
catalog that a model joins only after passing contract qualification;
deepgram/aura-2 is the launch model. An unsupported model, voice, or
format, or a speed/instructions value for a model that does not
support it, returns a 400 without dispatching a synthesis.
This endpoint is independently feature-gated during preview rollout. A disabled deployment returns an OpenAI-shaped 404 without dispatching.
Body
Required. Stable, pseudonymous ID of the real person this request is for. A value that is not a string, is longer than 256 characters, or contains a control character is ignored, and the request is treated as missing. See https://docs.eachlabs.ai/safety-identifier
1 - 256"4b1e7c2a9d0f53e8a6c17b94d2f0e835"
Response
Raw audio byte stream. Bytes are forwarded progressively as the
provider synthesizes them; the content type is the negotiated
format (audio/mpeg or audio/pcm;rate=…;channels=…).
The response is of type file.