Welcome to the Suno AI Music Generator Bot! 🤖 This bot leverages the Suno AI API to generate custom music tracks based on user inputs directly within Telegram.
✍️ Note : This is a Very Basic Bot Example demonstrating how to use the Suno AI API.
- 🎶 Music Generation: Generate music by providing custom lyrics or a description.
- 🖱️ Interactive Commands: Simple commands to start music generation, check credits, and cancel ongoing operations.
- 👥 Simple Interface: Easy to use with inline buttons for quick selections.
- A registered Telegram Bot Token (obtain one from BotFather)
- Access to Suno AI API with a valid cookie - Tutorial
Set SUNO_COOKIE
and BOT_TOKEN
as Environmental variables.
-
Clone the repository:
git clone https://github.com/Malith-Rukshan/Suno-AI-BOT.git cd Suno-AI-BOT
-
Install required packages:
pip install -r requirements.txt
-
Set Environment Variables:
Set the
BOT_TOKEN
andSUNO_COOKIE
in your environment variables or directly in the code.export BOT_TOKEN='your_bot_token_here' export SUNO_COOKIE='your_suno_cookie_here'
-
Run the Bot:
python main.py
Interact with your bot on Telegram using the following commands:
/start
- Welcome message and basic bot information./generate
- Starts the music generation process./credits
- Shows the current credit balance and usage./cancel
- Cancels the current operation and resets the session.
Contributions to the Suno AI Music Generator Bot are welcome! Please feel free to fork the repository, make changes, and submit pull requests.
All content and music generated through this bot are credited to Suno AI. This Bot by unofficial API provides a convenient way to interact with Suno AI's services but does not claim any ownership or rights over the music generated. Please respect the terms of service of Suno AI when using their platform ❤️.
This bot is intended primarily for educational and development purposes. It aims to enhance and simplify access to Suno AI's music generation capabilities. If you enjoy the music generated, consider supporting Suno AI directly. Based on Python Telegram BOT API.
This project is distributed under the MIT License. This license allows everyone to use, modify, and redistribute the code. However, it comes with no warranties regarding its functionality. For more details, see the LICENSE file in the repository.
If you found this project helpful, don't forget to give it a ⭐ on GitHub. This helps others find and use the project too! 🫶
Join our Telegram channels,
- @SingleDevelopers, for more amazing projects and updates ✓
- @SunoAPI, for this project updates ✓
If you have any questions, feedback, or just want to say hi, you can reach out to me:
- Developer : @MalithRukshan
- Support Group : @Suno_API
🧑💻 Built with 💖 by Single Developers </>