Giter Club home page Giter Club logo

suno-ai-bot's Introduction

🎵 Suno AI Music Generator Telegram Bot

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.

PyPI Package Suno-AI Github Updates Telegram Channel

🌟 Features

  • 🎶 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.

🚀 Deployment

🔧 Prerequisites

  • A registered Telegram Bot Token (obtain one from BotFather)
  • Access to Suno AI API with a valid cookie - Tutorial

On PasS

Set SUNO_COOKIE and BOT_TOKEN as Environmental variables.

Deploy with heroku Deploy to Netlify

Deploy on Railway Deploy to Render

Locally

  1. Clone the repository:

    git clone https://github.com/Malith-Rukshan/Suno-AI-BOT.git
    cd Suno-AI-BOT
  2. Install required packages:

    pip install -r requirements.txt
  3. Set Environment Variables:

    Set the BOT_TOKEN and SUNO_COOKIE in your environment variables or directly in the code.

    export BOT_TOKEN='your_bot_token_here'
    export SUNO_COOKIE='your_suno_cookie_here'
  4. Run the Bot:

    python main.py

⌨️ Commands

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.

🤝 Contributing

Contributions to the Suno AI Music Generator Bot are welcome! Please feel free to fork the repository, make changes, and submit pull requests.

🎯 Credits and Other

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.

⚖️ License

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.

🌟 Support and Community

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,

📬 Contact

If you have any questions, feedback, or just want to say hi, you can reach out to me:

🧑‍💻 Built with 💖 by Single Developers </>

suno-ai-bot's People

Contributors

malith-rukshan avatar harshit-shrivastav avatar

Stargazers

Yakudza avatar VGX.LEO avatar Md Matin Ashraf avatar

Watchers

Kostas Georgiou avatar  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.