Suno Integration Guide

Technology: suno · Category: ai · Last reviewed: 2026-10-21

Source: https://tech-stack.codeamanilabs.org/guide/suno

Insight:

Suno is the leading text-to-music product (v6 / v6-wild / v6-mini, up to 8 minutes per song), but as of 2026-10 it has NO public, self-serve API: the developer platform at platform.suno.com is partner-only (announced July 2026, curated intake, no public docs, keys, or pricing). The "Suno API" sites that sell keys are third-party wrappers, and Suno's Terms ban bots, scraping and reselling access — do not build client work on them. For codeAmani, Suno is a human-in-the-loop creative tool (make the jingle on a paid plan, re-host the file); programmatic music goes through a provider with a real contract (ElevenLabs Music) behind a swappable adapter until Suno grants partner access.

███████╗██╗   ██╗███╗   ██╗ ██████╗
██╔════╝██║   ██║████╗  ██║██╔═══██╗
███████╗██║   ██║██╔██╗ ██║██║   ██║
╚════██║██║   ██║██║╚██╗██║██║   ██║
███████║╚██████╔╝██║ ╚████║╚██████╔╝
╚══════╝ ╚═════╝ ╚═╝  ╚═══╝ ╚═════╝

Suno Integration Guide

Focus: Suno makes full songs (vocals + instruments + lyrics) from a text prompt — but there is no public API. Treat it as a creator tool with clear commercial-rights rules, keep programmatic music behind an adapter, and never wire client work to an unofficial wrapper.

Overview

Suno is a generative-music platform: type a description ("upbeat Afro-pop jingle for a Nairobi bakery, female vocals, Swahili chorus") or paste your own lyrics, and it returns a finished song with vocals. It is the most-used product in the category (Suno reported 2M+ paid subscribers and ~$300M ARR in Feb 2026).

Current models (help center, 2026-10-21):

Model What it is Plans
v6 Latest core model, recommended default Pro, Premier
v6-wild Experimental, genre-blending, drifts further from the prompt Pro, Premier
v6-mini Faster, lighter — quick iterations / drafts All plans (incl. free)
Custom Models Trained on your own uploaded music Pro, Premier

All v6 variants generate up to 8 minutes per song. The "Voices" feature (sing with your own voice) currently requires the older v5.5 model.

API status — read this first

Question Answer (2026-10-21)
Is there an official API? Partner-only. platform.suno.com is Suno's REST API developer platform ("generate original songs, covers, and mashups from a single prompt"), sign-in gated.
How do you get access? Suno's CPO announced a curated partner program on 2026-07-01 (Typeform intake linked from his LinkedIn post). No public docs, endpoints, keys, rate limits or pricing.
Can I spend my Pro/Premier credits via an API? No. Consumer credits are for the web/mobile app.
What about sites and repos advertising a "Suno API"? Not Suno, and not recommended. They are unofficial third-party wrappers or key resellers, typically driving a logged-in Suno session (cookies). This guide deliberately does not name or link any of them — see the ToS section.

Because no endpoint or schema is publicly documented, this guide deliberately contains no Suno HTTP calls. Do not invent them, and do not copy them from unofficial wrapper or reseller docs.

Official paths only. The only sanctioned ways to use Suno are the suno.com app (on a paid plan, for commercial work) and, once granted, Suno's own partner API. For music generated in code, use a provider with a public API and published terms (see "Programmatic music" below) — never an unofficial reseller.

Official Documentation

Source URL What it covers
What's new in v6 https://help.suno.com/en/articles/13924801 v6 / v6-wild / v6-mini, 8-minute limit, plan availability
Ownership https://help.suno.com/en/articles/2416769 Who owns songs on free vs Pro/Premier
Free-plan rights https://help.suno.com/en/articles/9601601 Non-commercial only, 50 daily credits
Developer platform https://platform.suno.com/ Partner API sign-in (no public docs)
Terms of Service https://suno.com/terms-of-service Revised 2026-08-10, effective 2026-09-03 — automation & resale bans
Pricing https://suno.com/pricing Current plan prices (they change — check before quoting a client)
Bark (open source) https://github.com/suno-ai/bark Suno's MIT-licensed text-to-audio model

