Text-to-Music
Generate a score from a description
The model generates audio tokens conditioned on text and decodes them to a waveform. This page maps the prompt to chords and timbres with Web Audio and synthesises a playable clip live.
Switch model · 3 Available modelsSamples are shared within a subcategory — switching models keeps your input intact.
Input
SamplesSamples are editable — once you change them they count as custom input.
Parameters
Output
Riffusion (Stable Diffusion spectrogram)No result yetPick a sample or edit the input, then hit “Run inference”.
Model info
Riffusion (Stable Diffusion spectrogram)
Riffusion — generates music by inpainting spectrograms with a Stable Diffusion model; runs in the browser.
Framework: ONNX Runtime WebSize: ~1.6 GBLicense: MIT
All models
Notes
Computed for real in the browser (canvas pixel ops / STFT spectral processing / vector retrieval).
Switching models only changes weight size, device and backend metadata; samples are shared across every model in the subcategory.
No model here ships browser-loadable ONNX weights, so switching never triggers a download.