The channel for sending TTS requests and receiving audio responses. Use this WebSocket endpoint to stream text and receive audio in real time.
Synthesize speech with ultra-low latency over a websocket connection. This endpoint serves the Falcon model only.
Choose the Base URL from a table below (Global URL or a Region URL)
Note: Global URL auto-routes to the nearest region. Use it unless you
have a data-residency requirement. api.murf.ai is a
legacy alias that always resolves to us-east and does not
geo-route.
Your Murf API key. Also accepted as api-key, or as an api-key header.
A rejected key completes the HTTP upgrade and then closes the connection
with code 1008 (policy violation) — it is not an HTTP 401.
Only falcon-2 is served over WebSocket (aliases falcon2,
falcon are accepted, case-insensitive). Gen2 is not available on this endpoint.
Audio format of the output. Valid values are WAV, MP3, FLAC, ALAW, ULAW, PCM.
Use PCM to receive headerless little-endian 16-bit samples, avoiding the
placeholder WAV header on the first chunk.