Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Repository files navigation

MusicGen AI

MusicGen AI is a web application that generates any kind music based on prompts using AI. Enter your prompt and enjoy the awesome generated music!

Requirements

  • Node.js
  • npm (Node.js package manager)
  • A HuggingFace account for API Keys.
  • HuggingFace API Key - Get from here

Installation

  1. Clone the repository:

    git clone https://github.com/Adib23704/MusicGen-AI.git
  2. Install dependencies:

    npm install
  3. Configure environment values:

    • Make a copy of .env.example file.
    • Rename the copied file to .env
    • Open the file using notepad and configure the required values.
  4. Start the server:

    npm start
  5. Open your web browser and navigate to http://localhost:8080 to access the application.

Usage

  1. Open the application in your web browser.
  2. Type your prompt on the textfield then click "Generate" OR if you don't know how to write prompt, simply click "Example". It will type out an example prompt for you.
  3. Wait for the music to be generated. Once it's generated, it'll start playing automatically on the web.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the application.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages