GithubHelp home page GithubHelp logo

kevinxft / suno-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunoai-api/suno-api

0.0 0.0 0.0 1.04 MB

We provide unofficial Suno AI API, which can be used to generate music, lyrics, etc., without any deployment and setup.๐Ÿ‘‡

Home Page: https://www.sunoaiapi.com

License: MIT License

Python 97.22% Dockerfile 2.78%

suno-api's Introduction

็ฎ€ไฝ“ไธญๆ–‡ | ๆ—ฅๆœฌ่ชž

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://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

Run

Install dependencies

pip3 install -r requirements.txt

For this part, refer to the FastAPI documentation on your own.

uvicorn main:app 

Docker

docker compose build && docker compose up

Documentation

After setting up the service, visit /docs

docs

suno-api's People

Contributors

austin2035 avatar trouvaille0198 avatar thatsinewave avatar eltociear avatar zzhbible avatar wengchaoxi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.