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

Request

Make a POST request to below endpoint and pass the required parameters as a request body.
curl

Body

json

Body Attributes

string
required
Your API Key used for request authorization.
string
required
The input text for audio generation.
string
The conditioning melody for audio generation.
integer
default:"32000"
The sampling rate of the generated audio. Lower bound: 10000, Default: 32000. No strict upper bound.
integer
default:"512"
The maximum number of new tokens for audio generation. Range: 256–1024.
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
default:"wav"
Allows you to specify the output format of the generated audio. Options: wav, mp3, flac. Default: wav.
string
default:"128k"
The bitrate of the generated audio file. Higher bitrates improve quality but increase file size. Default: 128k.
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 webhook request.