POST
/
sound_clone
/
api
/
v1
/
voices
/
vc
curl --location 'https://api.myvocal.ai/sound_clone/api/v1/voices/vc' \
--header 'accessKey: xxx' \
--form 'files=@"xxx/xxx.mp3"' \
--form 'name="111"' \
--form 'callbackUrl="http://www.google.com"'
{
    "code": 1,
    "message": "Success",
    "data": {
        "webhookId": "1701406584rkzy91"
    }
}
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

name
string
required
Please do not exceed 32 characters in length.
files
Files
required

Please provide mp3/wav/m4a files.

A single file cannot exceed 10MB, and up to 25 files can be uploaded.

Please ensure that the total effective duration of the audio (including the parts with human voice, excluding the silent parts) is longer than 1 minute.

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.
curl --location 'https://api.myvocal.ai/sound_clone/api/v1/voices/vc' \
--header 'accessKey: xxx' \
--form 'files=@"xxx/xxx.mp3"' \
--form 'name="111"' \
--form 'callbackUrl="http://www.google.com"'
{
    "code": 1,
    "message": "Success",
    "data": {
        "webhookId": "1701406584rkzy91"
    }
}