Skip to content
WebAI

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

MusicGen Medium (ONNX)
No result yetPick a sample or edit the input, then hit “Run inference”.

Model info

MusicGen Medium (ONNX)

Meta MusicGen medium (1.5B) — better quality, exported to ONNX for browser-side generation.

Framework: ONNX Runtime WebSize: ~1.5 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.