POST
/v2/cover/generateGenerate Music Cover API
Generate AI cover images for your music tracks. Consumes 1 credit per request.
POST
https://udioapi.pro/api/v2/cover/generatetips
How it works: generate task, poll status, then fetch images.
Note: URLs are retained for 14 days.
requestHeaders
| name | required | description |
|---|---|---|
Authorization | yes | Bearer token for authentication |
Content-Type | yes | application/json |
requestBody
Request body for cover generation
commonParams
| paramName | paramType | required | description | example |
|---|---|---|---|---|
taskId | string | yes | Original music generation task ID | gen123213213213123bksv |
responses
json
{
"code": 200,
"msg": "success",
"data": {
"taskId": "cover123123213213b880d2"
}
}codeExamples
curl
curl -X POST "https://udioapi.pro/api/v2/cover/generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"taskId": "gen123213213213123bksv"
}'