Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

Create Music in Seconds with SunoAPI.

Awesome Lists containing this project

README

        

[简体中文](README_ZH.md) | [日本語](README_JA.md)

I provide the Suno API, no deployment is required, no subscription to suno is required.
Lower price, more convenient to use the suno API.
Website: [https://app.foxai.me](https://app.foxai.me)

### 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](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](./images/cover.png)

#### 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

![docs](./images/docs.png)

### Useful resources

[chatgpt web, midjourney, gpts,tts, whisper,suno-v3](https://github.com/Dooy/chatgpt-web-midjourney-proxy)