Suno song generation · for developers

Suno API for song generation.

Generate songs with vocals, custom lyrics, or instrumentals. Describe the sound, supply your lyrics, and build the experience around the music.

JSON intask_idaudio out

Suno models
3v6, v6 Wild and v6 Mini
Credits per song
20Reserved on submit, returned on confirmed failure
Calls to a song
2Create a task, then retrieve its audio
Charge per request
1×An Idempotency-Key makes retries safe
Side A · 01 — The workbench

Make the first request yours.

An editable example, using the real API fields.
No key needed to explore the request.

REQUEST BUILDER01 / INPUT

Build a request to run on your server, or generate a song below.

cURL02 / REQUEST
curl --request POST \
  'https://sunoapi.com/api/v1/sonic/create' \
  --header "Authorization: Bearer ${SUNO_API_KEY}" \
  --header "Content-Type: application/json" \
  --header "Idempotency-Key: ${SUNO_REQUEST_ID}" \
  --data '{
  "custom_mode": false,
  "mv": "sonic-v6",
  "make_instrumental": false,
  "gpt_description_prompt": "Warm indie folk, fingerpicked guitar, intimate vocals. A hopeful song about taking the long way home."
}'
AUTH · BEARER TOKEN

Set SUNO_API_KEY and SUNO_REQUEST_ID (a UUID). Reuse the request ID only for the same song.

03 / GENERATE & LISTEN

Hear what you build.

Get your API key

Each generation reserves 20 credits from your SunoAPI account. Confirmed failures return reserved credits. If the service is unavailable before submission, no credits are charged.

Your key stays in page memory and is sent to the SunoAPI service for requests. It is never saved to browser storage.

Enter a key from your SunoAPI account to check your balance or saved tasks.

Only the latest task ID is saved in this tab. Tracking checks every five seconds for up to five minutes. Open SunoAPI dashboard ↗

Every song is an asynchronous task. Submit → retrieve → play.Understand the lifecycle
Side A · 02 — What you can build

Three ways into the music.

Explore the API
  1. A1

    Text to a complete song

    Turn a musical brief into an arrangement with vocals. Start with a mood, a scene, or a story.

    Description → song
  2. A2

    Lyrics with your signature

    Bring the words. Set the musical direction. Keep your lyrics and style independently editable.

    Lyrics → song
  3. A3

    Music behind the moment

    Request instrumentals for a video, a game, or a creative tool. Give each scene a musical starting point.

    Brief → instrumental
Side A · 03 — Designed for your backend

You build the product. The music follows.

Keep the integration straightforward: submit a request, save the task ID, and retrieve the finished audio. Build your own editor, review flow, and listening experience around it.

See the task lifecycle
  1. 01

    Describe

    The sound you have in mind

    POST /sonic/create
  2. 02

    Generate

    A task your backend can track

    GET /sonic/task/{id}
  3. 03

    Deliver

    Audio inside your experience

    data[].audio_url
Side A · 04 — Liner notes

A few useful answers.

About the service
Is SunoAPI the official Suno API?

No. SunoAPI is an independent third-party service. It is not run, endorsed by or affiliated with Suno. Does Suno have an API?

Can I bring my own lyrics?

Yes. Use custom mode, put the lyrics in the prompt field and describe the arrangement in tags. Lyrics can be up to 5,000 characters. Custom lyrics guide

Where do I get an API key?

Sign in with Google and create a key in the console. New accounts start with zero credits, so add a credit pack or plan before your first song. Open API keys

How much does a song cost?

Each generation request uses 20 credits, whichever model you choose. One request can return more than one track. Current packs and plans are on the pricing page. See pricing

Which Suno models can I use?

sonic-v6, sonic-v6-wild and sonic-v6-mini. Older model names are rejected rather than silently replaced. Request fields

Does the workbench generate a song?

Yes, with your own key and credits. Building and copying a request is free.

Your next feature could sound different.

Give your idea a soundtrack.

Start with the integration guide