An AI-powered music generation system that uses hierarchical models to create multi-track music from text prompts, now integrated with Microsoft Muzic for enhanced rap generation capabilities.
The system combines two main approaches:
For the main system:
./setup.sh
For Microsoft Muzic integration:
./setup_muzic.sh
Generate music using the original system:
python generate.py --prompt "happy pop song in C major" --tempo 120 --key "C" --mode "major" --style "pop"
Generate rap music using Microsoft Muzic:
python generate_muzic.py --prompt "energetic rap about success" --tempo 95 --key "F" --mode "minor" --style "rap"
Start the API server:
python api_muzic.py
POST /generate_song: Generate a new song
prompt: Text prompt for generationtempo: Tempo in BPMkey: Musical keymode: Musical mode (major/minor)style: Music styleuse_muzic: Whether to use Microsoft Muzic (for rap) or the original systemGET /songs/{job_id}: Check generation status
GET /songs/{job_id}/download: Download generated song
The system uses a combination of:
Copyright (c) 2025 BBZ(AiArtist)
The project includes real audio files from BBZ's music catalog:
data/
└── catalog/
├── Do What I Want/
│ ├── audio/
│ │ └── Do What I Want.mp3
│ ├── lyrics/
│ │ └── lyrics.txt
│ └── features.json
├── Taste It/
│ ├── audio/
│ │ └── standardized.wav
│ └── features.json
└── Friended/
├── audio/
│ └── Friended.wav
└── features.json
Each song includes:
This structure mirrors the original catalog organization while providing a clean interface for the music generation system.
11 commits
Python
79.2%
Shell
20.8%
An AI-powered music generation system that uses hierarchical models to create multi-track music from text prompts, now integrated with Microsoft Muzic for enhanced rap generation capabilities.
The system combines two main approaches:
For the main system:
./setup.sh
For Microsoft Muzic integration:
./setup_muzic.sh
Generate music using the original system:
python generate.py --prompt "happy pop song in C major" --tempo 120 --key "C" --mode "major" --style "pop"
Generate rap music using Microsoft Muzic:
python generate_muzic.py --prompt "energetic rap about success" --tempo 95 --key "F" --mode "minor" --style "rap"
Start the API server:
python api_muzic.py
POST /generate_song: Generate a new song
prompt: Text prompt for generationtempo: Tempo in BPMkey: Musical keymode: Musical mode (major/minor)style: Music styleuse_muzic: Whether to use Microsoft Muzic (for rap) or the original systemGET /songs/{job_id}: Check generation status
GET /songs/{job_id}/download: Download generated song
The system uses a combination of:
Copyright (c) 2025 BBZ(AiArtist)
The project includes real audio files from BBZ's music catalog:
data/
└── catalog/
├── Do What I Want/
│ ├── audio/
│ │ └── Do What I Want.mp3
│ ├── lyrics/
│ │ └── lyrics.txt
│ └── features.json
├── Taste It/
│ ├── audio/
│ │ └── standardized.wav
│ └── features.json
└── Friended/
├── audio/
│ └── Friended.wav
└── features.json
Each song includes:
This structure mirrors the original catalog organization while providing a clean interface for the music generation system.
11 commits
Python
79.2%
Shell
20.8%