Upload reference audio
Submit a publicly accessible reference-audio URL and obtain a track ID for covers, extensions, or adding vocals.
This API accepts audio_url in JSON, not a Multipart file upload. Use is_async to select synchronous or asynchronous processing.
/suno/mj/submit/uploadAuthorization
bearerAuth Authenticate with Authorization: Bearer your-api-key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
Process the upload result
- Synchronous upload:
is_async=false(default). After success, read the track ID fromdata.music_id. - Asynchronous upload:
is_async=true. After submission, savedata.jobId, then use Retrieve a task to wait for completion. The completed track ID is indata.data.data.musics[].musicId.
status: SUCCESS in an asynchronous submission response only means the task was accepted; it does not mean upload processing is complete. Supply the track ID as music_id to Cover music, Extend music, or Add vocals. A task ID cannot replace a track ID.