# SunoAI-API/Suno-API

Create Music in Seconds with SunoAPI.

Repository: https://github.com/SunoAI-API/Suno-API
Canonical: https://ross.abutalabs.com/products/sunoai-api-suno-api
Homepage: https://foxaihub.com
Language: Python
License: MIT
License Family: permissive
Topics: suno-ai, suno
Last push: 2025-04-26T12:10:18+00:00

## Health v2 (maintenance only)
Score: 33/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 18, release rhythm 35, longevity 63
- inputs: {"age_days": 890, "days_push": 494, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1806, forks 281 (observed 2026-08-28T04:05:39.071935+00:00)

## What it is
An unofficial Python/FastAPI-based API wrapper for Suno AI that lets you generate songs and lyrics programmatically. It includes automatic token maintenance and keep-alive, is fully asynchronous, and can be self-hosted via Docker.

## Use cases
- generate songs with suno ai from my own app
- unofficial suno api for music generation
- create music programmatically with python
- generate lyrics from a text prompt via api
- self-host a suno ai api proxy with docker
- keep suno session cookies alive automatically
- integrate ai music generation into my project

## When to choose
- you want to call Suno AI from code without an official API
- you need a self-hosted FastAPI service with automatic token keep-alive
- you want an async Python wrapper you can extend for your own app

## When to avoid
- you need an officially supported, SLA-backed Suno API
- you are unwilling to supply your own Suno session cookies
- you need a fully managed commercial service rather than self-hosting

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, llm-inference, audio-processing, sdk
- domain: artificial-intelligence, audio, apis, backend, media
- platform: python, self-hosted
- tags: suno-ai, music-generation, unofficial-api, fastapi, text-to-music, lyrics-generation, token-keep-alive, docker, web-server

## Member repositories
- SunoAI-API/Suno-API (main) score 33

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.071935+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:28.187809+00:00, confidence not recorded.
  - readme: https://github.com/SunoAI-API/Suno-API (fetched 2026-08-28T04:05:39.071935+00:00, sha f15925d44591)
  - homepage: https://foxaihub.com (fetched 2026-08-29T11:00:33.296498+00:00, sha 6f97fdec343e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
