https://github.com/sunoai-api/suno-api
Create Music in Seconds with SunoAPI.
https://github.com/sunoai-api/suno-api
suno suno-ai
Last synced: 5 months ago
JSON representation
Create Music in Seconds with SunoAPI.
- Host: GitHub
- URL: https://github.com/sunoai-api/suno-api
- Owner: SunoAI-API
- License: mit
- Created: 2024-03-26T14:27:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-26T12:10:18.000Z (6 months ago)
- Last Synced: 2025-04-26T13:23:32.827Z (6 months ago)
- Topics: suno, suno-ai
- Language: Python
- Homepage: https://foxaihub.com
- Size: 1.82 MB
- Stars: 1,636
- Watchers: 12
- Forks: 253
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[简体中文](README_ZH.md) | [日本語](README_JA.md)
### FoxAIHub
FoxAIHub focuses on delivering efficient and reliable AI model API services, covering text-to-image, text-to-video, image-to-video, and music generation API, helping you stay ahead at the intersection of creativity and technology.
[FoxAIHUb](https://foxaihub.com)
### 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### 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.

#### Run
Install dependencies
```bash
pip3 install -r requirements.txt
```For this part, refer to the FastAPI documentation on your own.
```bash
uvicorn main:app
```#### Docker
```bash
docker compose build && docker compose up
```#### Documentation
After setting up the service, visit /docs
