generative-audio / text-to-music
Text-to-Music
Generates music or sound effects from a text prompt. Audio generation is autoregressive over acoustic tokens, so generation time scales with clip length, and several of the open weights here are licensed for non-commercial use only.
3 entries
Catalog comparison
Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.
| Entry | Entry type | Framework | Resources | License | Browser evidence | Links |
|---|---|---|---|---|---|---|
Meta MusicGen small (300M) — text-conditioned music generation that runs entirely in the browser via Transformers.js. Tasks: Text-to-Music | Model | Transformers.js | q8: 571.1 MiB q4f16: 606.1 MiB fp16: 1074.7 MiB fp32: 2144.8 MiB | Code license: Apache-2.0 Weight license: CC-BY-NC-4.0 | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Meta MusicGen medium (1.5B) — better quality, exported to ONNX for browser-side generation. Tasks: Text-to-Music | Model | ONNX Runtime Web | Download size: Historical estimate: ~1.5 GB (unverified) | Code license: MIT Weight license: Not verified | Browser support unverified Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Riffusion (Stable Diffusion spectrogram) Riffusion — generates music by inpainting spectrograms with a Stable Diffusion model; runs in the browser. Tasks: Text-to-Music | Model | ONNX Runtime Web | Download size: Historical estimate: ~1.6 GB (unverified) | Code license: MIT Weight license: Not verified | Browser support unverified Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Application workflows
About Text-to-Music
Text-to-Music under Generative Audio holds 3 catalogue entries: 3 models.
1 of them carry browser evidence, all from upstream browser examples. Another 2 are still waiting for verification.
The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to ONNX Runtime Web and Transformers.js, and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.
To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.
At a glance
- Entries
- 3 in total
- Main runtime
- ONNX Runtime Web and Transformers.js
- Smallest known weights
- 571 MiB
- Browser evidence
- 1 of 3 verified
Text-to-Music: common questions
- Can Text-to-Music run directly in a browser?
- Yes. 1 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
- How large is the model for Text-to-Music?
- The smallest weight on record here is 571 MiB; the other entries in this task have no verified size yet. Browser builds usually ship int8 or 4-bit quantised variants, downloaded once and reused from the HTTP cache or Cache Storage.
- Which devices suit Text-to-Music?
- Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
- Does running a model here upload my data?
- The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.