POST
/
sound_clone
/
api
/
v1
/
cover
curl --location --request POST 'https://api.myvocal.ai/sound_clone/api/v1/cover' \
--header 'accessKey: xxx' \
--form 'files=@"xxx/xxx.mp3"' \
--form 'voiceId="111"' \
--form 'title="test"' \
--form 'callbackUrl="http://www.google.com"'
# success

{
    "code": 1,
    "message": "Success",
    "data": {
        "webhookId": "7812"
    }
}
accessKey
string
required

You can copy your api-key on https://www.myvocal.ai/profile after you have subscribed to Pro or Business Plan.

Body

voiceId
string
required

Your custom voice’s id or premade voice’s id.

title
string
required

Please do not exceed 32 characters in length.If it is empty, the first 32 characters of target_song will be used as the title.

file
File
required

The target song you want to generate cover version.

Please upload mp3/wav files and do not exceed 50MB.

callbackUrl
string
required

To receive the audio returned after processing is completed.

Response

code
number

Indicates whether the call was successful. 1 if successful.

message
string

When an exception occurs, specific exception information will be provided in the message.

data
object

Includes specific data.