Music
/v1/audio/generations is an extension of the OpenAI audio family (OpenAI has no music endpoint). It is asynchronous. Everything Suno can do goes through this one entry point; the task field selects what to do.
Create a song
model is suno (default version v6) or a versioned form such as suno-v6, suno-v6-mini, suno-v6-wild, suno/v6. Older version names (suno-v55, suno-v45 …) are still accepted and run as v6. Other values return 400 model_not_found. task defaults to create. Send prompt (a description) or lyrics, and optionally style, title and instrumental. One of prompt or lyrics is required. Unknown fields are passed on to the music channel.
curl https://api.novapi.ai/v1/audio/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "suno",
"prompt": "A calm lo-fi instrumental with vinyl crackle, 78 BPM"
}'Python:
import os, requests
r = requests.post(
"https://api.novapi.ai/v1/audio/generations",
headers={"Authorization": "Bearer " + os.environ["API_KEY"]},
json={
"model": "suno",
"prompt": "A calm lo-fi instrumental with vinyl crackle, 78 BPM"
},
)
print(r.json()) # poll GET /v1/audio/generations/{id} until status is completedOther tasks
Same endpoint, add task to do something else, for example extend a song:
# extend a song: the same endpoint, just add task
curl https://api.novapi.ai/v1/audio/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "suno-v6",
"task": "extend",
"clip_id": "<clip-id>",
"continue_at": 60,
"prompt": "a big final chorus"
}'task takes the same values as the tasks on the Suno docs pages. Case, hyphens and underscores do not matter (upload-extend and upload_extend both work; midi on the docs pages is mdi, export is mp4). An unknown value returns 400. The other fields are the parameters in that task page’s request body, written as they are; snake_case spellings (continue_at) are converted to the native camelCase (continueAt), and if both are given the camelCase one wins. Wherever a task id (taskId) is wanted you can pass the audio_… id you got when creating.
| Group | task |
|---|---|
| Generate | create、extend、cover、upload_extend、upload_cover、use_styles_lyrics、replace_section、replace_auto、add_instrumental、add_vocals、mashup、sample、sound、inspiration、gen_stem_two、gen_stem_all、remaster |
| Helpers | replace_merge、upload、lyrics、upsample_tags、persona、playlist_create、mp4、wav、timeline、downbeats |
| Extensions | mashupLyrics、adjustSpeed、audioCrop、audioFade、mdi、imageGenerate、videoStandaloneGenerate、voicePersona(with _init / _complete)、customModel (with _prepare / _upload / _create) |
| Synchronous | download (returns the result directly, nothing to poll) |
Poll
GET /v1/audio/generations/{id}. The status values are the same as for video: queued, in_progress, completed, failed. On completion data[] lists the generated clips (a Suno request usually yields two); result is the task’s native result.
{
"id": "audio_<task-id>",
"object": "audio.generation",
"model": "suno",
"task": "create",
"status": "completed",
"created_at": <unix-seconds>,
"completed_at": <unix-seconds>,
"error": null,
"data": [
{
"id": "...",
"audio_url": "https://...",
"video_url": "https://...",
"image_url": "https://...",
"title": "...",
"duration": <seconds>,
"tags": "..."
}
],
"result": [ ... the task's native result ... ]
}Tasks that produce no audio (lyrics, persona, timeline, downbeats, stem separation …) leave data as an empty array; read result:
# task = lyrics: no audio, so data is [] and the lyrics are in result
{
"id": "audio_<task-id>",
"object": "audio.generation",
"model": "suno",
"task": "lyrics",
"status": "completed",
"data": [],
"result": [
{ "title": "...", "text": "[Verse] ...", "tags": ["..."], "status": "complete" }
]
}Download a single song (synchronous)
task: "download" restores a song to a complete audio file and stores it on our CDN. It is synchronous: the reply is already completed and there is no id to poll. Name the song with one of clip_id, url or task_id (you can pass the audio_… id, with clip_index choosing which song).
# task = download is synchronous: the reply is already completed, there is nothing to poll
curl https://api.novapi.ai/v1/audio/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "suno", "task": "download", "task_id": "audio_<task-id>", "clip_index": 0 }'
{
"id": "audio_dl_<clip-id>",
"object": "audio.generation",
"task": "download",
"status": "completed",
"data": [{ "id": "<clip-id>", "audio_url": "https://...", "title": "..." }],
"result": { "clipId": "<clip-id>", "url": "https://...", "format": "m4a", "bytes": <int>, "cached": false }
}Suno v1 (suno_v1)
Suno v1 is called through the same entry: model is suno_v1 (default version v55), or a versioned name — suno_v1-v55, suno_v1-v50, suno_v1-v45-plus, suno_v1-v45, suno_v1-v45-lite, suno_v1-v40, suno_v1-v35; every version costs the same. Put suno_v1 (the channel group name) in an API key's allowed scope. It is a separate API from the suno (v2) above: task IDs and clip_ids are not interchangeable.
Music tasks (create, extend, cover, replace_section and so on) accept friendly aliases: prompt = song description, lyrics = lyrics (custom mode), style = style tags, title, instrumental (boolean). clip_id is mapped to the song-ID field each endpoint wants: extend → continue_clip_id, cover and replace_section → cover_clip_id, stems → continue_clip_id, mp4, persona, timeline, downbeats and wav → songId. Every other field uses the v1 native name (see the Suno v1 docs, e.g. continue_at, cover_start_s, infill_lyrics, make_instrumental, vocal_gender, style_weight); when a native field and an alias are both given, the native field wins. Wherever a taskId is wanted you can pass the returned audio_v1_<number> id directly.
# legacy Suno (suno_v1), create: describe the song in one line
curl https://api.novapi.ai/v1/audio/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "suno_v1-v50", "prompt": "a catchy upbeat pop song about summer" }'
# custom mode: lyrics + style + title
curl https://api.novapi.ai/v1/audio/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "suno_v1",
"lyrics": "[Verse] ...",
"style": "pop, upbeat",
"title": "Summer"
}'
# extend a song: task + clip_id (a data[].id from an earlier result) + the v1 native continue_at
curl https://api.novapi.ai/v1/audio/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "suno_v1", "task": "extend", "clip_id": "<clip-id>", "continue_at": 60, "style": "pop, upbeat" }'
# poll with the id from the create reply
curl https://api.novapi.ai/v1/audio/generations/audio_v1_<number> \
-H "Authorization: Bearer $API_KEY"task defaults to create; v1 endpoint names (such as createMusicTask) are accepted too, and case, hyphens and underscores do not matter. Values:
| Kind | task |
|---|---|
Asynchronous (returns audio_v1_<number>, poll it) | create, extend, cover, replace_section, from_audio, from_audio_id, artist, remix_extend, generate, generate_extend, replace_merge, gen_stem_two, gen_stem_all, upload, lyrics, mp4 |
Synchronous (the create reply is already completed, not pollable) | persona, timeline, downbeats, wav, upsample_tags, image_generate, archive |
The create reply has status queued and an id of the form audio_v1_<number>; poll GET /v1/audio/generations/{id}, with the same status values (queued, in_progress, completed, failed). When completed, data[] lists the songs (usually two, each with id, audio_url, video_url, image_url, title, duration, tags); the clip_id that extend and cover need is the id here, and result is the native result. On failure error.message is the reason and the credits are refunded automatically. A synchronous task has an id like audio_v1_<task>_<random>, cannot be polled, and carries its result in result.
# create reply: queued, poll with the id
{
"id": "audio_v1_<number>",
"object": "audio.generation",
"model": "suno_v1",
"task": "create",
"status": "queued",
"created_at": <unix-seconds>,
"data": []
}
# poll, completed: data[] lists the songs (usually two), result is the native result
{
"id": "audio_v1_<number>",
"status": "completed",
"data": [
{ "id": "<clip-id>", "audio_url": "https://...", "video_url": "...", "image_url": "...", "title": "...", "duration": <seconds>, "tags": "..." }
],
"result": [ ... ]
}
# poll, failed: the reason is in error.message, credits are refunded
{
"id": "audio_v1_<number>",
"status": "failed",
"error": { "code": "audio_generation_failed", "message": "..." }
}
# synchronous task (persona / timeline / downbeats / wav / upsample_tags / image_generate / archive):
# the create reply is already completed and the id is not pollable
{
"id": "audio_v1_<task>_<random>",
"task": "persona",
"status": "completed",
"data": [],
"result": { ... }
}Errors are OpenAI error bodies: 402 not enough credits, 400 invalid parameters or no price configured for that task, 403 the key's scope does not include suno_v1, 502 upstream error.
Notes
- Ids of asynchronous tasks start with
audio_and can only be read by the account that created them. - A failed task has
error.codeset toaudio_generation_failed; a faileddownloadreturns an HTTP error and any charge is refunded. - Full parameters, response fields and common failure reasons for each task are on the matching task page of the Suno docs, which shows both the OpenAI form and the native form. Prices are on the pricing page.
- The Suno v1 upstream currently has no usable generation capacity (checked 2026-11-06): create, extend and cover fail with
No available tokenand are refunded automatically; the song structure indata[]after success has not been checked against real data. See “What has been verified” on the Suno v1 docs page.