| <!-- docs/example_page.md --> | |
| # GhostAI Music Generator β Quick Links | |
| - **MusicGen Large (Meta):** https://huggingface.co/facebook/musicgen-large | |
| - **GhostAI assets & scripts:** | |
| - Repo hub: https://huggingface.co/ghostai1/GHOSTSONAFB | |
| - Stable 12GB build (example): https://huggingface.co/ghostai1/GHOSTSONAFB/blob/main/STABLE12gb3060.py | |
| - 30s large script: https://huggingface.co/ghostai1/GHOSTSONAFB/blob/main/stable12gblg30sec.py | |
| ## Notes | |
| - GPU: CUDA-capable, 12GB+ VRAM recommended. | |
| - The app exposes an API on `:8555`: | |
| - `GET /genres` β list available presets from `prompts.ini` | |
| - `GET /prompt/{name}` β generate a prompt string (query params: `bpm`, `drum_beat`, `synthesizer`, `rhythmic_steps`, `bass_style`, `guitar_style`) | |
| - **Aliases from INI** (examples): | |
| - `/set_classic_rock_prompt` β Metallica | |
| - `/set_nirvana_grunge_prompt` β Nirvana | |
| - `/set_pearl_jam_grunge_prompt` β Pearl Jam | |
| - `/set_soundgarden_grunge_prompt` β Soundgarden | |
| - `/set_foo_fighters_prompt` β Foo Fighters | |
| - `/set_star_wars_prompt` β Cinematic Star Wars-style orchestral | |
| - `POST /render` β render an MP3. Body includes `instrumental_prompt` and optional overrides (duration, temperature, etc.). | |