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 hoursRequest
Make aPOST
request to below endpoint and pass the required parameters as a request body.
curl
Body
json
Body Attributes
Your API Key used for request authorization.
The input text for audio generation.
The conditioning melody for audio generation.
The sampling rate of the generated audio. Lower bound: 10000, Default: 32000. No strict upper bound.
The maximum number of new tokens for audio generation. Range: 256–1024.
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.
Allows you to specify the output format of the generated audio. Options: wav, mp3, flac. Default: wav.
The bitrate of the generated audio file. Higher bitrates improve quality but increase file size. Default: 128k.
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 webhook request.