Text-to-Speech
Text-to-Speech Streaming
Generate a text-to-speech audio using a voice of your choice and returns audio stream.(❗❗❗File-related interfaces are not supported, please use interface tools for requests.)
POST
/
sound_clone
/
api
/
v1
/
tts
/
stream
Header
You can copy your api-key on https://www.myvocal.ai/profile after you have subscribed to Pro or Business Plan.
Body
Your voiceId
Please do not exceed 32 characters in length. If this parameter is null, it will all default to “Untitled_TTS”
The maximum number of characters you can input at once depends on the benefits of your subscription plan.
Please select form:
us_english
original_english
: Generate english tts in the same accent as the audio you uploaded.spanish_es
: Spanish acccent.spanish_la
: Latin American accent.portuguese_pt
: Portuguese accent.portuguese_la
: Latin American accent.german
french
arabic
bahasa
thai
filipino
For some advanced settings, it is generally recommended to use the suggested parameters.
Response
Header
If the request is successful, this value in the callback is audio/mpeg.
This response is stream.