← Back to dashboard

Suno Integration Guide

What is Suno?

The real model

No public API: platform.suno.com is partner-only, so code against a MusicProvider adapter.

Suno's REST developer platform launched as a curated partner program (July 2026) with no public docs, keys or pricing. The 'Suno API' sites are third-party wrappers that replay logged-in sessions — Suno's Terms ban bots, unofficial access and reselling, so they're off-limits for codeAmani. Ship programmatic music through ElevenLabs Music (music_v2_5) behind a MusicProvider interface and add a SunoProvider only with partner credentials. For one-off jingles, make them on a company Pro/Premier seat, record provenance, re-host to R2. Kenya angle: Swahili lyrics work but need native-speaker review; keep WhatsApp jingles 15–30 s for 2G/3G.

Five Suno primitives

Prompt and lyrics go in, a song comes out — and the plan you were on decides who owns it.

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

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

ModelWhat it isPlans
v6Latest core model, recommended defaultPro, Premier
v6-wildExperimental, genre-blending, drifts further from the promptPro, Premier
v6-miniFaster, lighter — quick iterations / draftsAll plans (incl. free)
Custom ModelsTrained on your own uploaded musicPro, 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

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

SourceURLWhat it covers
What's new in v6https://help.suno.com/en/articles/13924801v6 / v6-wild / v6-mini, 8-minute limit, plan availability
Ownershiphttps://help.suno.com/en/articles/2416769Who owns songs on free vs Pro/Premier
Free-plan rightshttps://help.suno.com/en/articles/9601601Non-commercial only, 50 daily credits
Developer platformhttps://platform.suno.com/Partner API sign-in (no public docs)
Terms of Servicehttps://suno.com/terms-of-serviceRevised 2026-08-10, effective 2026-09-03 — automation & resale bans
Pricinghttps://suno.com/pricingCurrent plan prices (they change — check before quoting a client)
Bark (open source)https://github.com/suno-ai/barkSuno'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 onWho owns itCommercial use
Basic (free)SunoNo — personal, non-commercial only; share via Suno link
Pro / PremierYouYes — and you keep that right after cancelling
Free, then upgraded laterSunoNo — 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:

  • "data mining, robots, scraping, or similar data gathering or extraction methods"
  • accessing the Service "through any means not intentionally made available"
  • reverse engineering the software
  • to "sell, resell, grant access to, transfer, or otherwise use or exploit any portion of the Service"

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

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:

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

Bash
pip install suno-bark
Python
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)

  • Lead with genre + tempo + mood + instruments + vocal type: "Afrobeats, 105 BPM, joyful, marimba and log drums, warm female lead, call-and-response chorus".
  • Use v6-mini to explore 5–10 directions cheaply, then re-run the winner on v6.
  • Put structure tags in custom lyrics ([Verse], [Chorus], [Bridge]) to control arrangement.
  • Don't name real artists or paste copyrighted lyrics — Suno filters these, and it is exactly the material the label lawsuits are about.

codeAmani notes

  • No public API ⇒ no production dependency. Until Suno grants partner access, Suno is a design-team tool, not a backend. Programmatic music goes through ElevenLabs behind MusicProvider. Revisit this guide when platform.suno.com publishes docs.
  • Secrets: there is no Suno key to manage today. If partner credentials arrive, they are server-side only (never NEXT_PUBLIC_*), stored in Hazina / Vercel env like every other AI key. Never paste Suno session cookies into code or a wrapper.
  • AI routing: music generation is a distinct modality next to Claude (reasoning), OpenAI (structured), HuggingFace (open models) and AI video (ai-video/).
  • Rights: company-owned Pro/Premier seat only; free-tier output is never client work. Record provenance for every delivered track.
  • Legal/brand risk: Warner Music settled with Suno (Nov 2025) and licensed models are promised; UMG and Sony litigation is ongoing (2026). Disclose AI generation to clients, and check whether a client's brand guidelines allow AI music at all.
  • Kenya-targeted projects: Suno handles Swahili lyrics, but pronunciation and Sheng are uneven — have a native speaker review before release (same caution as the Swahili AI research report). Keep jingles short (15–30 s, compressed MP3/AAC) for WhatsApp status and 2G/3G playback.