docs: update readme
This commit is contained in:
parent
8201d0b1bc
commit
f8b40fe59e
@ -40,8 +40,9 @@ We have deployed an example bound to a free Suno account, so it has daily usage
|
|||||||
Suno API currently mainly implements the following APIs:
|
Suno API currently mainly implements the following APIs:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
- `/api/create`: Create music
|
- `/api/generate`: Generate music
|
||||||
- `/api/get`: Get music
|
- `/api/get`: Get music Info
|
||||||
|
- `/api/get_limit`: Get quota Info
|
||||||
```
|
```
|
||||||
|
|
||||||
## Integration with Custom Agents
|
## Integration with Custom Agents
|
||||||
|
@ -39,8 +39,9 @@ Suno.ai v3 是一个令人惊叹的 AI 音乐服务,虽然官方还没有开
|
|||||||
Suno API 目前主要实现了以下 API:
|
Suno API 目前主要实现了以下 API:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
- `/api/create`: 创建音乐
|
- `/api/generate`: 创建音乐
|
||||||
- `/api/get`: 获取音乐
|
- `/api/get`: 获取音乐
|
||||||
|
- `/api/get_limit`: 获取配额信息
|
||||||
```
|
```
|
||||||
|
|
||||||
## 集成到到常见的自定义 Agent 中
|
## 集成到到常见的自定义 Agent 中
|
||||||
|
10
package.json
10
package.json
@ -15,19 +15,19 @@
|
|||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"next": "14.1.4",
|
||||||
"react": "^18",
|
"react": "^18",
|
||||||
"react-dom": "^18",
|
"react-dom": "^18"
|
||||||
"next": "14.1.4"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5",
|
|
||||||
"@types/node": "^20",
|
"@types/node": "^20",
|
||||||
"@types/react": "^18",
|
"@types/react": "^18",
|
||||||
"@types/react-dom": "^18",
|
"@types/react-dom": "^18",
|
||||||
"autoprefixer": "^10.0.1",
|
"autoprefixer": "^10.0.1",
|
||||||
|
"eslint": "^8",
|
||||||
|
"eslint-config-next": "14.1.4",
|
||||||
"postcss": "^8",
|
"postcss": "^8",
|
||||||
"tailwindcss": "^3.3.0",
|
"tailwindcss": "^3.3.0",
|
||||||
"eslint": "^8",
|
"typescript": "^5"
|
||||||
"eslint-config-next": "14.1.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
0
src/api/generate/route.ts
Normal file
0
src/api/generate/route.ts
Normal file
0
src/api/get/route.ts
Normal file
0
src/api/get/route.ts
Normal file
0
src/api/get_limit/route.ts
Normal file
0
src/api/get_limit/route.ts
Normal file
0
src/lib/sunoApi.ts
Normal file
0
src/lib/sunoApi.ts
Normal file
Loading…
Reference in New Issue
Block a user