Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This is an unofficial Suno 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.

License

Notifications You must be signed in to change notification settings

iduomicc/Suno-API

 
 

Repository files navigation

Unofficial Suno API

This is an unofficial Suno 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

Usage

Configuration

Edit the .env file and fill in the session_id and cookie.

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

cookie

Install dependencies

pip3 install -r requirements.txt

Run

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

uvicorn main:app 

Documentation

After setting up the service, visit /docs

docs

About

This is an unofficial Suno 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%