Suno v1 · Music
Re-archive for fresh download links
Suno v1 and Suno v2 are separate APIs
Suno v1 has its own task system, different from Suno v2: a submit returns a numeric taskId and results come from the v1 query endpoints; task IDs and result formats are not interchangeable between the two. For the OpenAI-style entry use /v1/audio/generations (model suno_v1).
Audio URLs of older songs expire. This endpoint re-archives songs by ID and returns fresh, expiring links you can download or play.
💡 When to use:Use it when an older song cannot be downloaded or played. A taskId is expanded to all songs of that task; you can also pass ids / urls directly. No credits are charged.
Call (synchronous)
POST/ api/ cqt/ suno/ v1/ audioArchive
Notes
- This endpoint does not consume credits.
- Pick one of the inputs above; other fields are passed through to the upstream as is. At most 12 items per call.
- After expiresAt, call this endpoint again to get a new link. sunoInfo also swaps audio_url for a fresh link automatically once a task has succeeded.
Authorization
AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.
Request body
application/jsontaskIdstring
Task ID submitted through a v1 create endpoint; it is expanded to the song IDs the system recorded (the result must have been queried at least once so the IDs are recorded).
idsarray<string>
List of song clip IDs, up to 12.
urlsarray<string>
List of song audio URLs, up to 12.
audio_idstring
A single song clip ID.
clip_idstring
Alias of audio_id.
itemsarray
A mixed list of IDs and URLs, up to 12 items.
Response Fields
data.resultsarray
Result list in the same order as the request.
okboolean
Whether this item succeeded; failed items carry input and error and no url.
songIdstring
Song clip ID.
urlstring
Fresh downloadable / playable link.
expiresAtstring
Link expiry time (ISO-8601).
cachedboolean
Whether the cache was hit.
bytesnumber
File size in bytes.
contentTypestring
Content type, e.g. audio/mpeg.
durationnumber
Duration in seconds.
Common Errors
| msg | Meaning |
|---|---|
| suno archive 上游返回错误: … | The upstream rejected the archive (for example the song ID does not exist); the reason from the upstream follows the colon. |