Speech
Convert voice
Converts speech from one voice to another.
POST
Authorizations
Your API key; get it from your LMNT account page.
Body
multipart/form-data
The audio file to be converted into a new voice. Specify source language using the language
parameter. Max file size: 1 MB.
The voice id to convert the speech into. Voice ids can be retrieved by calls to List voices
or Voice info
.
The file format of the audio output
Available options:
aac
, mp3
, mulaw
, raw
, wav
The desired output sample rate in Hz
Available options:
8000
, 16000
, 24000
The language of the source audio. Two letter ISO 639-1 code.
Available options:
en
, es
, pt
, fr
, de
, zh
, ko
, hi
, ja
, ru
, it
, tr
Response
200
application/octet-stream
OK
The response is of type file
.
Was this page helpful?