Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

EricMymj/Suno-API

Repository files navigation

简体中文 | 日本語

Unofficial API

This is an unofficial API based on Python and FastAPI. It currently supports generating songs, lyrics, etc.
It comes with a built-in token maintenance and keep-alive feature, so you don't have to worry about the token expiring.

Features

  • Automatic token maintenance and keep-alive
  • Fully asynchronous, fast, suitable for later expansion
  • Simple code, easy to maintain, convenient for secondary development

Contact me

https://t.me/austin2035

Usage

Configuration

Edit the .env.example file, rename to .env and fill in the session_id and cookie.

These are initially obtained from the browser, and will be automatically kept alive later.

cookie

Run

Install dependencies

pip3 install -r requirements.txt

For this part, refer to the FastAPI documentation on your own.

uvicorn main:app 

Docker

docker compose build && docker compose up

Documentation

After setting up the service, visit /docs

docs

合作交流

备注进群:拉你进入 音乐生成行业交流群

Useful resources

chatgpt web, midjourney, gpts,tts, whisper,suno-v3

About

Create Music in Seconds with SunoAPI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Python 97.4%
  • Dockerfile 2.6%

AltStyle によって変換されたページ (->オリジナル) /