1 Star 1 Fork 0

jobily/Suno-API

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

好消息

我提供 SUNO API, 不需要任何部署,不需要购买 SUNO 账户。更低的价格,更好的体验。
网址: https://app.sunoaiapi.com

非官方 Suno API

这一个基于 Python和 FastAPI 的非官方 Suno API,目前支持生成歌曲,歌词等功能。
自带维护 token 与保活功能,无需担心 token 过期问题。

特点

  • token 自动维护与保活
  • 全异步,速度快,适合后期扩展
  • 代码简单,易于维护,方便二次开发

对应的套壳

https://github.com/Dooy/chatgpt-web-midjourney-proxy

使用

配置

编辑 .env.example 文件,重命名为 .env,填写 session_id 和 cookie

这些先从浏览器中获取,后期会自动保活。

cookie

运行

安装依赖

pip3 install -r requirements.txt

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

uvicorn main:app 

Docker

docker compose build && docker compose up

文档

搭建服务后访问 /docs

docs

合作交流

MIT License Copyright (c) 2024 Suno API Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Suno AI 是一款免费的 AI 音乐生成工具,用户可以通过文本提示词生成包含歌声和乐器的完整音乐作品。该项目是基于 Python 和 FastAPI 开发的套壳 API 服务,支持生成歌曲、歌词等功能。需要用户手动填入官网获取的 token,但无需担心 token 过期的问题。 展开 收起
Python 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hubo/Suno-API.git
git@gitee.com:hubo/Suno-API.git
hubo
Suno-API
Suno-API
main

搜索帮助