Endpoint
Sample Output
Listen to a real sample output: Output File: Download AudioTry it Yourself
Visit the Cover Endpoint Explorer to test it live. Upload your audio, select a voice model, and hear the transformation.Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
audio_url | String | Optional | URL of the audio file to convert. Either audio_url or audio_file must be provided. |
audio_file | UploadFile | Optional | Upload the audio file directly. Either audio_url or audio_file must be provided. |
voice_id | String | Yes | Voice model to convert the audio into. |
pitch | Integer | Optional | Adjust pitch between -12 and 12 semitones. Default is 0 . |
webhook_url | String | Optional | Callback URL for async response. |
Note: You must provide eitheraudio_url
oraudio_file
— not both asNone
.
Sample Request
cURL
Python
Replace{path_to_your_audio_file}
,api_key
, andwebhook_url
before executing.
Sample Response
Success (200 OK)
Common Errors
- 400 Bad Request: The file could not be downloaded from the provided URL.
- 402 Payment Required: Your credit balance is insufficient.
- 422 Unprocessable Entity: No
audio_url
oraudio_file
provided. - 500 Internal Server Error: Something went wrong on our end.
Webhook Response
When the cover conversion completes, the webhook receives:audio_url
.
Payload and Request Formation
Authorizations
Body
multipart/form-data
URL of an audio file to process. Either audio_url or audio_file must be provided.
Example:
"https://example.com/audio.wav"
Audio file to upload and process. Either audio_file or audio_url must be provided.
The ID of the voice model to use for voice transformation.
Example:
"demo-voice-id"
Pitch adjustment for the voice. Range from -12 to 12. Default: 0
Required range:
-12 <= x <= 12
A URL where the result will be sent once processing is completed.
Example:
"https://example.com/callback"