Skip to main content
POST
This endpoint only accepts JSON and does not upload binary files. Please first upload the audio and obtain a public URL, then fill in audioFilePath. Do not send parameters for version, audio_format, or any other parameters not listed in this article.

Authorizations

string
required
All endpoints require authentication using a Bearer TokenGet an API Key:Visit the API Key management page to get your API KeyAdd the following to the request headers when using it:

Body

string
required
Uploaded to object storage and publicly readable audio HTTP(S) link. The local path is not available, and the blob: URL is also unavailable.
Result: This is an asynchronous task. Obtain task_id upon submission and poll with GET /v1/music/tasks/{task_id}. Use the task_id + audio_index=1 of this task for other operations; upload results may only contain audio_id, not guaranteeing a playable audio_url.

Response

integer
Response status code
array
Returned data array