v1

latestOpenAPI 3.1.02026-08-06143234.8 KB
textToSpeech

Stream Speech

Synthesize speech with ultra-low latency over a streaming connection. Choose the Base URL from the URL dropdown (Global URL or a pinned Region)

<Warning> Our legacy Gen2 streaming model is set to be deprecated on 16th August 2026. Please migrate to the latest [Falcon 2](/api/docs/text-to-speech-models/falcon-2) model. </Warning>

Note: Global URL auto-routes to the nearest region.

RegionURLDefault Concurrency
Global (Routes to the nearest server)https://global.api.murf.ai/v1/speech/streamRegion specific concurrency
US-Easthttps://us-east.api.murf.ai/v1/speech/stream15
US-Westhttps://us-west.api.murf.ai/v1/speech/stream2
Indiahttps://in.api.murf.ai/v1/speech/stream2
Canadahttps://ca.api.murf.ai/v1/speech/stream2
South Koreahttps://kr.api.murf.ai/v1/speech/stream2
UAEhttps://me.api.murf.ai/v1/speech/stream2
Japanhttps://jp.api.murf.ai/v1/speech/stream2
Australiahttps://au.api.murf.ai/v1/speech/stream2
EU (Central)https://eu-central.api.murf.ai/v1/speech/stream2
UKhttps://uk.api.murf.ai/v1/speech/stream2
South America (São Paulo)https://sa-east.api.murf.ai/v1/speech/stream2
post/v1/speech/stream

Headers

api-keystring

Request body

modelstring

The model to use for audio output. Defaults to falcon-2 for all the regions except US-East. Valid values: falcon-2, gen2.

<Warning> Our legacy Gen2 streaming model is set to be deprecated on 16th August 2026. Please migrate to the latest [Falcon 2](/api/docs/text-to-speech-models/falcon-2) model. </Warning>
channelTypestring

Valid values: STEREO, MONO

formatstring

Format of the generated audio file.Valid values: MP3, FLAC, WAV, ALAW, ULAW, OGG, PCM

multiNativeLocalestring

This field is superseded by locale field. Please migrate to locale field to ensure compatibility with future API versions.

Specifies the language for the generated audio, enabling a voice to speak in multiple languages natively. Valid values: "en-US", "en-UK", "es-ES", etc. Use the GET /v1/speech/voices endpoint to retrieve the list of available voices and languages.

localestring

Specifies the language for the generated audio, enabling a voice to speak in multiple languages natively. Valid values: "en-US", "en-UK", "es-ES", etc. Use the GET /v1/speech/voices endpoint to retrieve the list of available voices and languages.

pitchinteger

Pitch of the voiceover

rateinteger

Speed of the voiceover

sampleRatenumber double

Valid values are 8000, 16000, 24000, 44100, 48000. Defaults to 24000 for Falcon 2 model and 44100 for Gen2 model.

stylestring

The voice style to be used for voiceover generation.

textstring required

The text that is to be synthesised. e.g. 'Hello there [pause 1s] friend'

variationinteger

Higher values will add more variation in terms of Pause, Pitch, and Speed to the voice. Only available for Gen2 model.

voiceIdstring required

Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).

Response

Ok

TextToSpeechStreamResponse200 required

Empty response body

All 14 operations