Meta's open-source AI music model — free, local, unlimited
Musicgen is Meta's open-source AI music generation model. It runs locally for unlimited free use, accepts text and optional melody conditioning, and is widely used by developers and researchers. It generates short instrumental clips without vocals — ideal for film scoring, game audio, and background music.
Short descriptive sentences — genre + instruments + mood + BPM
Completely free, open-source, run locally with no limits
Melody conditioning — hum a tune or upload a MIDI to guide generation
Developer-friendly with Python API and Hugging Face integration
Musicgen works best with clear, concise descriptions: 'upbeat jazz piano trio, 120 BPM, light swing drums'.
Use melody conditioning: upload a MIDI or audio file and Musicgen will generate music in that melodic direction.
Musicgen-Large produces the best quality — use the stereo-large variant for widest frequency response.
Run via Hugging Face Spaces for free without local setup — the web demo handles most use cases.
41 genres · click to get copy-paste prompts
90–110 BPM · Groovy · Warm
108–116 BPM · Deep · Hypnotic
75–100 BPM · Confident · Gritty
130–145 BPM · Dark · Aggressive
140–145 BPM · Dark · Menacing
65–85 BPM · Chill · Nostalgic
120–130 BPM · Euphoric · Soulful
65–95 BPM · Romantic · Emotional
60–90 BPM · Peaceful · Spiritual
120–220 (swing tempo) BPM · Sophisticated · Improvised
100–130 BPM · Uplifting · Catchy
100–160 BPM · Powerful · Raw
140–220 BPM · Aggressive · Intense
80–130 BPM · Nostalgic · Heartfelt
120–145 BPM · Euphoric · High-energy
70–100 BPM · Smooth · Sensual
90–120 BPM · Groovy · Playful
70–120 BPM · Uplifting · Spiritual
65–90 BPM · Relaxed · Positive
95–115 BPM · Aggressive · Party
90–140 BPM · Introspective · Authentic
100–140 BPM · Energetic · Polished
95–115 BPM · Passionate · Sensual
60–120 BPM · Emotional · Raw
40–180 BPM · Majestic · Emotional
70–130 BPM · Authentic · Nostalgic
60–80 (or no tempo) BPM · Peaceful · Meditative
160–180 BPM · High-energy · Dark
130–160 BPM · Dark · Aggressive
140–180 BPM · Chaotic · Euphoric
120–140 BPM · Relaxed · Romantic
150–220 BPM · Aggressive · Rebellious
130–145 BPM · Dark · Industrial
130–160 BPM · Party · Euphoric
100–140 BPM · Angsty · Raw
100–140 BPM · Introspective · Edgy
75–95 BPM · Relaxed · Nostalgic
90–140 BPM · Dramatic · Romantic
70–110 BPM · Emotional · Powerful
95–115 BPM · Joyful · Uplifting
130–160 BPM · Dark · Hype
Short descriptive sentences — genre + instruments + mood + BPM The most effective approach: name the genre first, add BPM, list 3-4 key instruments, then describe the mood. Musicgen works best with clear, concise descriptions: 'upbeat jazz piano trio, 120 BPM, light swing drums'..
Musicgen supports 41 genres including Afrobeats, Amapiano, Hip-Hop, Trap, Drill, Lo-Fi Hip-Hop, House, R&B, and more. Musicgen is especially strong at: Completely free, open-source, run locally with no limits and Melody conditioning — hum a tune or upload a MIDI to guide generation.
Musicgen generates instrumental music only — it does not produce vocals. For AI music with vocals, see Suno AI or our full guide at mixmasterai.co/best-ai-music-generator-with-vocals.
Musicgen launched in 2023 and offers a free tier. Check huggingface.co/facebook/musicgen-stereo-large for current pricing. Free tiers typically restrict commercial use — check the terms before monetizing AI-generated tracks.
Upload your track and get a Spotify-ready master in 60 seconds. Free, no signup.
Master My Track Free