POST
/v2/upload-cover/generateUpload Cover Generate API
Upload audio and generate an AI cover version while retaining original melody.
POST
https://udioapi.pro/api/v2/upload-cover/generatetips
Modes: non-custom mode (simple) and custom mode (full control).
Notes: file retention 15 days, poll status every 5-10 seconds, optional callback_url.
requestHeaders
| name | required | description |
|---|---|---|
Authorization | yes | Bearer token for authentication |
Content-Type | yes | application/json |
requestBody
Request body supports simple mode and custom mode
commonParams
| paramName | paramType | required | description | example |
|---|---|---|---|---|
upload_url | string | yes | Public URL of audio file | https://storage.example.com/my-song.mp3 |
model | string | yes | AI model | chirp-v4-5 |
custom_mode | boolean | no | Enable custom mode | false |
make_instrumental | boolean | no | Generate instrumental version | false |
prompt | string | no | Description or lyrics | A calm and relaxing piano track with soft melodies |
style | string | no | Music style | pop, upbeat, electronic |
title | string | no | Song title | Summer Cover |
tags | string | no | Negative tags | Heavy Metal, Upbeat Drums |
gender | string | no | Vocal gender preference | female |
style_weight | number | no | Style adherence strength | 0.65 |
weirdness_constraint | number | no | Creative deviation control | 0.65 |
audio_weight | number | no | Audio feature balance | 0.65 |
callback_url | string | no | Webhook URL for completion notifications | https://api.example.com/webhook/upload-cover |
responses
json
{
"code": 200,
"message": "success",
"workId": "upcov1a2b3c4d5e6f7890abcdef",
"data": {
"task_id": "upcov1a2b3c4d5e6f7890abcdef"
}
}codeExamples
curl
curl -X POST "https://udioapi.pro/api/v2/upload-cover/generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chirp-v4-5",
"upload_url": "https://storage.example.com/my-song.mp3",
"custom_mode": false,
"make_instrumental": false,
"prompt": "A calm and relaxing piano cover with soft melodies"
}'