[简体中文](README_ZH.md) | [日本語](README_JA.md)
# 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
### Contact me
[https://t.me/austin2035](https://t.me/austin2035)
![https://pic.lookcos.cn/i/2024/04/05/weig7l.jpg](https://pic.lookcos.cn/i/2024/04/05/weig7l.jpg)
### 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)
没有合适的资源?快使用搜索试试~ 我知道了~
Suno-AI项目源代码.zip
共20个文件
py:6个
md:4个
png:2个
需积分: 5 0 下载量 172 浏览量
2024-04-07
23:26:14
上传
评论
收藏 742KB ZIP 举报
温馨提示
Suno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zipSuno-AI项目源代码.zip
资源推荐
资源详情
资源评论
收起资源包目录
Suno-AI项目源代码.zip (20个子文件)
utils.py 2KB
cookie.py 2KB
images.zip 366KB
.env.example 57B
main.py 2KB
README_RO.md 1KB
LICENSE 1KB
README_ZH.md 907B
deps.py 161B
docker-compose.yml 107B
.idea
.gitignore 239B
Dockerfile 290B
README_JA.md 1KB
schemas.py 1KB
requirements.txt 56B
images
cover.png 169KB
wechat.jpg 166KB
docs.png 46KB
test.py 3KB
README.md 1KB
共 20 条
- 1
资源评论
程序设计实验室
- 粉丝: 466
- 资源: 28
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功