Skip to content

oldcai/Suno-API-Python

 
 

Repository files navigation

简体中文 | 日本語

FoxAIHub

FoxAIHub focuses on delivering efficient and reliable AI model API services, covering text-to-image, text-to-video, image-to-video, and music generation API, helping you stay ahead at the intersection of creativity and technology.

FoxAIHUb

Unofficial API

This is an unofficial 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

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

About

Suno AI API in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.4%
  • Dockerfile 2.6%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy