Skip to content

    Songs · Suno

    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 the task:create scope; reads need task: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.

    Send one of these values in model. When you omit it, the song runs on chirp-hawk.

    model valueGenerationBest forStandard creditsVoice (vox) mode
    chirp-hawkv6 Pro (default)Best overall quality28Yes, with account permission
    chirp-hawk-wildv6-wild ProMore adventurous, less predictable output28Yes, with account permission
    chirp-goosev6-miniLower price25Yes, 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.

    What you start fromRequestYou get
    A text promptPOST /songs with mode: "simple" (requires prompt)New song candidates
    Your lyrics and a stylePOST /songs with mode: "custom" (requires lyrics or prompt)New song candidates
    A reusable public VoicePOST /songs with mode: "vox" (requires voiceId and generation text)Candidates sung by that Voice
    Your own audio, continuedPOST /songs with mode: "upload-extend" (requires audio.url)A continuation of your audio
    Your own audio, reinterpretedPOST /songs with mode: "upload-cover" (requires audio.url)A cover of your audio
    An existing Suno clip, continuedPOST /clips/{clipId}/derive with action: "extend"Continuations plus one complete joined song
    An existing Suno clip, reinterpretedPOST /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.

    OperationStandard credits
    Song or derive (Extend, Cover) with chirp-hawk or chirp-hawk-wild28
    Song or derive with chirp-goose25
    Lyrics, one or two candidates0
    Aligned lyrics timeline1
    Generation, clip, audio analysis and style reads0
    M4A export1
    MP3 export2
    WAV export3
    Stems: all twelve groups / one named stem140 / 56
    Voice from your clip / from verified recordings5 / 66
    Long-term audio storage20 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.

    1. Optional: check availability. GET /api/v1/suno/availability returns available, degraded, unavailable or unknown, plus retryAfterSec. Use it to enable or disable paid actions in your UI; the create receipt and the Task outcome remain authoritative.
    2. Create. Generate an Idempotency-Key, save it with the exact body, then POST /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 lists clipIds. Send Prefer: respond-async to skip the wait. If the wait runs out, you still get the same receipt, not a gateway timeout.
    3. Follow the Generation. Poll viewUrl every few seconds, or receive a webhook and then read the Generation. Play a clip as soon as it is playable.
    4. Confirm the Task. Read pollUrl until the Task is COMPLETED, FAILED or CANCELLED for the final status and charge.
    5. Keep the output. Download audioUrl without your API key, then use the clipId for exports, timed lyrics, Extend, Cover or a Voice.
    IDWhat it identifiesUse it with
    taskIdExecution and billing/api/v1/tasks/{taskId}, cancellation, webhooks
    generationIdThe song product; currently equal to taskId/api/v1/suno/generations/{generationId}
    clipIdOne Suno clip (the legacy mid)Clip reads, Extend, Cover, exports, Voices, Music Video
    Asset idOne retained fileAsset downloads

    Never send a taskId where a clipId is required. Take clip IDs from clipIds or clips[].clipId.

    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.

    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.

    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.

    Generate the key once for this job and save it with the body. Reuse both for any retry.

    Terminal window
    export REQUEST_KEY="$(uuidgen)"
    Terminal window
    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.

    Terminal window
    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.

    When a clip’s deliveryStatus is complete, read it:

    Terminal window
    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.

    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.

    Terminal window
    curl --fail https://docs.omnapi.com/examples/suno_song.py -o suno_song.py
    python3 suno_song.py song-job.json

    For TypeScript and resumable polling, see integration 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.

    Use custom when you have lyrics and want to steer the style.

    Terminal window
    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"
    }'

    Use vox to sing new lyrics with a public Voice. The voiceId is the whole reference; no source clip is needed.

    Terminal window
    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"
    }'

    Use upload-extend to continue audio you own from continueAt seconds.

    Terminal window
    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"
    }'

    Use upload-cover to reinterpret audio you own in another style.

    Terminal window
    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"
    }'

    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".

    Terminal window
    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 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.

    Terminal window
    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.

    stemsMode: "twelve" (the default) separates the full song into twelve groups. stemsMode: "extract" isolates or removes one named stem with Suno’s native separator.

    Terminal window
    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" }'
    stemsModeOutputCredits
    twelveFull separated-track set; default140
    extractIsolate/remove one named stem; requires one of the 98 allowed stemName values56

    See stem names for the list and stem results.

    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.

    Terminal window
    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 }'

    Use these reads for karaoke, subtitles, editors and prompt suggestions.

    Terminal window
    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[] with word, start, end and optional confidence; lines[] with timing, optional section and nested words[]; and waveform_data.
    • Audio analysis (free): outputResults: { clipId, downbeats, key, waveform }.
    • Style recommendations (free): outputResults: { recommendStyles }. The optional comma-separated exclude list removes up to 50 styles.
    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 · modeRequired

      string

      Generation 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 · audioOptional

      object

      Public audio source and format information.

      Only the listed fields are accepted in this object.

      2 fields
      • Request · audio.urlRequired

        string

        Publicly 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 · configOptional

      object

      Standard task configuration: priority, tags, metadata, and webhookUrl.

      4 fields
      • Request · config.metadataOptional

        object

        Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

        1 field
      • Request · config.priorityOptional

        number

        Task priority 1-10 (higher = sooner). Default 5.

        Minimum: 1. Maximum: 10. Default: 5.

      • Request · config.tagsOptional

        array<string>

        Free-form labels for filtering. Up to 20, 100 chars each.

        Maximum items: 20.

        1 field
        • Request · config.tags[]Each item

          string

          Maximum characters: 100.

      • Request · config.webhookUrlOptional

        string

        URL to receive task.* lifecycle events via the central webhook service.

        Format: uri.

    • Request · continueAtOptional

      number

      Timestamp in seconds to continue from. Values beyond the source duration are forwarded unchanged and Suno continues from the clip end.

      Minimum: 0.

    • Request · continuedAlignedPromptOptional

      string

      Aligned continuation prompt used for an Extend operation.

      Maximum characters: 5000.

    • Request · controlSlidersOptional

      object

      Optional bounded generation-control weights.

      3 fields
    • Request · instrumentalOptional

      boolean

      Whether to generate an instrumental result.

    • Request · lyricsOptional

      string

      Lyrics 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 · negativeTagsOptional

      string

      Negative music-style tags or exclusions.

      Maximum characters: 1000.

    • Request · promptOptional

      string

      Primary creative or operation instruction.

      Maximum characters: 5000.

    • Request · tagsOptional

      string

      Style tags or caller labels, as defined by this schema.

      Maximum characters: 1000.

    • Request · titleOptional

      string

      Optional customer-facing title.

      Maximum characters: 100.

    • Request · voiceIdOptional

      string

      Reusable public Suno Voice identifier.

    Rules the schema cannot express:

    • simple requires prompt. custom requires lyrics or prompt. vox requires voiceId plus generation text. Upload modes require audio.url; other generation fields are optional.
    • audio.url must be a public HTTPS URL to audio you own or have licensed; audio.extensionType is mp3, wav, m4a, flac or ogg. continueAt and continuedAlignedPrompt apply only to upload-extend.
    • tags and negativeTags are positive and excluded style hints. instrumental must be a boolean, not the string "false".
    • controlSliders.style_weight sets how strictly the output follows the style hint, controlSliders.audio_weight how closely it follows source audio, and controlSliders.weirdness_constraint how experimental it is. Each is 0–1; values outside that range return 400 VALIDATION_ERROR, and error.details.issues[] names the field, such as body.controlSliders.style_weight.
    • Unknown fields and unsupported modes are rejected.
    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 · configOptional

      object

      Standard task configuration: priority, tags, metadata, and webhookUrl.

      4 fields
      • Request · config.metadataOptional

        object

        Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

        1 field
      • Request · config.priorityOptional

        number

        Task priority 1-10 (higher = sooner). Default 5.

        Minimum: 1. Maximum: 10. Default: 5.

      • Request · config.tagsOptional

        array<string>

        Free-form labels for filtering. Up to 20, 100 chars each.

        Maximum items: 20.

        1 field
        • Request · config.tags[]Each item

          string

          Maximum characters: 100.

      • Request · config.webhookUrlOptional

        string

        URL to receive task.* lifecycle events via the central webhook service.

        Format: uri.

    • Request · continueAtOptional

      number

      Timestamp in seconds to continue from. Values beyond the source duration are forwarded unchanged and Suno continues from the clip end.

      Minimum: 0.

    • Request · continuedAlignedPromptOptional

      string

      Optional aligned continuation prompt for action=extend.

      Maximum characters: 5000.

    • Request · controlSlidersOptional

      object

      Optional bounded generation-control weights.

      3 fields
    • Request · isInstrumentalOptional

      boolean

      Optional instrumental intent for the derived result.

    • Request · isRemixOptional

      boolean

      Optional 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 · negativeTagsOptional

      string

      Negative music-style tags or exclusions.

      Maximum characters: 1000.

    • Request · promptOptional

      string

      Primary creative or operation instruction.

      Maximum characters: 5000.

    • Request · tagsOptional

      string

      Style tags or caller labels, as defined by this schema.

      Maximum characters: 1000.

    • Request · titleOptional

      string

      Optional 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 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"Option

      object

      Only the listed fields are accepted in this object.

      2 fields
      • Request · formatRequired

        "wav"

        Requested output format discriminator.

      • Request · configOptional

        object

        Standard task configuration: priority, tags, metadata, and webhookUrl.

        4 fields
        • Request · config.metadataOptional

          object

          Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

          1 field
        • Request · config.priorityOptional

          number

          Task priority 1-10 (higher = sooner). Default 5.

          Minimum: 1. Maximum: 10. Default: 5.

        • Request · config.tagsOptional

          array<string>

          Free-form labels for filtering. Up to 20, 100 chars each.

          Maximum items: 20.

          1 field
          • Request · config.tags[]Each item

            string

            Maximum characters: 100.

        • Request · config.webhookUrlOptional

          string

          URL to receive task.* lifecycle events via the central webhook service.

          Format: uri.

    • Request · Option 2 — format = "m4a"Option

      object

      Only 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 · configOptional

        object

        Standard task configuration: priority, tags, metadata, and webhookUrl.

        4 fields
        • Request · config.metadataOptional

          object

          Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

          1 field
        • Request · config.priorityOptional

          number

          Task priority 1-10 (higher = sooner). Default 5.

          Minimum: 1. Maximum: 10. Default: 5.

        • Request · config.tagsOptional

          array<string>

          Free-form labels for filtering. Up to 20, 100 chars each.

          Maximum items: 20.

          1 field
          • Request · config.tags[]Each item

            string

            Maximum characters: 100.

        • Request · config.webhookUrlOptional

          string

          URL to receive task.* lifecycle events via the central webhook service.

          Format: uri.

    • Request · Option 3 — format = "mp3"Option

      object

      Only 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 · configOptional

        object

        Standard task configuration: priority, tags, metadata, and webhookUrl.

        4 fields
        • Request · config.metadataOptional

          object

          Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

          1 field
        • Request · config.priorityOptional

          number

          Task priority 1-10 (higher = sooner). Default 5.

          Minimum: 1. Maximum: 10. Default: 5.

        • Request · config.tagsOptional

          array<string>

          Free-form labels for filtering. Up to 20, 100 chars each.

          Maximum items: 20.

          1 field
          • Request · config.tags[]Each item

            string

            Maximum characters: 100.

        • Request · config.webhookUrlOptional

          string

          URL to receive task.* lifecycle events via the central webhook service.

          Format: uri.

    • Request · Option 4 — format = "stems"Option

      object

      Only the listed fields are accepted in this object.

      4 fields
      • Request · formatRequired

        "stems"

        Separated audio tracks.

      • Request · configOptional

        object

        Standard task configuration: priority, tags, metadata, and webhookUrl.

        4 fields
        • Request · config.metadataOptional

          object

          Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

          1 field
        • Request · config.priorityOptional

          number

          Task priority 1-10 (higher = sooner). Default 5.

          Minimum: 1. Maximum: 10. Default: 5.

        • Request · config.tagsOptional

          array<string>

          Free-form labels for filtering. Up to 20, 100 chars each.

          Maximum items: 20.

          1 field
          • Request · config.tags[]Each item

            string

            Maximum characters: 100.

        • Request · config.webhookUrlOptional

          string

          URL 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.

    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 · promptRequired

      string

      Primary creative or operation instruction.

      Maximum characters: 3000.

    • Request · candidatesOptional

      1 | 2

      1 = single lyrics (default), 2 = paired candidates (LYRICS_PAIR).

    • Request · configOptional

      object

      Standard task configuration: priority, tags, metadata, and webhookUrl.

      4 fields
      • Request · config.metadataOptional

        object

        Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

        1 field
      • Request · config.priorityOptional

        number

        Task priority 1-10 (higher = sooner). Default 5.

        Minimum: 1. Maximum: 10. Default: 5.

      • Request · config.tagsOptional

        array<string>

        Free-form labels for filtering. Up to 20, 100 chars each.

        Maximum items: 20.

        1 field
        • Request · config.tags[]Each item

          string

          Maximum characters: 100.

      • Request · config.webhookUrlOptional

        string

        URL to receive task.* lifecycle events via the central webhook service.

        Format: uri.

    • Request · lyricsModelOptional

      string

      Only the stable "default" lyrics model is supported for candidates=2.

      Maximum characters: 100.

    • Request · sourceOptional

      string

      Optional 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.

    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 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

    /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
    }
    FieldMeaning
    taskId / pollUrlThe Task: execution, billing, cancellation and webhooks
    generationId / viewUrlThe Generation: candidates and playback
    clipIdsCandidate clip IDs; can be empty before Suno acknowledges the request
    deliveryStatusCombined candidate state; null before acknowledgement
    creditsRequired / pricingThe price fixed for this Task (pricing and rounding)
    autoFinalizetrue for Extend, whose join runs automatically
    warningCodesNon-fatal warnings; empty when none
    estimatedCompletionTimeBest-effort estimate, not a promise

    The receipt has no stream link.

    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
    }
    statusphaseMeaning
    PENDINGacceptedTask created; Suno may not have acknowledged it yet
    PROCESSINGgeneratingCandidates are being created
    PROCESSINGfinalizingRequired post-processing, such as Extend’s join, is running
    COMPLETEDcompletedAll required output is ready
    FAILEDfailedGeneration or finalization failed
    CANCELLEDfailedThe 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 deliveryStatusWhat to do
    submitted, queuedKeep polling the Generation; do not resubmit
    streamingPlay if playable: true and playback.url is non-null
    completeSave the clip you want; for Extend, prefer role: "final"
    errorRead 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.

    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 fieldMeaning
    statepreparing, live, final, error or unavailable
    urlCurrent media URL or null. Resolve relative values against https://api.omnapi.com; never build or edit it
    mimeTypeaudio/mpeg while live; audio/mp4 or audio/mpeg when final
    deliverychunked (live), progressive (final) or none
    seekableAllow seeking only when true; live audio cannot seek or resume a range
    expiresAtWhen the URL stops working; null if no expiry is given
    retryAfterMsHow long to wait before polling again when audio is not ready
    sessionCreateUrlDeprecated; 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.

    <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.

    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"
    }
    • modelCode is the OmnAPI model you requested (null if the clip has no Task of yours); providerModelName and majorModelVersion are what generated the clip. model is a compatibility label.
    • What you see depends on accessLevel. Owned clips return tags and prompt. Shared clips return public tags, prompt: null and no modelCode. External clips hide model fields, tags and prompt.
    • Tags or duration that arrive later appear on later reads automatically.
    • The batch response keeps your order and returns { items, missingClipIds, errors }. missingClipIds lists clips that do not exist or are not visible; errors[] lists temporary per-ID failures with code, message and retryable. 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.

    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"
    }

    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 least Retry-After (currently 3 seconds), then retry with increasing delays.
    • Do not send extra GET requests to inspect headers. HEAD uses no slot but does not prove the audio is available.

    See live playback limits.

    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.

    FileKept for
    Ordinary audio (M4A, MP3)14 days, or longer with paid storage
    WAV180 days
    Timestamp lyrics180 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.

    Not availableUse instead
    Remaster, Infill, Editor actionsExtend or Cover
    Video or Opus exportM4A, MP3, WAV or stems; for video, Music Video
    Standalone uploadupload-extend or upload-cover
    Standalone ConcatExtend, which joins automatically
    A Suno /stream endpointPoll 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.

    SymptomCauseWhat to do
    clipIds is emptySuno has not acknowledged yet, or you sent Prefer: respond-asyncPoll viewUrl; do not resubmit
    Clip is streaming but audioUrl is nullNormal during live playbackPlay playback.url; read audioUrl after complete
    404 NOT_FOUND on a clipYou passed a Task ID, or the clip is not visible to youUse a clipId from clips[]
    Request timed outNetwork or client timeoutReplay with the same key and body, or poll the recovered Task
    Extend returned extra candidatesNormalUse the clip with role: "final"; do not send a separate Concat
    SUNO_VOCAL_INTENT_NOT_HONORED warningA simple song came back instrumentalAdjust the prompt or use custom lyrics; a new song is a new charge
    Extract target is nearly silentThe instrument is barely in the songChoose another stem; the charge stands
    SUNO_RESOURCE_ACCESS_DENIEDThe clip or Voice cannot be used for this actionDo not retry as is; pick another resource or upload audio you have rights to
    CONTENT_POLICY_REJECTEDInput violated content policy (retryable: false)Read errorReason, actionRequired and rejectedField, change the input, then send a new request (details)

    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.

    CodeWhereRetryMeaning
    VALIDATION_ERRORHTTP 400NoMissing, conflicting, unknown or unsupported fields
    INVALID_API_KEYHTTP 401NoKey missing, malformed, inactive or expired
    INSUFFICIENT_CREDITSHTTP 402NoBalance too low; no Task was created
    FORBIDDENHTTP 403NoKey scope or IP restriction, or a billing hold
    NOT_FOUND / TASK_NOT_FOUNDHTTP 404NoGeneration, clip, Voice or Task not available to you
    SUNO_VOICE_SESSION_EXPIREDHTTP 409OptionalVerification session expired; request a new phrase
    RATE_LIMITEDHTTP 429RequiredHonor Retry-After or back off
    SUNO_INPUT_INVALIDTaskOptionalUnsupported value or resource combination
    SUNO_RESOURCE_ACCESS_DENIEDTaskOptionalThe clip or Voice cannot be used for this operation
    SUNO_COVER_SOURCE_NOT_PERMITTEDTaskOptionalChoose a different source song for Cover
    SUNO_SOURCE_CLIP_NOT_FOUNDTaskOptionalClip does not exist or is not visible
    SUNO_FINALIZATION_FAILEDTaskRequiredRequired post-processing did not complete
    SUNO_LYRICS_PAIR_TEMPORARILY_UNAVAILABLELyrics TaskRequiredBoth candidates were not delivered; the Task fails and is refunded
    SUNO_TEMPORARILY_UNAVAILABLETaskRequiredTemporary capacity or delivery problem
    SUNO_OPERATION_FAILEDTaskOptionalFailed without a more specific classification
    SUNO_VOICE_VERIFICATION_AUDIO_REJECTEDVoice TaskOptionalNo Voice created; get a new phrase and record clear audio
    SUNO_VOICE_VERIFICATION_PHRASE_MISMATCHVoice TaskOptionalThe recording did not contain the full assigned phrase
    SUNO_VOICE_PIPELINE_COMPATIBILITY_FAILEDVoice TaskRequiredTemporary 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.

    Warnings never fail a Task.

    CodeMeaningWhat to do
    SUNO_VOCAL_INTENT_NOT_HONOREDA non-instrumental simple song came back instrumental on every candidateAdjust the prompt or use custom
    SUNO_ALTERNATE_PROCESSING_USEDA managed fallback produced the requested outputCheck the format and charge; no retry needed
    HTTP / codeWhat to do
    404 SUNO_PLAYBACK_SESSION_INVALIDURL expired or no longer usable; read the Generation again
    409 SUNO_PLAYBACK_NOT_READYWait details.retryAfterMs if present, then read again
    429 RATE_LIMITED / playback-capacity-exceededHonor Retry-After, close earlier media requests, back off
    503 SUNO_PLAYBACK_UNAVAILABLE / playback-capacity-unavailableTemporary; 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.

    All endpoints require x-api-key. Idempotency-Key is optional on POST and strongly recommended. The API reference has every schema.

    MethodPathPurpose
    GET/api/v1/suno/availabilityAdvisory service health
    POST/api/v1/suno/songsCreate a song
    POST/api/v1/suno/clips/{clipId}/deriveExtend or Cover a clip
    GET/api/v1/suno/generationsList Generations
    GET/api/v1/suno/generations/{generationId}Read candidates and playback
    GET/api/v1/suno/clipsRead several clips
    GET/api/v1/suno/clips/{clipId}Read one clip
    POST/api/v1/suno/clips/{clipId}/exportExport M4A, MP3, WAV or stems
    POST/api/v1/suno/lyricsGenerate lyrics
    GET/api/v1/suno/clips/{clipId}/timelineAligned lyrics
    GET/api/v1/suno/clips/{clipId}/audio-analysisBeats, key and waveform
    GET/api/v1/suno/styles/recommendStyle suggestions
    GET/api/v1/suno/voices/verification-phraseVoice verification phrase
    POST/api/v1/suno/voicesVoice from verified recordings
    POST/api/v1/suno/voices/from-clipVoice from your clip
    GET/api/v1/suno/voicesList your Voices
    GET/api/v1/suno/voices/{voiceId}Read a public Voice
    GET/api/v1/suno/assetsList retained files
    GET/api/v1/suno/assets/{id}/downloadFresh download URL
    GET/api/v1/suno/storageStorage settings and rate
    PUT/api/v1/suno/storageEnable or cancel paid storage
    GET/api/v1/suno/storage/chargesStorage 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.

    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 endpointCurrent 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/concatenateNone; 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/infoDashboard balance, GET /api/v1/usage/export and Task charges
    POST /api/legacy/uploadupload-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.