File size: 1,265 Bytes
1f59f51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- 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.).