Suno songs API
Send a prompt, your own lyrics, a reusable Voice or a link to your own audio, and
get two or more song candidates you can play while they generate and download when
they finish. All endpoints live under https://api.omnapi.com/api/v1/suno/.
- Authenticate every request with
x-api-key. Song creation needs thetask:createscope; reads needtask:read. - Every paid operation is an asynchronous Task. Song creation also returns a Generation, which tracks the song candidates.
- The receipt usually arrives in 2–4 seconds, and a clip can play before the song is finished.
- Prices are fixed per operation. There is no quote or preflight step.
Models
Section titled “Models”Generation models
Section titled “Generation models”Send one of these values in model. When you omit it, the song runs on
chirp-hawk.
model value | Generation | Best for | Standard credits | Voice (vox) mode |
|---|---|---|---|---|
chirp-hawk | v6 Pro (default) | Best overall quality | 28 | Yes, with account permission |
chirp-hawk-wild | v6-wild Pro | More adventurous, less predictable output | 28 | Yes, with account permission |
chirp-goose | v6-mini | Lower price | 25 | Yes, with account permission |
Older model names are still accepted, including underscore spellings:
chirp-auk-turbo runs on chirp-goose (25 credits); chirp-v4, chirp-auk,
chirp-bluejay, chirp-crow and chirp-fenix run on chirp-hawk (28 credits).
The name you send keeps its pricing and appears on the Task; the clip reports the
model that actually generated it. An omitted model is billed as chirp-fenix.
chirp-v3-5 is retired, and remaster-only models cannot be selected. Send the
bare value here; the generic Task API uses full paths such as
suno/chirp-hawk/text-to-music-simple. See all models.
Song modes and operations
Section titled “Song modes and operations”| What you start from | Request | You get |
|---|---|---|
| A text prompt | POST /songs with mode: "simple" (requires prompt) | New song candidates |
| Your lyrics and a style | POST /songs with mode: "custom" (requires lyrics or prompt) | New song candidates |
| A reusable public Voice | POST /songs with mode: "vox" (requires voiceId and generation text) | Candidates sung by that Voice |
| Your own audio, continued | POST /songs with mode: "upload-extend" (requires audio.url) | A continuation of your audio |
| Your own audio, reinterpreted | POST /songs with mode: "upload-cover" (requires audio.url) | A cover of your audio |
| An existing Suno clip, continued | POST /clips/{clipId}/derive with action: "extend" | Continuations plus one complete joined song |
| An existing Suno clip, reinterpreted | POST /clips/{clipId}/derive with action: "cover" | Cover candidates |
Use /songs when the source is text, a Voice or audio that is not yet a Suno clip.
Use /clips/{clipId}/derive when the source is already a Suno clip. Upload modes
import and generate in one billable operation; there is no standalone upload.
Extend includes the join (Concat) in the same Task and charge.
There is no public standalone Concat endpoint.
To create a Voice, see Suno Voices.
Pricing
Section titled “Pricing”| Operation | Standard credits |
|---|---|
Song or derive (Extend, Cover) with chirp-hawk or chirp-hawk-wild | 28 |
Song or derive with chirp-goose | 25 |
| Lyrics, one or two candidates | 0 |
| Aligned lyrics timeline | 1 |
| Generation, clip, audio analysis and style reads | 0 |
| M4A export | 1 |
| MP3 export | 2 |
| WAV export | 3 |
| Stems: all twelve groups / one named stem | 140 / 56 |
| Voice from your clip / from verified recordings | 5 / 66 |
| Long-term audio storage | 20 per GB-month, see Storage |
Example: one chirp-hawk song (28), a WAV export of the chosen clip (3) and its
aligned lyrics (1) cost 32 standard credits. Song creation already includes M4A
delivery, so you do not pay the 1-credit M4A export for a new song.
Your account can have customer pricing, so do not hard-code these numbers. Read
GET /api/v1/pricing/catalog before showing a price, and treat creditsRequired
and pricing on the create receipt as the price of that Task. Suno does not use
quote, preflight or maxCredits.
A paid Task that ends FAILED or CANCELLED for a technical reason follows the
shared refund rules. The terminal Task shows refunded; never
infer billing from the HTTP status. Subjective music quality is not a refund
reason. You must hold the rights to the prompts, lyrics, recordings and audio
you send.
How it works
Section titled “How it works”- Optional: check availability.
GET /api/v1/suno/availabilityreturnsavailable,degraded,unavailableorunknown, plusretryAfterSec. Use it to enable or disable paid actions in your UI; the create receipt and the Task outcome remain authoritative. - Create. Generate an
Idempotency-Key, save it with the exact body, thenPOST /api/v1/suno/songs. The request waits up to 15 seconds for Suno to acknowledge it; the receipt usually arrives in 2–4 seconds and already listsclipIds. SendPrefer: respond-asyncto skip the wait. If the wait runs out, you still get the same receipt, not a gateway timeout. - Follow the Generation. Poll
viewUrlevery few seconds, or receive a webhook and then read the Generation. Play a clip as soon as it is playable. - Confirm the Task. Read
pollUrluntil the Task isCOMPLETED,FAILEDorCANCELLEDfor the final status and charge. - Keep the output. Download
audioUrlwithout your API key, then use theclipIdfor exports, timed lyrics, Extend, Cover or a Voice.
IDs to save
Section titled “IDs to save”| ID | What it identifies | Use it with |
|---|---|---|
taskId | Execution and billing | /api/v1/tasks/{taskId}, cancellation, webhooks |
generationId | The song product; currently equal to taskId | /api/v1/suno/generations/{generationId} |
clipId | One Suno clip (the legacy mid) | Clip reads, Extend, Cover, exports, Voices, Music Video |
Asset id | One retained file | Asset downloads |
Never send a taskId where a clipId is required. Take clip IDs from clipIds
or clips[].clipId.
Retries and idempotency
Section titled “Retries and idempotency”Replaying the same route, body and Idempotency-Key returns the same Task and
Generation and never creates a second paid song. After a timeout or network
error, replay with the original key; do not generate a new one. A failed Task
with retryable: true allows a new request with a new key; it does not
restart the old Task. A cancelled or still-running Task does not. See
Task recovery.
Webhooks
Section titled “Webhooks”Set config.webhookUrl on song, derive, lyrics, export or Voice creation to
receive the shared task.* events. Verify the signature first. The payload
describes the Task, so read the Generation afterwards for current clips and
playback URLs. There is no separate Suno stream to keep open. See
Webhook events.
Quickstart
Section titled “Quickstart”This creates one chirp-hawk song for 28 standard credits. Set OMNAPI_KEY to a
key with task:create and task:read from your dashboard.
1. Create a song
Section titled “1. Create a song”Generate the key once for this job and save it with the body. Reuse both for any retry.
export REQUEST_KEY="$(uuidgen)"curl --fail-with-body -X POST https://api.omnapi.com/api/v1/suno/songs \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "mode": "simple", "prompt": "upbeat city pop, bright guitars, summer night drive", "model": "chirp-hawk" }'Receipt (200, excerpt):
{ "taskId": "task_01J...", "generationId": "task_01J...", "status": "PROCESSING", "clipIds": [ "clip_a", "clip_b" ], "deliveryStatus": "submitted", "pollUrl": "/api/v1/tasks/task_01J...", "viewUrl": "/api/v1/suno/generations/task_01J...", "creditsRequired": 28}Save taskId, generationId and clipIds. The receipt means the song was
accepted, not finished.
2. Poll the Generation
Section titled “2. Poll the Generation”export GENERATION_ID="replace-with-your-generation-id"curl "https://api.omnapi.com/api/v1/suno/generations/$GENERATION_ID" \ -H "x-api-key: $OMNAPI_KEY"Each entry in clips[] moves independently. Start playback when a clip has
playable: true and a non-null playback.url; do not wait for the other
candidates. audioUrl can stay null during live playback, so do not use it as
the readiness check. Resolve a relative playback.url against
https://api.omnapi.com and use it as an <audio src>, without an API key. No
SSE subscription or separate playback-session request is required. Wait at least
playback.retryAfterMs between polls, and read the Generation again after
playback.expiresAt. Details: Play while a song is generating.
3. Read the clip
Section titled “3. Read the clip”When a clip’s deliveryStatus is complete, read it:
export CLIP_ID="replace-with-a-completed-clip-id"curl "https://api.omnapi.com/api/v1/suno/clips/$CLIP_ID" \ -H "x-api-key: $OMNAPI_KEY"Download audioUrl without your API key and keep a copy before it expires (see
download expiry and retention). Then read
pollUrl until the Task is terminal to confirm the final charge.
Complete Python program
Section titled “Complete Python program”The Python program does all of the above with the standard library: it saves the key and body before submitting, saves the returned IDs, and polls for up to 45 minutes. Run it again with the same job file to resume; a local timeout does not cancel the server Task. Do not run two processes on one job file, and keep it private.
curl --fail https://docs.omnapi.com/examples/suno_song.py -o suno_song.pypython3 suno_song.py song-job.jsonFor TypeScript and resumable polling, see integration examples.
Examples
Section titled “Examples”All examples use a saved REQUEST_KEY as in the Quickstart.
Use a new key for each new job. Replace example audio URLs with your own.
Custom lyrics
Section titled “Custom lyrics”Use custom when you have lyrics and want to steer the style.
curl -X POST https://api.omnapi.com/api/v1/suno/songs \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "mode": "custom", "lyrics": "[Verse]\nNeon rain on the station floor...", "tags": "city pop, warm bass, female vocal", "title": "Late Train", "model": "chirp-hawk" }'Reusable Voice
Section titled “Reusable Voice”Use vox to sing new lyrics with a public Voice. The voiceId is the whole
reference; no source clip is needed.
curl -X POST https://api.omnapi.com/api/v1/suno/songs \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "mode": "vox", "voiceId": "voice_public_123", "lyrics": "[Verse]\nSing this with the reusable voice...", "tags": "warm acoustic pop" }'Upload and extend your audio
Section titled “Upload and extend your audio”Use upload-extend to continue audio you own from continueAt seconds.
curl -X POST https://api.omnapi.com/api/v1/suno/songs \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "mode": "upload-extend", "audio": { "url": "https://example.com/source.wav", "extensionType": "wav" }, "continueAt": 60, "prompt": "continue into a larger final chorus", "title": "Extended Demo" }'Upload and cover your audio
Section titled “Upload and cover your audio”Use upload-cover to reinterpret audio you own in another style.
curl -X POST https://api.omnapi.com/api/v1/suno/songs \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "mode": "upload-cover", "audio": { "url": "https://example.com/source.mp3", "extensionType": "mp3" }, "prompt": "reinterpret this as warm acoustic pop", "tags": "acoustic pop, intimate vocal" }'Extend or cover an existing clip
Section titled “Extend or cover an existing clip”Use derive when the source is already a Suno clip. Extend joins the
continuation into one complete song in the same Task; when it completes, use
the clip with role: "final". The alternatives keep role: "candidate".
curl -X POST https://api.omnapi.com/api/v1/suno/clips/clip_123/derive \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "action": "extend", "continueAt": 58.5, "prompt": "build into a final chorus" }'For a cover, send "action": "cover" and omit continueAt.
Export audio
Section titled “Export audio”Export one completed clip as m4a, mp3 or wav. Explicit M4A export costs 1
credit, MP3 export costs 2 standard credits (made from the managed M4A), and WAV
costs 3. Poll the returned Task for the file.
curl -X POST https://api.omnapi.com/api/v1/suno/clips/clip_123/export \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "format": "wav" }'Send { "format": "m4a" } or { "format": "mp3" } for the other formats. Use
the MP3 resource OmnAPI returns; do not build historical Suno MP3 URLs.
Export stems
Section titled “Export stems”stemsMode: "twelve" (the default) separates the full song into twelve groups.
stemsMode: "extract" isolates or removes one named stem with Suno’s native
separator.
curl -X POST https://api.omnapi.com/api/v1/suno/clips/clip_123/export \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "format": "stems", "stemsMode": "extract", "stemName": "Drum Kit" }'stemsMode | Output | Credits |
|---|---|---|
twelve | Full separated-track set; default | 140 |
extract | Isolate/remove one named stem; requires one of the 98 allowed stemName values | 56 |
See stem names for the list and stem results.
Generate lyrics
Section titled “Generate lyrics”Use /lyrics for lyric text without a song. candidates: 2 returns two
independent candidates in one Task at no extra cost. For a structured package
with sections and a music prompt, see Lyrics.
curl -X POST https://api.omnapi.com/api/v1/suno/lyrics \ -H "x-api-key: $OMNAPI_KEY" \ -H "Idempotency-Key: $REQUEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "bittersweet indie pop about moving away", "candidates": 2 }'Read timed lyrics, analysis and styles
Section titled “Read timed lyrics, analysis and styles”Use these reads for karaoke, subtitles, editors and prompt suggestions.
curl https://api.omnapi.com/api/v1/suno/clips/clip_123/timeline \ -H "x-api-key: $OMNAPI_KEY"curl https://api.omnapi.com/api/v1/suno/clips/clip_123/audio-analysis \ -H "x-api-key: $OMNAPI_KEY"curl "https://api.omnapi.com/api/v1/suno/styles/recommend?exclude=metal,opera" \ -H "x-api-key: $OMNAPI_KEY"- Timeline (1 credit):
words[]withword,start,endand optional confidence;lines[]with timing, optional section and nestedwords[]; andwaveform_data. - Audio analysis (free):
outputResults: { clipId, downbeats, key, waveform }. - Style recommendations (free):
outputResults: { recommendStyles }. The optional comma-separatedexcludelist removes up to 50 styles.
Parameters
Section titled “Parameters”Song creation fields
Section titled “Song creation fields”Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
Only the listed fields are accepted in this object.
-
Request ·
modeRequiredstringGeneration mode. Vox accepts the three v6 generation models with account-specific permission checks; unsupported model combinations are rejected before task creation. Upload modes atomically import the supplied audio and then Extend or Cover it; standalone upload is not exposed.
Pattern: ^(simple|custom|vox|upload-extend|upload-cover)$.
-
Request ·
audioOptionalobjectPublic audio source and format information.
Only the listed fields are accepted in this object.
2 fields
-
Request ·
audio.urlRequiredstringPublicly retrievable audio URL used only by upload-extend or upload-cover.
Format: uri.
-
Request ·
audio.extensionTypeOptional"mp3" | "wav" | "m4a" | "flac" | "ogg"Audio filename or media extension hint.
-
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
1 field
-
Request ·
config.metadata[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
Request ·
continueAtOptionalnumberTimestamp in seconds to continue from. Values beyond the source duration are forwarded unchanged and Suno continues from the clip end.
Minimum: 0.
-
Request ·
continuedAlignedPromptOptionalstringAligned continuation prompt used for an Extend operation.
Maximum characters: 5000.
-
Request ·
controlSlidersOptionalobjectOptional bounded generation-control weights.
3 fields
-
Request ·
controlSliders.audio_weightOptionalnumberSource-audio adherence weight from 0 to 1.
Minimum: 0. Maximum: 1.
-
Request ·
controlSliders.style_weightOptionalnumberStyle adherence weight from 0 to 1.
Minimum: 0. Maximum: 1.
-
Request ·
controlSliders.weirdness_constraintOptionalnumberCreative-variation constraint from 0 to 1.
Minimum: 0. Maximum: 1.
-
-
Request ·
instrumentalOptionalbooleanWhether to generate an instrumental result.
-
Request ·
lyricsOptionalstringLyrics or lyric context supplied to the operation.
Maximum characters: 5000.
-
Request ·
modelOptional"chirp-hawk" | "chirp-hawk-wild" | "chirp-goose" | "chirp-auk-turbo" | "chirp-v4" | "chirp-auk" | "chirp-bluejay" | "chirp-crow" | "chirp-fenix"Current models: chirp-hawk, chirp-hawk-wild, chirp-goose. Legacy generation names and underscore spellings remain accepted: auk-turbo executes on goose; v4, auk, bluejay, crow and fenix execute on hawk. Requested model pricing and the legacy feature envelope are preserved. Omitted model retains the chirp-fenix pricing identity and executes on chirp-hawk.
Default: "chirp-fenix".
-
Request ·
promptOptionalstringPrimary creative or operation instruction.
Maximum characters: 5000.
-
Request ·
titleOptionalstringOptional customer-facing title.
Maximum characters: 100.
-
Request ·
voiceIdOptionalstringReusable public Suno Voice identifier.
Rules the schema cannot express:
simplerequiresprompt.customrequireslyricsorprompt.voxrequiresvoiceIdplus generation text. Upload modes requireaudio.url; other generation fields are optional.audio.urlmust be a public HTTPS URL to audio you own or have licensed;audio.extensionTypeismp3,wav,m4a,flacorogg.continueAtandcontinuedAlignedPromptapply only toupload-extend.tagsandnegativeTagsare positive and excluded style hints.instrumentalmust be a boolean, not the string"false".controlSliders.style_weightsets how strictly the output follows the style hint,controlSliders.audio_weighthow closely it follows source audio, andcontrolSliders.weirdness_constrainthow experimental it is. Each is 0–1; values outside that range return400 VALIDATION_ERROR, anderror.details.issues[]names the field, such asbody.controlSliders.style_weight.- Unknown fields and unsupported modes are rejected.
Derive fields
Section titled “Derive fields”Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
Only the listed fields are accepted in this object.
-
Request ·
actionRequired"extend" | "cover"extend continues an existing clip and automatically concatenates the selected continuation into one final song; cover reinterprets an existing clip.
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
1 field
-
Request ·
config.metadata[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
Request ·
continueAtOptionalnumberTimestamp in seconds to continue from. Values beyond the source duration are forwarded unchanged and Suno continues from the clip end.
Minimum: 0.
-
Request ·
continuedAlignedPromptOptionalstringOptional aligned continuation prompt for action=extend.
Maximum characters: 5000.
-
Request ·
controlSlidersOptionalobjectOptional bounded generation-control weights.
3 fields
-
Request ·
controlSliders.audio_weightOptionalnumberSource-audio adherence weight from 0 to 1.
Minimum: 0. Maximum: 1.
-
Request ·
controlSliders.style_weightOptionalnumberStyle adherence weight from 0 to 1.
Minimum: 0. Maximum: 1.
-
Request ·
controlSliders.weirdness_constraintOptionalnumberCreative-variation constraint from 0 to 1.
Minimum: 0. Maximum: 1.
-
-
Request ·
isInstrumentalOptionalbooleanOptional instrumental intent for the derived result.
-
Request ·
isRemixOptionalbooleanOptional remix intent for the derived result.
-
Request ·
modelOptional"chirp-hawk" | "chirp-hawk-wild" | "chirp-goose" | "chirp-auk-turbo" | "chirp-v4" | "chirp-auk" | "chirp-bluejay" | "chirp-crow" | "chirp-fenix"Current models: chirp-hawk, chirp-hawk-wild, chirp-goose. Legacy generation names and underscore spellings remain accepted: auk-turbo executes on goose; v4, auk, bluejay, crow and fenix execute on hawk. Requested model pricing and the legacy feature envelope are preserved. Omitted model retains the chirp-fenix pricing identity and executes on chirp-hawk.
Default: "chirp-fenix".
-
Request ·
promptOptionalstringPrimary creative or operation instruction.
Maximum characters: 5000.
-
Request ·
titleOptionalstringOptional customer-facing title.
Maximum characters: 100.
The path takes a clipId, never a Task ID. action is extend or cover.
The body reuses the song fields prompt, tags, negativeTags, title,
model, controlSliders and config, but uses isInstrumental instead of
instrumental and adds isRemix. continueAt and continuedAlignedPrompt
apply to Extend; a continueAt beyond the clip’s length continues from its end.
Export fields
Section titled “Export fields”Export a managed M4A (1 credit), MP3 (2 credits), WAV file, or managed separated stems from an existing clip.
These groups describe alternative shapes of the same JSON value, not extra wrapper fields. Field names below are actual JSON paths.
Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
Use a complete option below; the value must satisfy at least one option.
-
Request ·
Option 1 — format = "wav"OptionobjectOnly the listed fields are accepted in this object.
2 fields
-
Request ·
formatRequired"wav"Requested output format discriminator.
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
1 field
-
Request ·
config.metadata[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
-
Request ·
Option 2 — format = "m4a"OptionobjectOnly the listed fields are accepted in this object.
2 fields
-
Request ·
formatRequired"m4a"Export an M4A audio file. New managed deliveries have a 14-day retention period and renewable signed URLs; existing permanent delivery rights are preserved. Your account pricing applies to separately requested exports. Automatic audio delivery for a Suno creation task has no additional charge.
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
1 field
-
Request ·
config.metadata[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
-
Request ·
Option 3 — format = "mp3"OptionobjectOnly the listed fields are accepted in this object.
2 fields
-
Request ·
formatRequired"mp3"2-standard-credit MP3 export. Use the returned URL; do not construct download URLs. For managed assets, inspect retainedUntil and refresh expiring URLs through asset reads.
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
1 field
-
Request ·
config.metadata[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
-
Request ·
Option 4 — format = "stems"OptionobjectOnly the listed fields are accepted in this object.
4 fields
-
Request ·
formatRequired"stems"Separated audio tracks.
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
1 field
-
Request ·
config.metadata[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
Request ·
stemNameOptional"Lead Vocal" | "Drum Kit" | "Kick" | "Snare" | "Risers" | "Bass" | "Backing Vocals" | "Piano" | "Electric Guitar" | "Percussion" | "String Section" | "Synth" | "Acoustic Guitar" | "Sound Effects" | "Synth Pad" | "Synth Bass" | "Guitar" | "Brass Section" | "Organ" | "Electronic Drum Kit" | "Lead Electric Guitar" | "Synth Keys" | "Rhythm Electric Guitar" | "Electric Piano" | "Upright Bass" | "Keyboards" | "Distorted Electric Guitar" | "Synth Strings" | "Synth Lead" | "Woodwinds" | "Rhythm Acoustic Guitar" | "Flute" | "Harp" | "Tambourine" | "Trumpet" | "Arpeggiator" | "Accordion" | "Fiddle" | "Pedal Steel Guitar" | "Synth Voice" | "Violin" | "Digital Piano" | "Synth Brass" | "Mandolin" | "Choir" | "Banjo" | "Bells" | "Clarinet" | "Tenor Saxophone" | "Trombone" | "Shaker" | "French Horn" | "Glockenspiel" | "Electric Bass" | "Cello" | "Timpani" | "Harmonica" | "Marimba" | "Vibraphone" | "Lap Steel Guitar" | "Saxophone" | "Orchestra" | "Horns" | "Cymbals" | "Hand Clap" | "Oboe" | "Celesta" | "Congas" | "Drone" | "Alto Saxophone" | "Double Bass" | "Ukulele" | "Harpsichord" | "Baritone Saxophone" | "Xylophone" | "Tuba" | "Bass Guitar" | "Whistle" | "Lead Guitar" | "Rhodes" | "808" | "Bongos" | "Bassoon" | "Cowbell" | "Viola" | "Sitar" | "Steel Drums" | "Piccolo" | "Theremin" | "Bagpipes" | "Hi-Hat" | "Music Box" | "Melodica" | "Tabla" | "Koto" | "Djembe" | "Taiko" | "Didgeridoo"Required for stemsMode=extract. Use one exact canonical value from this enum.
-
Request ·
stemsModeOptional"twelve" | "extract"twelve = full split (140 standard credits, default); extract = isolate/remove one named stem (56 standard credits). Suno no longer supports two.
-
format selects exactly one variant: m4a, mp3, wav or stems. Send
stemsMode only with stems, and stemName only with stemsMode: "extract".
The former two mode is not accepted.
Lyrics fields
Section titled “Lyrics fields”Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
Only the listed fields are accepted in this object.
-
Request ·
promptRequiredstringPrimary creative or operation instruction.
Maximum characters: 3000.
-
Request ·
candidatesOptional1 | 21 = single lyrics (default), 2 = paired candidates (LYRICS_PAIR).
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
1 field
-
Request ·
config.metadata[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
Request ·
lyricsModelOptionalstringOnly the stable "default" lyrics model is supported for candidates=2.
Maximum characters: 100.
-
Request ·
sourceOptionalstringOptional caller label retained in Task audit input for candidates=2.
Maximum characters: 100.
candidates is the integer 1 (default) or 2; strings and 0 are invalid.
With candidates: 2, lyricsModel accepts only default, and source is an
optional audit label, not a model selector.
Stem names
Section titled “Stem names”Send stemName exactly as listed. Names are case- and spacing-sensitive;
aliases and translated labels are rejected.
Browse all 98 accepted stem names
98 names
Lead VocalDrum KitKickSnareRisersBassBacking VocalsPianoElectric GuitarPercussionString SectionSynthAcoustic GuitarSound EffectsSynth PadSynth BassGuitarBrass SectionOrganElectronic Drum KitLead Electric GuitarSynth KeysRhythm Electric GuitarElectric PianoUpright BassKeyboardsDistorted Electric GuitarSynth StringsSynth LeadWoodwindsRhythm Acoustic GuitarFluteHarpTambourineTrumpetArpeggiatorAccordionFiddlePedal Steel GuitarSynth VoiceViolinDigital PianoSynth BrassMandolinChoirBanjoBellsClarinetTenor SaxophoneTromboneShakerFrench HornGlockenspielElectric BassCelloTimpaniHarmonicaMarimbaVibraphoneLap Steel GuitarSaxophoneOrchestraHornsCymbalsHand ClapOboeCelestaCongasDroneAlto SaxophoneDouble BassUkuleleHarpsichordBaritone SaxophoneXylophoneTubaBass GuitarWhistleLead GuitarRhodes808BongosBassoonCowbellViolaSitarSteel DrumsPiccoloThereminBagpipesHi-HatMusic BoxMelodicaTablaKotoDjembeTaikoDidgeridoo
Response and task status
Section titled “Response and task status”Generation receipt
Section titled “Generation receipt”/songs and /derive return the same receipt.
Complete receipt
{ "taskId": "task_01J...", "generationId": "task_01J...", "status": "PROCESSING", "creditsRequired": 28, "estimatedCompletionTime": "2026-07-30T12:03:00.000Z", "requestId": "req_01J...", "links": { "task": "/api/v1/tasks/task_01J...", "resource": "/api/v1/suno/generations/task_01J...", "final": null }, "pricing": { "baseCredits": 28, "calculatedCredits": 28, "chargedCredits": 28, "adjustmentCredits": 0, "settlementRoundingCredits": 0, "settlementPolicyVersion": "whole-credit-v1", "billingIncrementCredits": 1, "source": "standard", "quoteVersion": 2 }, "product": { "type": "suno", "providerCode": "suno", "modelCode": "chirp-hawk", "featureCode": "text-to-music-simple", "resourceId": "task_01J...", "deliveryStatus": "submitted", "autoFinalize": false }, "warningCodes": [], "clipIds": [ "clip_a", "clip_b" ], "deliveryStatus": "submitted", "pollUrl": "/api/v1/tasks/task_01J...", "viewUrl": "/api/v1/suno/generations/task_01J...", "finalUrl": null, "autoFinalize": false}| Field | Meaning |
|---|---|
taskId / pollUrl | The Task: execution, billing, cancellation and webhooks |
generationId / viewUrl | The Generation: candidates and playback |
clipIds | Candidate clip IDs; can be empty before Suno acknowledges the request |
deliveryStatus | Combined candidate state; null before acknowledgement |
creditsRequired / pricing | The price fixed for this Task (pricing and rounding) |
autoFinalize | true for Extend, whose join runs automatically |
warningCodes | Non-fatal warnings; empty when none |
estimatedCompletionTime | Best-effort estimate, not a promise |
The receipt has no stream link.
Generation and clip states
Section titled “Generation and clip states”GET /api/v1/suno/generations/{generationId} works before completion and lists
every candidate in clips[]. Use it, not Task resources[] or outputResults,
to find candidates, playback URLs and the final clip.
Generation while one clip is playing (excerpt)
{ "generationId": "task_01J...", "taskId": "task_01J...", "status": "PROCESSING", "phase": "generating", "progress": 42, "deliveryStatus": "streaming", "clips": [ { "clipId": "clip_a", "index": 0, "role": "candidate", "deliveryStatus": "streaming", "audioUrl": null, "playable": true, "playback": { "state": "live", "url": "/api/v1/suno/playback/EXAMPLE_ONLY", "mimeType": "audio/mpeg", "delivery": "chunked", "seekable": false, "expiresAt": "2026-09-03T12:10:00.000Z", "retryAfterMs": null } }, { "clipId": "clip_b", "index": 1, "role": "candidate", "deliveryStatus": "queued", "audioUrl": null, "playable": false, "playback": { "state": "preparing", "url": null, "mimeType": null, "delivery": "none", "seekable": false, "expiresAt": null, "retryAfterMs": 3000, "sessionCreateUrl": null } } ], "finalClipId": null, "autoFinalize": false}status | phase | Meaning |
|---|---|---|
PENDING | accepted | Task created; Suno may not have acknowledged it yet |
PROCESSING | generating | Candidates are being created |
PROCESSING | finalizing | Required post-processing, such as Extend’s join, is running |
COMPLETED | completed | All required output is ready |
FAILED | failed | Generation or finalization failed |
CANCELLED | failed | The Task was cancelled; check billing |
Each clip moves through submitted → queued → streaming → complete, or ends in
error. One clip can be playing while another is still queued.
Clip deliveryStatus | What to do |
|---|---|
submitted, queued | Keep polling the Generation; do not resubmit |
streaming | Play if playable: true and playback.url is non-null |
complete | Save the clip you want; for Extend, prefer role: "final" |
error | Read that clip’s errorCode and errorMessage; other clips can still succeed |
The Generation also returns version (increases with each change), progress
(0–100, best effort), finalClipId and finalUrl, billing, retryable,
refundable, failureReason and warningCodes. finalClipId and finalUrl
can stay null for a multi-candidate song; each clip’s playback.url still works.
Play while a song is generating
Section titled “Play while a song is generating”Pick a clip with playable: true and a non-null playback.url, and use that URL
as returned. The example URL above is a placeholder.
playback field | Meaning |
|---|---|
state | preparing, live, final, error or unavailable |
url | Current media URL or null. Resolve relative values against https://api.omnapi.com; never build or edit it |
mimeType | audio/mpeg while live; audio/mp4 or audio/mpeg when final |
delivery | chunked (live), progressive (final) or none |
seekable | Allow seeking only when true; live audio cannot seek or resume a range |
expiresAt | When the URL stops working; null if no expiry is given |
retryAfterMs | How long to wait before polling again when audio is not ready |
sessionCreateUrl | Deprecated; ignore it |
live is non-seekable audio that keeps growing; final is the finished,
seekable file. Keep your API key on your server: query the Generation there and
pass only the chosen clip to the browser. The media URL needs no key, cookie or
other credential. Never put your API key in a media URL, and keep playback URLs
out of logs, analytics and public shares.
Poll every few seconds, honoring retryAfterMs and any Retry-After header. Do
not replace an active audio.src on every poll, and do not drop a fresh URL just
because version is unchanged. If playback stalls or fails, read the same
Generation and retry with its latest URL; do not create a new song. An unexpired
live URL may redirect to the finished audio; an expired one stays expired.
Browser example
Section titled “Browser example”<audio id="song" controls preload="none"></audio><button id="play" disabled>Play selected song</button><p id="playback-status" role="status"></p>const apiBaseUrl = "https://api.omnapi.com";const audio = document.querySelector("#song");const playButton = document.querySelector("#play");const status = document.querySelector("#playback-status");let selectedClip = null;
// Call after your server queries the Generation. Keep the user's clip choice.function updatePlayback(generation, selectedClipId) { selectedClip = generation.clips.find(c => c.clipId === selectedClipId) ?? null; playButton.disabled = !(selectedClip?.playable && selectedClip.playback?.url); // Do not reset audio.src here: refreshed live URLs must not interrupt audio.}
playButton.addEventListener("click", async () => { const playback = selectedClip?.playback; if (!selectedClip?.playable || !playback?.url) return; if (playback.expiresAt && Date.parse(playback.expiresAt) <= Date.now()) { status.textContent = "Refresh the Generation, then press Play again."; return; } audio.src = new URL(playback.url, apiBaseUrl).href; try { await audio.play(); status.textContent = ""; } catch { status.textContent = "Use the audio controls or refresh the Generation."; }});
audio.addEventListener("error", () => { status.textContent = "Refresh the Generation before retrying playback.";});Browsers may block autoplay, so the listener may need to press Play. Native audio errors do not expose the JSON error body, so refresh the Generation on any media error.
Clip reads
Section titled “Clip reads”GET /api/v1/suno/clips/{clipId} and GET /api/v1/suno/clips?clipIds=a,b,c are
free, return immediately and create no Task. clipIds takes Suno clip IDs only
(not Task IDs or ids).
Clip detail (200)
{ "clipId": "clip_a", "accessLevel": "owned", "index": 0, "role": "candidate", "deliveryStatus": "complete", "title": "Late Train", "tags": "city pop, warm bass", "prompt": "bright city pop about a late train home", "model": "chirp-hawk", "modelCode": "chirp-hawk", "providerModelName": "chirp-goose", "majorModelVersion": "v6", "instrumental": false, "audioUrl": "https://media.example.com/song.m4a", "imageUrl": "https://...", "videoUrl": null, "playable": true, "playback": { "state": "final", "url": "https://media.example.com/song.m4a", "mimeType": "audio/mp4", "delivery": "progressive", "seekable": true, "expiresAt": null, "retryAfterMs": null, "sessionCreateUrl": null }, "duration": 183.2, "errorCode": null, "errorMessage": null, "createdAt": "2026-07-30T12:00:00.000Z", "updatedAt": "2026-07-30T12:01:00.000Z"}modelCodeis the OmnAPI model you requested (nullif the clip has no Task of yours);providerModelNameandmajorModelVersionare what generated the clip.modelis a compatibility label.- What you see depends on
accessLevel. Owned clips returntagsandprompt. Shared clips return publictags,prompt: nulland nomodelCode. External clips hide model fields,tagsandprompt. - Tags or duration that arrive later appear on later reads automatically.
- The batch response keeps your order and returns
{ items, missingClipIds, errors }.missingClipIdslists clips that do not exist or are not visible;errors[]lists temporary per-ID failures withcode,messageandretryable. A failed ID never removes a successful one.
GET /api/v1/suno/generations?limit=20 lists your Generations.
limit is 1–100 (default 20). Pass nextCursor back as cursor, unchanged,
while hasMore is true.
Export, lyrics and read results
Section titled “Export, lyrics and read results”Lyrics, export and Voice creation return a Task receipt (taskId, links,
pricing, product) instead of a Generation receipt. Poll links.task.
Export receipt (200)
{ "taskId": "task_export_01J...", "status": "PENDING", "creditsRequired": 3, "estimatedCompletionTime": "2026-07-30T12:04:00.000Z", "requestId": "req_01J...", "links": { "task": "/api/v1/tasks/task_export_01J...", "resource": null, "final": null }, "pricing": { "baseCredits": 3, "calculatedCredits": 3, "chargedCredits": 3, "adjustmentCredits": 0, "settlementRoundingCredits": 0, "settlementPolicyVersion": "whole-credit-v1", "billingIncrementCredits": 1, "source": "standard", "quoteVersion": 2 }, "product": { "type": "suno", "providerCode": "suno", "modelCode": "chirp-hawk", "featureCode": "get-wav", "resourceId": null }, "warningCodes": []}Exports. A completed export Task returns resources with url,
contentType, assetStatus, urlExpiresAt and retainedUntil when available.
Read creditsCharged for the final charge. New M4A, MP3 and WAV files omit the
made with suno comment without re-encoding or touching your title, artist or
artwork; older cached files may keep it, and refreshing their URL does not
rewrite them. Repeating an identical completed export may reuse the stored files
at the same price.
Stems. A complete Twelve result has 24 clips: 12 fixed groups (Vocals,
Backing Vocals, Drums, Bass, Guitar, Keyboard, Percussion,
Strings, Synth, FX, Brass, Woodwinds), each with two separator
versions, V1 and V2. Suno’s own app shows only the groups it detects, labels
Vocals as Lead Vocal and FX as Other, and its buttons 1 and 2 pick
the two versions. Each stem carries sourceClipId, stemsMode, stemGroup,
displayName, batchIndex and variant; Extract results add stemName and
extractRole (target or without-target). If the named instrument is barely
present, the target can be near-silent.
Suno provides no reliable preflight presence signal, so an accepted Extract is
still charged. To refresh the URL of an earlier stem, read the existing result;
do not create the stems again.
Lyrics. Read the text from the completed Task’s outputResults and text
resources. A paired Task succeeds only when both candidates, A and B, are
delivered, and keeps them in A/B order. Each text resource can include
metadata.stylePrompt; metadata.tags repeats the same full style prompt as
its only item. If style expansion is unavailable, the lyrics still succeed
without those fields and outputResults.warnings can include
SUNO_STYLE_UPSAMPLE_UNAVAILABLE.
{ "type": "TEXT", "index": 0, "id": "lyrics_a", "content": "[Verse 1]\n...", "metadata": { "stylePrompt": "Intimate indie folk built around fingerpicked acoustic guitar...", "tags": [ "Intimate indie folk built around fingerpicked acoustic guitar..." ] }}Timeline, analysis, styles, verification phrase and Voice detail. These
return the Task envelope directly. 200 means status: "COMPLETED" with
outputResults filled in. 202 means status: "PROCESSING" with a pollUrl;
polling it, the SSE event or the webhook yields the same outputResults shape.
Timeline result (200)
{ "taskId": "task_read_01J...", "status": "COMPLETED", "creditsRequired": 1, "creditsCharged": 1, "outputResults": { "clipId": "clip_a", "words": [ { "word": "Neon", "start": 1.2, "end": 1.6, "confidence": 0.98 } ], "lines": [ { "text": "Neon rain", "start": 1.2, "end": 2.1, "words": [ { "word": "Neon", "start": 1.2, "end": 1.6 }, { "word": "rain", "start": 1.7, "end": 2.1 } ] } ], "waveform_data": [] }, "resources": [], "pollUrl": null, "errorCode": null, "errorMessage": null, "processingDuration": 1820, "processingDurationText": "1.8s"}Limits and notes
Section titled “Limits and notes”Playback limits
Section titled “Playback limits”Live URLs on stream.omnapi.com allow 4 simultaneous requests per playback
ticket, 4 per clip and 16 per public source IP, within a shared service limit
of 1,000. All apply at once, and a new ticket for the same clip shares the clip
limit. Users on the same carrier network can share the IP limit; these limits do
not depend on your API key tier. There is no cap on how many times a Generation
can be opened.
- When switching clips, cancel the previous media request; pausing alone can leave it downloading. Reopening a URL uses a slot just like the first open.
- On
429 playback-capacity-exceeded, wait at leastRetry-After(currently 3 seconds), then retry with increasing delays. - Do not send extra
GETrequests to inspect headers.HEADuses no slot but does not prove the audio is available.
See live playback limits.
Download expiry and retention
Section titled “Download expiry and retention”A download URL and the file behind it expire separately. Suno download URLs last
7 days by default but never longer than the file is kept; use
urlExpiresAt. Read the song, Task or asset again for a fresh URL. A new URL
does not extend retention.
| File | Kept for |
|---|---|
| Ordinary audio (M4A, MP3) | 14 days, or longer with paid storage |
| WAV | 180 days |
| Timestamp lyrics | 180 days |
Use the returned retainedUntil as the actual deadline and copy files you need to
your own storage before it. Save asset IDs, not only URLs. Details and paid
storage: Suno storage.
Unsupported operations
Section titled “Unsupported operations”| Not available | Use instead |
|---|---|
| Remaster, Infill, Editor actions | Extend or Cover |
| Video or Opus export | M4A, MP3, WAV or stems; for video, Music Video |
| Standalone upload | upload-extend or upload-cover |
| Standalone Concat | Extend, which joins automatically |
A Suno /stream endpoint | Poll the Generation or use webhooks |
subscriptionOperationsAvailable in the availability response reports the health
of supported operations; it does not unlock the operations above. Song quality
and timing depend on Suno and on the media you supply.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | What to do |
|---|---|---|
clipIds is empty | Suno has not acknowledged yet, or you sent Prefer: respond-async | Poll viewUrl; do not resubmit |
Clip is streaming but audioUrl is null | Normal during live playback | Play playback.url; read audioUrl after complete |
404 NOT_FOUND on a clip | You passed a Task ID, or the clip is not visible to you | Use a clipId from clips[] |
| Request timed out | Network or client timeout | Replay with the same key and body, or poll the recovered Task |
| Extend returned extra candidates | Normal | Use the clip with role: "final"; do not send a separate Concat |
SUNO_VOCAL_INTENT_NOT_HONORED warning | A simple song came back instrumental | Adjust the prompt or use custom lyrics; a new song is a new charge |
| Extract target is nearly silent | The instrument is barely in the song | Choose another stem; the charge stands |
SUNO_RESOURCE_ACCESS_DENIED | The clip or Voice cannot be used for this action | Do not retry as is; pick another resource or upload audio you have rights to |
CONTENT_POLICY_REJECTED | Input violated content policy (retryable: false) | Read errorReason, actionRequired and rejectedField, change the input, then send a new request (details) |
Error codes
Section titled “Error codes”Immediate errors use { success: false, error: { code, message, details? } }.
Failures after the Task is created appear on the terminal Task and Generation,
with retryable, refunded and a customer-safe failureReason.
| Code | Where | Retry | Meaning |
|---|---|---|---|
VALIDATION_ERROR | HTTP 400 | No | Missing, conflicting, unknown or unsupported fields |
INVALID_API_KEY | HTTP 401 | No | Key missing, malformed, inactive or expired |
INSUFFICIENT_CREDITS | HTTP 402 | No | Balance too low; no Task was created |
FORBIDDEN | HTTP 403 | No | Key scope or IP restriction, or a billing hold |
NOT_FOUND / TASK_NOT_FOUND | HTTP 404 | No | Generation, clip, Voice or Task not available to you |
SUNO_VOICE_SESSION_EXPIRED | HTTP 409 | Optional | Verification session expired; request a new phrase |
RATE_LIMITED | HTTP 429 | Required | Honor Retry-After or back off |
SUNO_INPUT_INVALID | Task | Optional | Unsupported value or resource combination |
SUNO_RESOURCE_ACCESS_DENIED | Task | Optional | The clip or Voice cannot be used for this operation |
SUNO_COVER_SOURCE_NOT_PERMITTED | Task | Optional | Choose a different source song for Cover |
SUNO_SOURCE_CLIP_NOT_FOUND | Task | Optional | Clip does not exist or is not visible |
SUNO_FINALIZATION_FAILED | Task | Required | Required post-processing did not complete |
SUNO_LYRICS_PAIR_TEMPORARILY_UNAVAILABLE | Lyrics Task | Required | Both candidates were not delivered; the Task fails and is refunded |
SUNO_TEMPORARILY_UNAVAILABLE | Task | Required | Temporary capacity or delivery problem |
SUNO_OPERATION_FAILED | Task | Optional | Failed without a more specific classification |
SUNO_VOICE_VERIFICATION_AUDIO_REJECTED | Voice Task | Optional | No Voice created; get a new phrase and record clear audio |
SUNO_VOICE_VERIFICATION_PHRASE_MISMATCH | Voice Task | Optional | The recording did not contain the full assigned phrase |
SUNO_VOICE_PIPELINE_COMPATIBILITY_FAILED | Voice Task | Required | Temporary Voice preparation failure |
“Retry” on a terminal Task means a new request with a new Idempotency-Key; it
does not guarantee success. Temporary Cover throttling is retryable; a rejected
Cover source is not. Audio analysis can stay pending during a temporary storage
problem, so keep polling the same Task.
Warning codes
Section titled “Warning codes”Warnings never fail a Task.
| Code | Meaning | What to do |
|---|---|---|
SUNO_VOCAL_INTENT_NOT_HONORED | A non-instrumental simple song came back instrumental on every candidate | Adjust the prompt or use custom |
SUNO_ALTERNATE_PROCESSING_USED | A managed fallback produced the requested output | Check the format and charge; no retry needed |
Playback errors
Section titled “Playback errors”| HTTP / code | What to do |
|---|---|
404 SUNO_PLAYBACK_SESSION_INVALID | URL expired or no longer usable; read the Generation again |
409 SUNO_PLAYBACK_NOT_READY | Wait details.retryAfterMs if present, then read again |
429 RATE_LIMITED / playback-capacity-exceeded | Honor Retry-After, close earlier media requests, back off |
503 SUNO_PLAYBACK_UNAVAILABLE / playback-capacity-unavailable | Temporary; back off, then read again |
For preparing or a null URL, keep waiting. For error, read the clip’s
errorCode; another candidate may still work. For unavailable, offer another
playable clip or try later.
Related operations
Section titled “Related operations”Endpoints
Section titled “Endpoints”All endpoints require x-api-key. Idempotency-Key is optional on POST and
strongly recommended. The API reference has every schema.
| Method | Path | Purpose |
|---|---|---|
| GET | /api/v1/suno/availability | Advisory service health |
| POST | /api/v1/suno/songs | Create a song |
| POST | /api/v1/suno/clips/{clipId}/derive | Extend or Cover a clip |
| GET | /api/v1/suno/generations | List Generations |
| GET | /api/v1/suno/generations/{generationId} | Read candidates and playback |
| GET | /api/v1/suno/clips | Read several clips |
| GET | /api/v1/suno/clips/{clipId} | Read one clip |
| POST | /api/v1/suno/clips/{clipId}/export | Export M4A, MP3, WAV or stems |
| POST | /api/v1/suno/lyrics | Generate lyrics |
| GET | /api/v1/suno/clips/{clipId}/timeline | Aligned lyrics |
| GET | /api/v1/suno/clips/{clipId}/audio-analysis | Beats, key and waveform |
| GET | /api/v1/suno/styles/recommend | Style suggestions |
| GET | /api/v1/suno/voices/verification-phrase | Voice verification phrase |
| POST | /api/v1/suno/voices | Voice from verified recordings |
| POST | /api/v1/suno/voices/from-clip | Voice from your clip |
| GET | /api/v1/suno/voices | List your Voices |
| GET | /api/v1/suno/voices/{voiceId} | Read a public Voice |
| GET | /api/v1/suno/assets | List retained files |
| GET | /api/v1/suno/assets/{id}/download | Fresh download URL |
| GET | /api/v1/suno/storage | Storage settings and rate |
| PUT | /api/v1/suno/storage | Enable or cancel paid storage |
| GET | /api/v1/suno/storage/charges | Storage charges |
Use GET /api/v1/tasks/{taskId} for status, billing and resources, and
POST /api/v1/tasks/{taskId}/cancel to cancel; whether a cancelled Task is
refunded depends on how far it got. See Task operations.
Legacy migration map
Section titled “Legacy migration map”Existing integrations can keep using the /api/legacy/* routes with the
api-key header (x-api-key also works). The old /v1/suno-legacy/* prefix and
root paths such as /v1/generate are not available. Legacy music responses add
omnapiTaskId and pollUrl for Task polling; their taskId is not an OmnAPI
Task ID.
| Legacy endpoint | Current endpoint |
|---|---|
POST /api/legacy/generate | /api/v1/suno/songs; for an existing clip, /api/v1/suno/clips/{clipId}/derive |
POST /api/legacy/generate-gpt | /api/v1/suno/songs with mode: "simple" |
POST /api/legacy/generate/lyric | /api/v1/suno/lyrics |
POST /api/legacy/concatenate | None; Extend joins automatically |
GET /api/legacy/songs | /api/v1/suno/clips?clipIds=... |
GET /api/legacy/songs/lyric-stamp | /api/v1/suno/clips/{clipId}/timeline |
GET /api/legacy/info | Dashboard balance, GET /api/v1/usage/export and Task charges |
POST /api/legacy/upload | upload-extend or upload-cover; no standalone upload |
POST /api/legacy/stems | /api/v1/suno/clips/{clipId}/export with format: "stems" |
POST /api/legacy/generate-wav | /api/v1/suno/clips/{clipId}/export with format: "wav" |
Field-level details are in the legacy compatibility guide.
Looking for an earlier section?
- Song modes and operations →
- Generation models →
- IDs to save →
- Related operations →
- Export audio →
- Export audio →
- Export audio →
- Export stems →
- Export, lyrics and read results →
- Quickstart →
- Song modes and operations →
- Song creation fields →
- Song creation fields →
- Song modes and operations →
- Extend or cover an existing clip →
- Song modes and operations →
- Derive fields →
- Generation and clip states →
- Generation and clip states →
- Generation and clip states →
- Playback limits →
- Clip reads →
- Clip reads →
- Clip reads →
- Read timed lyrics, analysis and styles →
- Read timed lyrics, analysis and styles →
- Read timed lyrics, analysis and styles →
- Export, lyrics and read results →
- How it works →
- How it works →
- Troubleshooting →
- Create and reuse Voices →
- Create a Voice from an owned clip →
- Create a Voice from verified recordings →
- 1. Obtain the verification phrase →
- 2. Record two inputs →
- 3. Create the public Voice →
- List, inspect, and use Voices →
- Generation and clip states →
- Troubleshooting →
- Generation models →
- Unsupported operations →
- Suno storage →
- Response and task status →
- IDs to save →