← All models · MusicGen

use case · multi-model

Multi-model: an LLM writes the prompt, MusicGen plays it

Give a single mood — "rainy Sunday", "victory", "haunted" — and a small on-device language model (Qwen2.5-0.5B) expands it into a vivid music description. That description is handed straight to MusicGen, which composes it. Two models, chained, both running in your browser with nothing uploaded.

Two big models. This page loads the LLM (~0.4 GB) and MusicGen (~656 MB), then runs both on your device. It's the heaviest demo here — a capable machine and patience help. Every step below is real; nothing is pre-baked.

Step 1 — the prompt writer (LLM)

Step 2 — MusicGen

LLM-written prompt (editable before generating):

← Back to MusicGen