One-stop API to upload an audio file and create a cover version. This combines the upload and cover operations into a single request.Credits cost: 15 (older models) / 20 (newer models) — older = sonic-v3-5, sonic-v4; newer = sonic-v4-5, sonic-v4-5-plus, sonic-v5, sonic-v5-5.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/json
Example
{"url":"https://cdn1.suno.ai/5b36a0b8-f96d-496b-aea4-f5cb01d11ba2.mp3","mv":"sonic-v4-5","custom_mode":true,"prompt":"[Verse]\nNew lyrics for the cover\nA different melody\n\n[Chorus]\nCover song cover song\nSing along with me","title":"My Cover Version","tags":"pop,acoustic"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://api.musicapi.ai/api/v1/sonic/upload-cover' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"url": "https://cdn1.suno.ai/5b36a0b8-f96d-496b-aea4-f5cb01d11ba2.mp3",
"mv": "sonic-v4-5",
"custom_mode": true,
"prompt": "[Verse]\nNew lyrics for the cover\nA different melody\n\n[Chorus]\nCover song cover song\nSing along with me",
"title": "My Cover Version",
"tags": "pop,acoustic"
}'