POST
/
sound_clone
/
api
/
v1
/
voices
/
design
Header
Body
curl --location 'https://uat.myvocal.ai/sound_clone/api/v1/voices/design' \
--header 'accessKey: xxx' \
--header 'Content-Type: application/json' \
--data '{
	"text": "The client interacts with users through mobile devices, while the server is responsible for data  in",
	"gender": "female",
	"accent": "indian",
	"age": "old",
	"accentStrength": 1.4
}'
This response is stream.
accessKey
string
required

You can copy your api-key on https://www.myvocal.ai/profile after you have subscribed to Pro or Business Plan.

Body

text
string
required

Please provide a piece of English content that is no less than 100 characters and no more than 500 characters for the purpose of generating a trial audio.

gender
string
required
male
female
accent
string
required
american
british
african
australian
indian
age
string
required
middle_aged
young
old
accentStrength
string
required

The parameter requirement is a decimal between 0 and 2, with increments of 0.1.

Response

Header

Content-Type
string

If the request is successful, this value in the callback is audio/mpeg.

This response is stream.

designId
string

The designId included in the callback when you use Design Voice for TTS_Generate

Body