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 in. A song-generation task out.

ONE FOCUSED INTEGRATIONFull-song generationCustom lyricsInstrumental musicAsynchronous delivery
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
02 / WHAT YOU CAN BUILD

Three ways into the music.

Explore the API
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
01DescribeThe sound you have in mind
02GenerateA task your backend can track
03DeliverAudio inside your experience
04 / BEFORE YOU BUILD

A few useful answers.

About the service
Is this the official Suno API?

SunoAPI is an independent third-party developer website, not an official Suno service. Use sunoapi.com to build and test song generation requests with your SunoAPI account.

Can I bring my own lyrics?

Yes. Use custom mode, put lyrics in the prompt field, and describe the arrangement in tags. The workbench builds this request for you.

Where do I get an API key?

Create a SunoAPI account and manage your API keys and credits through the dashboard. Open the SunoAPI key dashboard ↗

Does the workbench generate a song?

Yes. Enter your existing SunoAPI key and select Generate song to submit a request using your account credits. You can track the task and play the results here. Exploring or copying a request is free.

YOUR NEXT FEATURE COULD SOUND DIFFERENT.

Give your idea a soundtrack.

Start with the integration guide