Skip to main content
POST
/
producer
/
upload
上传音频
curl --request POST \
  --url https://api.mountsea.ai/producer/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "audioUrl": "https://example.com/song.mp3"
}
'
{
  "taskId": "<string>"
}
Upload an audio file via URL. The uploaded audio can be used for stem separation and other operations.
This is an async task. The response contains a taskId — use Get Task Status to poll for the result, which includes the audioId for subsequent operations.
Supported formats: MP3, WAV, FLAC, M4A, AAC, OGG, WMA, OPUS Duration limit: Maximum 4 minutes
The audioUrl must be a publicly accessible URL. The task result includes auto-transcribed lyrics when available.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
audioUrl
string
required

Audio file URL (http/https supported). Supported formats: .mp3, .wav, .flac, .m4a, .aac, .ogg, .wma, .opus Duration limit: max 4 minutes

Pattern: AUDIO_EXTENSION_REGEX
Example:

"https://example.com/song.mp3"

Response

任务创建成功

taskId
string
required

任务 ID,用于后续查询结果