Skip to main content
Make sure you add your s3 details for voice_cloning server, so you can receive image generated in your bucket. Images generated without s3 details being added will be delete after 24 hours
voice_id can be found here.

Request

Make a POST request to below endpoint and pass the required parameters as a request body.
curl
You can either pass init_audio or voice_id. However, if both are passed at the same time the init_audio takes preference.

Body

json

Body Attributes

string
required
Your API Key used for request authorization.
string
required
Text prompt with description of the audio you want to generate.
string
A valid audio URL to be voice-cloned. Minimum length: 4 seconds, Maximum length: 30 seconds.
string
Optional. ID of voice from available list Find Voice IDs Here.
string
default:"english"
The language of the voice. Default: english.
string
default:"neutral"
The emotional tone of the generated voice. Options: neutral, happy, sad, angry, dull. Default: neutral.
boolean
default:"false"
Whether the input sound clip is in base64 format. Default: false.
boolean
default:"false"
Whether you want temporary links (useful if your country blocks access to storage sites). Default: false.
string
Provide a URL to receive a POST API call once the audio generation is complete.
string
This ID is returned in the response to the webhook API call and will be used to identify the request.