Melrose Labs Voice API
FREE
By MelroseLabs
Updated 3 months ago

Melrose Labs Voice API API Documentation

The Voice API is used for text-to-speech, speech-to-text and inbound/outbound voice routing. The Voice API is part of the Voice Gateway from Melrose Labs.

Learn more about this API
Speech-to-Text
POSTConvert speech-to-text
GETRetrieve text
Numbering
POSTAllocate number
GETList available numbers for a country
GETList available numbers for a country/prefix
GETGet endpoint
PUTUpdate number
GETList allocated numbers
DELETERelease telephone number
Text-to-Speech
GETRetrieve audio file
POSTConvert text-to-speech
POSTConvert text-to-speech

Submit text to be converted to speech. Store as MP3 audio file.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
voiceTextSTRING
OPTIONALText (ASCII) to be converted to speech MP3 audio file
voiceSTRING
OPTIONALVoice to be used for text-to-speech. Default is <code>Salli</code> (f) and is an English (en-US) language voice. Other choices include: <code>Zeina</code> (f), Arabic (arb); <code>Celine</code> (f), French (fr-FR). See <a href="https://melroselabs.com/services/voice-gateway/">https://melroselabs.com/services/voice-gateway/</a> for a full list of voices.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication