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