Go to file
blueeon 0fcf77df6d feat: Add new dependencies and SunoApi class for audio generation
functionality

Added new dependencies for axios, pino, and user-agents in the
package.json and pnpm-lock.yaml files to support audio generation
functionality. Additionally, implemented a new SunoApi class in the lib
directory to handle the audio generation process, including functions
for generating, customizing, and retrieving audio content from the
Suno.ai API. This addresses the need for enhanced audio processing
capabilities and lays the groundwork for efficient integration with the
Suno.ai API. No issues are associated with these additions.
2024-03-28 03:35:22 +08:00
.github/ISSUE_TEMPLATE Update issue templates 2024-03-27 18:13:37 +08:00
public Initial commit from Create Next App 2024-03-27 16:13:15 +08:00
src feat: Add new dependencies and SunoApi class for audio generation 2024-03-28 03:35:22 +08:00
.eslintrc.json Initial commit from Create Next App 2024-03-27 16:13:15 +08:00
.gitignore Initial commit from Create Next App 2024-03-27 16:13:15 +08:00
LICENSE Create LICENSE 2024-03-27 18:17:13 +08:00
next.config.mjs Initial commit from Create Next App 2024-03-27 16:13:15 +08:00
package.json feat: Add new dependencies and SunoApi class for audio generation 2024-03-28 03:35:22 +08:00
pnpm-lock.yaml feat: Add new dependencies and SunoApi class for audio generation 2024-03-28 03:35:22 +08:00
postcss.config.js Initial commit from Create Next App 2024-03-27 16:13:15 +08:00
README_CN.md docs: update readme 2024-03-27 22:55:14 +08:00
README.md docs: update readme 2024-03-27 22:55:14 +08:00
tailwind.config.ts Initial commit from Create Next App 2024-03-27 16:13:15 +08:00
tsconfig.json Initial commit from Create Next App 2024-03-27 16:13:15 +08:00

Suno AI API

English | 简体中文

Use API to call the music generation service of Suno.ai and easily integrate it into agents like GPTs.

Introduction

Suno.ai v3 is an amazing AI music service. Although the official API is not yet available, we couldn't wait to integrate its capabilities somewhere.

We discovered that some users have similar needs, so we decided to open-source this project, hoping you'll like it.

Demo

We have deployed an example bound to a free Suno account, so it has daily usage limits, but you can see how it runs: https://...

Features

  • Perfectly implements the creation API from app.suno.ai
  • Supports Custom Mode
  • One-click deployment to Vercel
  • In addition to the standard API, it also adapts to the API Schema of Agent platforms like GPTs and Coze, so you can use it as a tool/plugin/Action for LLMs and integrate it into any AI Agent.
  • Permissive open-source license, allowing you to freely integrate and modify.

Getting Started

2. Clone and deploy this project

3. Configure suno-api

4. Run suno api

5. Create more freely

API Reference

Suno API currently mainly implements the following APIs:

- `/api/generate`: Generate music
- `/api/custom_generate`: Generate music (Custom Mode, support setting lyrics, music style, title, etc.)
- `/api/get`: Get music Info
- `/api/get_limit`: Get quota Info

Integration with Custom Agents

Integration with GPTs

Integration with Coze

Integration with Dify

Contribution Guidelines

License

LGPL-3.0 or later

Contact Us