Contact me, if you need suno api.
https://t.me/austin3306
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.
- Automatic token maintenance and keep-alive
- Fully asynchronous, fast, suitable for later expansion
- Simple code, easy to maintain, convenient for secondary development
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.
Install dependencies
pip3 install -r requirements.txtFor this part, refer to the FastAPI documentation on your own.
uvicorn main:app docker compose build && docker compose upAfter setting up the service, visit /docs


