Skip to content

Commit

Permalink
v 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
austin2035 committed Mar 27, 2024
1 parent c8e0f2e commit 0847cb9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@ pip3 install -r requirements.txt
For this part, refer to the FastAPI documentation on your own.
```bash
uvicorn main:app
```
```

#### Documentation

After setting up the service, visit /docs

![docs](./images/docs.png)
13 changes: 9 additions & 4 deletions README_ZH.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 非官方 Suno API
# 非官方 Suno API

这一个基于 Python和 FastAPI 的非官方 Suno API,目前支持生成歌曲,歌词等功能。
自带维护 token 与保活功能,无需担心 token 过期问题。
Expand All @@ -9,8 +9,8 @@
- 全异步,速度快,适合后期扩展
- 代码简单,易于维护,方便二次开发


### 使用

#### 配置

编辑 .env 文件,填写 session_id 和 cookie
Expand All @@ -19,8 +19,7 @@

![cookie](./images/cover.png)


#### 安装依赖
#### 安装依赖

```bash
pip3 install -r requirements.txt
Expand All @@ -29,9 +28,15 @@ pip3 install -r requirements.txt
#### 运行

这一部分,自行参考 FastAPI 文档

```bash
uvicorn main:app
```

#### 文档

搭建服务后访问 /docs

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


Binary file modified images/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/docs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0847cb9

Please sign in to comment.