| # 🎵 GhostAI Music Generator — Examples & Links | |
| **Release:** v0.9.5-rc2 | |
| <audio controls src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/Y0Ih8gVU21000KOmVVFf8.mpga"></audio> | |
|  | |
| ## Quick Start | |
| - Outputs save to **`./mp3/`** | |
| - Logs live at **`./logs/ghostai.log`** (single file, auto-truncates at 5 MB) | |
| - API server auto-starts at **`http://0.0.0.0:8555`** | |
| - UI runs at **`http://0.0.0.0:9999`** | |
| ## Endpoints | |
| - Health: `GET /health` | |
| - Status: `GET /status` | |
| - Config: `GET /config` | |
| - Render: `POST /render` | |
| - Style prompts (examples): | |
| - Metallica: `GET /set_classic_rock_prompt` | |
| - Nirvana: `GET /set_nirvana_grunge_prompt` | |
| - Pearl Jam: `GET /set_pearl_jam_grunge_prompt` | |
| - Soundgarden: `GET /set_soundgarden_grunge_prompt` | |
| - Foo Fighters: `GET /set_foo_fighters_prompt` | |
| - RHCP: `GET /set_rhcp_prompt` | |
| - Smashing Pumpkins: `GET /set_smashing_pumpkins_prompt` | |
| - Radiohead: `GET /set_radiohead_prompt` | |
| - Alt Rock: `GET /set_alternative_rock_prompt` | |
| - Post-Punk: `GET /set_post_punk_prompt` | |
| - Indie Rock: `GET /set_indie_rock_prompt` | |
| - Funk Rock: `GET /set_funk_rock_prompt` | |
| - Detroit Techno: `GET /set_detroit_techno_prompt` | |
| - Deep House: `GET /set_deep_house_prompt` | |
| - **Star Opera (Cinematic / “Star-Wars-style”)**: `GET /set_classical_star_opera_prompt` | |
| > Call a style endpoint to get a **fresh, varied prompt** for that genre. | |
| > Then pass it into `/render` along with any overrides (BPM, duration, etc). | |
| ## Links | |
| - Main HF repo: https://huggingface.co/ghostai1/GHOSTSONAFB | |
| - README: https://huggingface.co/ghostai1/GHOSTSONAFB/blob/main/README.md | |
| - MusicGen Large: https://huggingface.co/facebook/musicgen-large | |
| - MusicGen Medium: https://huggingface.co/facebook/musicgen-medium | |
| ## Notes | |
| - Built for 30xx GPUs with **12 GB+ VRAM** (SM80). | |
| - **Chunking**: renders in 30-second segments with seamless crossfades. | |
| - **DSP chain**: gate → stereo balance → RMS normalize (-23dBFS) → EQ → fades → final SR. | |
| - **Bitrates/SR/Bit depth** quick-buttons in UI. | |