Spaces:
Running
on
Zero
Running
on
Zero
metadata
title: Music Generation Studio
emoji: π΅
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
python_version: 3.11
π΅ Music Generation Studio
Create AI-powered music with intelligent prompt analysis and context-aware generation using DiffRhythm2 and LyricMind AI.
Features
- Intelligent Music Generation: DiffRhythm2 model for high-quality music with vocals
- Smart Lyrics Generation: LyricMind AI for context-aware lyric creation
- Prompt Analysis: Automatically detects genre, BPM, and mood from your description
- Flexible Vocal Modes:
- Instrumental: Pure music without vocals
- User Lyrics: Provide your own lyrics
- Auto Lyrics: AI-generated lyrics based on prompt
- Timeline Management: Build complete songs clip-by-clip
- Export: Download your creations in WAV, MP3, or FLAC formats
How to Use
Generate Music:
- Enter a descriptive prompt (e.g., "energetic rock song with electric guitar at 140 BPM")
- Choose vocal mode (Instrumental, User Lyrics, or Auto Lyrics)
- Set duration (10-120 seconds)
- Click "Generate Music Clip"
Manage Timeline:
- View all generated clips in the timeline
- Remove specific clips or clear all
- Clips are arranged sequentially
Export:
- Enter a filename
- Choose format (WAV recommended for best quality)
- Download your complete song
Models
- DiffRhythm2: Music generation with integrated vocals (ASLP-lab/DiffRhythm2)
- MuQ-MuLan: Music style encoding (OpenMuQ/MuQ-MuLan-large)
Performance
β±οΈ Generation time: ~2-4 minutes per 30-second clip on CPU (HuggingFace Spaces free tier)
π‘ Tip: Start with shorter durations (10-20 seconds) for faster results
Technical Details
- Built with Gradio and PyTorch
- Uses DiffRhythm2 for music generation with vocals
- Employs flow-matching techniques for high-quality audio synthesis
- Supports multiple languages for lyrics (English, Chinese, Japanese)
Credits
- DiffRhythm2 by ASLP-lab
- MuQ-MuLan by OpenMuQ
- Application interface and integration by Music Generation App Team
License
MIT License - See LICENSE file for details