AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Music generationSuno MJ

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.

POST/suno/mj/submit/upload

Authorization

bearerAuth
AuthorizationBearer <token>

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 from data.music_id.
  • Asynchronous upload: is_async=true. After submission, save data.jobId, then use Retrieve a task to wait for completion. The completed track ID is in data.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.