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!
- Node.js
- npm (Node.js package manager)
- A HuggingFace account for API Keys.
- HuggingFace API Key - Get from here
-
Clone the repository:
git clone https://github.com/Adib23704/MusicGen-AI.git
-
Install dependencies:
npm install
-
Configure environment values:
- Make a copy of
.env.examplefile. - Rename the copied file to
.env - Open the file using notepad and configure the required values.
- Make a copy of
-
Start the server:
npm start
-
Open your web browser and navigate to http://localhost:8080 to access the application.
- Open the application in your web browser.
- 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.
- Wait for the music to be generated. Once it's generated, it'll start playing automatically on the web.
Contributions are welcome! Feel free to open issues or submit pull requests to improve the application.
This project is licensed under the MIT License.