--- title: GHOSTSONALIVEZERO emoji: 🎵 colorFrom: purple colorTo: yellow sdk: gradio sdk_version: "3.50.2" app_file: app.py pinned: false license: apache-2.0 short_description: Zero-GPU-friendly MusicGen demo ---

🎧 GhostAI Music Generator — *Alive on Zero* 📈

> **Create fully-instrumental tracks in your browser—no DAW, no plugins, no GPU required.** > Powered by Meta AI’s **facebook/musicgen-medium** model and wrapped in an ergonomic Gradio UI.

GhostAI waveform banner

## ✨ Features | ⚙️ Capability | 🎯 Details | |---|---| | **Genre buttons** | One-click prompts for RHCP funk rock, 90’s grunge, Detroit techno, deep house, & more | | **Structured output** | Automatic intros, verses & choruses at 128 kbps MP3 | | **Audio polish** | Low-pass 8 kHz · High-pass 80 Hz · Fade-in/out 1 s · Headroom −9 dB | | **ZeroGPU ready** | Runs happily on CPU Spaces (or CUDA 11.8 / 12.1 if a GPU is available) | | **Fully configurable** | CFG scale, top-k/p, temperature, length, chunk & cross-fade sliders | ## 🚀 Quick Start 1. **Open the Space** – the Gradio panel loads automatically. 2. **Pick a genre** *or* type a custom prompt. 3. **Tweak the sliders** (tempo, length, cross-fade …) to taste. 4. **Hit “Generate Music”** – after a short wait your MP3 appears, ready to download. Example custom prompt: ```text Instrumental funk rock, Red Hot Chili Peppers energy, groovy basslines, syncopated guitar riffs, funky breakdowns at 120 BPM.