magenta/magenta-js
Magenta.js: Music and Art Generation with Machine Learning in the browser observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 88
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3082
- days_rel: n/a
- days_push: 72
- n_releases_24m: 0
Adoption not part of the score
2125 stars · 337 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Magenta.js is a collection of TypeScript libraries for running inference with pre-trained Magenta machine learning models directly in the browser via TensorFlow.js. It provides npm packages for music generation (MusicVAE, MelodyRNN, DrumsRNN), sketch drawing (SketchRNN), and image style transfer.
Use cases
- generate music melodies in the browser with machine learning
- run MusicVAE or MelodyRNN models client-side
- create AI-assisted sketch drawings with SketchRNN
- apply neural style transfer to images in a web app
- build interactive creative AI demos in JavaScript
- generate drum patterns with machine learning in the browser
When to choose
- you want to run pre-trained generative music or art models entirely client-side in the browser
- you need TensorFlow.js implementations of Magenta models via npm packages
- you are building creative coding or interactive AI music/art web applications
When to avoid
- you need to train models from scratch rather than run inference with pre-trained ones
- you need server-side or high-performance native ML inference outside the browser
- you need the latest Magenta models like RealTime/Lyria, which live in other Magenta projects
Facets
library · maturity maintenance
machine-learning deep-learning audio-processing image-processing graphics machine-learning deep-learning artificial-intelligence image-processing web-development browser tensorflowjs music-generation sketch-generation style-transfer generative-art pretrained-models npm-packages creative-coding audio nodejs javascript typescript web
2 sources
- readme: https://github.com/magenta/magenta-js · fetched 2026-08-28 · f8d4ee2cd196
- homepage: https://magenta.tensorflow.org · fetched 2026-08-29 · e0ea7cd92c27
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| magenta/magenta-js | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="magenta/magenta-js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem