Suno Wav API Integration Instructions

SUNO allows us to obtain music in wav format files. This document explains the integration methods for the related API.

The core input parameter for this API is audio_id, which is the song ID generated by the official source; it also optionally supports callback_url for asynchronous callback addresses.

The audio_id we input here is 4e43116a-bf09-472c-8e1c-655eabf02682.

import requests

url = "https://api.acedata.cloud/suno/wav"

headers = {
    "accept": "application/json",
    "authorization": "Bearer YOUR_API_KEY",
    "content-type": "application/json"
}

payload = {
    "audio_id": "4e43116a-bf09-472c-8e1c-655eabf02682"
}

response = requests.post(url, json=payload, headers=headers)
print(response.text)

The result is as follows:

{
  "success": true,
  "task_id": "6a5a2099-d6d3-4930-9709-a30ac5dc7de5",
  "trace_id": "3fa70e81-6bb7-4ca8-b718-dd16a4eda7e8",
  "data": [
    {
      "file_url": "https://cdn.acedata.cloud/suno/41572926-1a7a-41bc-adb8-9431e494c144.wav"
    }
  ]
}

As can be seen, the file_url field in data is the wav format file of the music, which is a publicly accessible CDN address.

About the Persistence of WAV Links The platform will prioritize the persistence of the final WAV file to the Lingxi AI Plaza CDN before returning. The above URL only shows the response format and does not represent a long-term existing real object. The file_url may only retain that address if the CDN persistence is not completed and the original media address can still download a valid WAV file upon immediate verification; when the address has expired or the file verification fails, the request will return a failure or timeout, and will not treat an undownloadable address as a successful result. Please download and properly save it in a timely manner after the task is completed, with the specific retention period subject to the platform's current storage policy.