Rights & ownership — the rule that matters

"Was I subscribed when I made the song?" — that single question decides commercial use.

Created on Who owns it Commercial use
Basic (free) Suno No — personal, non-commercial only; share via Suno link
Pro / Premier You Yes — and you keep that right after cancelling
Free, then upgraded later Suno No — upgrading is not retroactive

Ownership is not copyright. In the US, material made entirely by AI is not copyrightable; writing the prompt does not make you the author. If a human writes the lyrics, those lyrics are registrable, and some registrars may treat the whole song as human-authored with Suno as an instrument. Some distributors refuse uncopyrightable tracks — read their terms before promising a client Spotify distribution.

Terms of Service — why the wrappers are off-limits

Suno's Terms (effective 2026-09-03) prohibit, among other things:

A wrapper that replays your logged-in cookies is automated access by unofficial means, and a vendor selling "Suno API keys" is reselling access. Either can get the underlying account banned mid-campaign and puts the commercial rights of everything generated on it in question. codeAmani rule: no unofficial Suno wrappers in any shipped product.


How to actually use Suno at codeAmani

flowchart TD
    A["Need music"] --> B{"One-off creative asset?<br/>(jingle, ad bed, intro)"}
    B -->|"yes"| C["Make it in Suno on a<br/>Pro/Premier seat"]
    C --> D["Download WAV/MP3 + keep<br/>the song link as provenance"]
    D --> E["Re-host to R2"]
    B -->|"no — generated in-app<br/>per user/request"| F{"Suno partner access granted?"}
    F -->|"yes"| G["SunoProvider behind<br/>MusicProvider adapter"]
    F -->|"no (default)"| H["ElevenLabs Music API<br/>(see eleven-labs/ guide)"]

1. Creator workflow (works today)

  1. Generate on a company Pro or Premier seat — never a personal free account — so the company owns the output from the moment it is created.
  2. Write (or have the client write) the lyrics yourselves where possible: it strengthens the copyright position and lets you control Swahili/Sheng phrasing.
  3. Download the file and store the song URL + model + date + plan next to it as a provenance record.
  4. Re-host the audio in R2 (cloudflare-r2/) — do not hot-link Suno song pages from a product.

2. Programmatic music — adapter first

Code against an interface, not a vendor, so a Suno partner key can drop in later without touching call sites:

// lib/music/provider.ts
export interface MusicRequest {
  prompt: string;          // style + mood + instrumentation
  lyrics?: string;         // human-written lyrics, if any
  durationSeconds: number; // keep short: jingles are 15–60 s
  instrumental?: boolean;
}

export interface MusicResult {
  audioUrl: string;  // your R2 URL after re-hosting, never the provider's
  provider: "elevenlabs" | "suno";
  model: string;
  createdAt: string;
}

export interface MusicProvider {
  generate(req: MusicRequest): Promise<MusicResult>;
}

The default implementation today is ElevenLabs Music (music_v2_5, documented in eleven-labs/CLAUDE_CODE_INTEGRATION.md), which has a public API, pricing, and commercial terms. Add a SunoProvider only after Suno issues partner credentials and publishes the contract you can code against.

3. Bark — Suno's open-source model (not Suno songs)

Bark is Suno's MIT-licensed transformer text-to-audio model: speech in many languages, laughs/sighs, and short music snippets when you wrap text in ♪. It is not the model behind suno.com, it has not been updated since 2024, and its music is rough — useful for offline experiments, not deliverables.

pip install suno-bark
from bark import SAMPLE_RATE, generate_audio, preload_models
from scipy.io.wavfile import write as write_wav

preload_models()  # downloads weights on first run (GPU strongly recommended)
audio = generate_audio("♪ Fresh bread every morning, come on in ♪")
write_wav("jingle-draft.wav", SAMPLE_RATE, audio)

Bark is also available in Hugging Face Transformers (suno/bark, suno/bark-small) — see hugging-face/.


Prompting tips (creator workflow)

codeAmani notes

Official docs: