Update public/example.md
Browse files- public/example.md +51 -46
public/example.md
CHANGED
|
@@ -1,46 +1,51 @@
|
|
| 1 |
-
# 🎵 GhostAI Music Generator — Examples & Links
|
| 2 |
-
|
| 3 |
-
**Release:** v0.9.5-rc2
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
-
|
| 29 |
-
-
|
| 30 |
-
-
|
| 31 |
-
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
-
|
| 44 |
-
-
|
| 45 |
-
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🎵 GhostAI Music Generator — Examples & Links
|
| 2 |
+
|
| 3 |
+
**Release:** v0.9.5-rc2
|
| 4 |
+
|
| 5 |
+
<audio controls src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/Y0Ih8gVU21000KOmVVFf8.mpga"></audio>
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+

|
| 9 |
+
|
| 10 |
+
## Quick Start
|
| 11 |
+
- Outputs save to **`./mp3/`**
|
| 12 |
+
- Logs live at **`./logs/ghostai.log`** (single file, auto-truncates at 5 MB)
|
| 13 |
+
- API server auto-starts at **`http://0.0.0.0:8555`**
|
| 14 |
+
- UI runs at **`http://0.0.0.0:9999`**
|
| 15 |
+
|
| 16 |
+
## Endpoints
|
| 17 |
+
- Health: `GET /health`
|
| 18 |
+
- Status: `GET /status`
|
| 19 |
+
- Config: `GET /config`
|
| 20 |
+
- Render: `POST /render`
|
| 21 |
+
- Style prompts (examples):
|
| 22 |
+
- Metallica: `GET /set_classic_rock_prompt`
|
| 23 |
+
- Nirvana: `GET /set_nirvana_grunge_prompt`
|
| 24 |
+
- Pearl Jam: `GET /set_pearl_jam_grunge_prompt`
|
| 25 |
+
- Soundgarden: `GET /set_soundgarden_grunge_prompt`
|
| 26 |
+
- Foo Fighters: `GET /set_foo_fighters_prompt`
|
| 27 |
+
- RHCP: `GET /set_rhcp_prompt`
|
| 28 |
+
- Smashing Pumpkins: `GET /set_smashing_pumpkins_prompt`
|
| 29 |
+
- Radiohead: `GET /set_radiohead_prompt`
|
| 30 |
+
- Alt Rock: `GET /set_alternative_rock_prompt`
|
| 31 |
+
- Post-Punk: `GET /set_post_punk_prompt`
|
| 32 |
+
- Indie Rock: `GET /set_indie_rock_prompt`
|
| 33 |
+
- Funk Rock: `GET /set_funk_rock_prompt`
|
| 34 |
+
- Detroit Techno: `GET /set_detroit_techno_prompt`
|
| 35 |
+
- Deep House: `GET /set_deep_house_prompt`
|
| 36 |
+
- **Star Opera (Cinematic / “Star-Wars-style”)**: `GET /set_classical_star_opera_prompt`
|
| 37 |
+
|
| 38 |
+
> Call a style endpoint to get a **fresh, varied prompt** for that genre.
|
| 39 |
+
> Then pass it into `/render` along with any overrides (BPM, duration, etc).
|
| 40 |
+
|
| 41 |
+
## Links
|
| 42 |
+
- Main HF repo: https://huggingface.co/ghostai1/GHOSTSONAFB
|
| 43 |
+
- README: https://huggingface.co/ghostai1/GHOSTSONAFB/blob/main/README.md
|
| 44 |
+
- MusicGen Large: https://huggingface.co/facebook/musicgen-large
|
| 45 |
+
- MusicGen Medium: https://huggingface.co/facebook/musicgen-medium
|
| 46 |
+
|
| 47 |
+
## Notes
|
| 48 |
+
- Built for 30xx GPUs with **12 GB+ VRAM** (SM80).
|
| 49 |
+
- **Chunking**: renders in 30-second segments with seamless crossfades.
|
| 50 |
+
- **DSP chain**: gate → stereo balance → RMS normalize (-23dBFS) → EQ → fades → final SR.
|
| 51 |
+
- **Bitrates/SR/Bit depth** quick-buttons in UI.
|