GPT-Image 2.6 Flare & Sunburst are liveImages from $0.025 each

Suno API: Official Status, API Keys and a Python Example

Suno's own API is invite-only. Here is what still works today.

Kiki, OmniaKey COO6 min read
On this page

Say you want your app to write a short song for every user, and Suno is the model you want. You can call it from code, but not through Suno yet: as of October 17, 2026, Suno's own API is open only to invited partners.

Without an invite, a third-party API gets you a finished song in about a minute and a half, and the Python below runs as is.

Short answer

  • Suno's own API exists, but you cannot sign up: no public docs, prices or self-serve keys.
  • The best-known unofficial wrapper runs through your own Suno account, which Suno's Terms do not allow.
  • A third-party API such as OmniaKey gives you a key today. Our songs came back in 70 to 105 seconds.
  • Before you sell anything you make with it, read Suno's Terms on commercial use.

Is there an official Suno API?

Yes, but it is invite-only. Suno's developer page, platform.suno.com, says "Make music with the Suno API" and offers just one thing: a sign-in for existing API accounts. Its /docs and /pricing addresses show the same sign-in box (checked October 17, 2026).

What you look forStatus
Public sign-upNo
Public docsNo
Public pricesNo
How to get inAn invite

The invites go back to July. Music Business Worldwide reported on July 2, 2026 that Suno's chief product officer, Jack Brody, posted an intake form for "a curated group of partners". Suno has not announced a date for wider access.

What are your options today?

If you need songs from code this week, a third-party API is the practical choice. Here is how the three options compare:

OptionWhat you needThe catch
Suno's own APIAn invite from SunoClosed to most developers
Unofficial GitHub wrapperYour Suno cookie, a paid captcha solver, a serverSuno's Terms ban bots and scraping
Third-party API, such as OmniaKeyAn API keyNot Suno's own service

The unofficial wrapper is gcui-art/suno-api: 3,259 stars on GitHub and no new code since March 6, 2026. Its README asks you to copy the cookie from your own Suno account, pay for 2Captcha to get past Suno's captchas, and run a scripted browser. Suno's Terms of Service (revised August 10, 2026) ban "robots, scraping" and getting content "through any means not intentionally made available", so read them before you build on it.

A third-party API is what we used. OmniaKey is a third-party platform, not Suno. It sells API access to Suno v4.5 and Suno v6 with its own key, and each request returns one finished song. To make a song without code, both models are also in the AI Audio Generator.

How do you make your first song in Python?

Three calls:

  1. Create the job with POST /v1/media/tasks.
  2. Check it with GET /v1/media/tasks/{id} every 5 seconds. Ours were ready in 70 to 105 seconds.
  3. Download the MP3 from assets[0].url. The link expires in about an hour.

Put your key in an environment variable, save the script as suno_song.py, and run it:

bash
export OMNIAKEY_API_KEY="your-key"
python3 suno_song.py
python
import os
import time
import uuid

import requests

API = "https://api.omniakey.com/v1/media/tasks"
HEADERS = {"Authorization": f"Bearer {os.environ['OMNIAKEY_API_KEY']}"}

# 1. Create the job. Reuse the same Idempotency-Key only when retrying this exact request.
job = requests.post(
    API,
    headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
    json={
        "model": "suno-v4.5",
        "type": "audio",
        "operation": "generate",
        "input": {"prompt": "calm lo-fi beat for late-night coding, soft piano, vinyl crackle"},
        "parameters": {"title": "Late Build", "instrumental": True},
    },
    timeout=30,
)
job.raise_for_status()
task = job.json()
print("task:", task["id"], task["status"])

# 2. Poll on status, not on progress.percent, until the job finishes.
while task["status"] in ("queued", "processing"):
    time.sleep(5)
    task = requests.get(f"{API}/{task['id']}", headers=HEADERS, timeout=30).json()

if task["status"] != "succeeded":
    raise SystemExit(f"job ended {task['status']}: {task.get('error')}")

# 3. Download the MP3 now: the signed URL expires in about an hour.
asset = task["assets"][0]
with open("late-build.mp3", "wb") as f:
    f.write(requests.get(asset["url"], timeout=120).content)
print("saved late-build.mp3", asset["byte_size"], "bytes")

When we ran it on October 17, 2026, it printed this and saved the file 82 seconds after it started:

text
task: task_VDvzdpfABcqDOIpo9I1p7CXHg99elSuK queued
saved late-build.mp3 3506516 bytes

You get a 2:55 instrumental: a 48 kHz stereo MP3 of 3.5 MB. Our four test songs came back the same way, one MP3 per request:

ModelInputReady inLength
v4.5prompt105 s3:23
v6prompt92 s3:07
v4.5own lyrics70 s1:03
v6own lyrics86 s0:45

Should you use Suno v4.5 or v6?

Start with v6. Suno calls it its flagship model and announced the v6 family on September 9, 2026. On suno.com, v6 is for paid plans only. Through the API, both took about the same time in our tests.

Pick v4.5 when you want to pin an older Suno version with parameters.mv, such as chirp-v4. OmniaKey's suno-v4.5 ID does not say which v4.5 variant it maps to.

To hear the difference, our Suno v6 review runs the same three prompts through both models, with a clip of every song.

What should you know before your first requests?

  • A description gives a full song. Ours ran about three minutes. Your own lyrics give a song about as long as the words: our eight lines came back at 45 to 63 seconds.
  • Check status, not the percentage. progress.percent can sit at 0 while the song is being made.
  • Download within the hour. The MP3 link expires; poll the task again for a fresh one. Task records stay for 24 hours.
  • Retries never charge twice if you resend the same body with the same Idempotency-Key.
  • Only generate works. Extending a song, lyrics on their own and speech fail with 503 no_available_channel, and you get the charge back.

For reusable prompts for vocals, lyrics and instrumentals, see our Suno prompt guide.

FieldWhat it does
input.promptDescribe the song you want
input.lyricsYour own words; switches to custom lyrics
parameters.style / parameters.tagsThe style when you send lyrics
parameters.titleThe song title
parameters.instrumentaltrue drops the vocal
parameters.mvPins a v4.5 version: chirp-v4-5, chirp-v4, chirp-v3-5, chirp-bluejay
parameters.nMust be 1: one request, one song

What if a request fails?

Read the error code, and know that a job that fails, is cancelled or never reaches Suno is refunded automatically.

CodeWhat it meansWhat to do
400 invalid_requestMalformed body, or neither prompt nor lyricsFix the body, use a new Idempotency-Key
400 missing_idempotency_keyNo Idempotency-Key headerAdd one unique key per job
400 model_price_errorNo price set for this model and operationCheck the Dashboard or the model page
403 model_not_allowedYour key or group does not include the modelCheck the key's model access
404 task_not_foundUnknown task IDCheck the ID; records last 24 hours
409 idempotency_key_reusedSame key, different bodySend the original body or a new key
409 task_state_conflictThe job cannot move to that stateRead the task's current status
503 no_available_channelNo channel serves the model or operation nowUse generate, or try later
provider_submit_uncertainOperation not served, or parameters rejected before sendingRead error.message; the charge is refunded
provider_failedSuno rejected the job or it timed out in the queueRead error.message; the charge is refunded

If creating the job times out, resend the identical body with the same key. Once you have a task ID, keep polling it instead of starting over.

Can you use the songs commercially?

Read Suno's Terms first, because they are strict. Songs made on Suno's free plan are for personal, non-commercial use only. Pro and Premier subscribers get the rights to their songs, and Suno allows commercial use only for songs "downloaded by you through an approved channel".

Songs from a third-party API are no exception, so check Suno's Terms before you put a generated song in a paid product.

Conclusion

Suno's own API is closed for now. If you need songs from code today, a third-party API is the simplest way that works: one key, three calls, a finished song in under two minutes. Check platform.suno.com every so often, and switch when Suno opens its own door.

Common questions

Is there a free Suno API?

Not from Suno: platform.suno.com has no free API tier. The free plans live in the suno.com app, where v6-mini is open to everyone and v4.5-all has been free since October 21, 2025. Songs from the free tier are for personal use only.

How do I get a Suno API key?

If Suno has already given you an API account, sign in at platform.suno.com. Otherwise there is no form on the page today. A third-party platform such as OmniaKey issues its own key, separate from any Suno login.

How long does one song take?

Our five songs took 70 to 105 seconds each. OmniaKey's audio docs give a range of twenty seconds to two minutes.

Models in this article

Suno APISuno v6Suno v4.5music generation APIPython

Related articles

Recent posts

Popular guides