Magenta RealTime
by Google DeepMind
Live music generator that streams audio in 2-second chunks and can be steered by text or audio prompts.
AI music and sound generators Code libraryOpen source
1. Price: huggingface.co/google/magenta-realtime
Open weights, free to download; self-hosted (also runs in a free Colab).
huggingface.co/google/magenta-realtimeNo quote yet: price is read from the official pages.
2. Commercial use: huggingface.co/google/magenta-realtime
“the model weights under Creative Commons Attribution 4.0 International”
Allowed; code under Apache 2.0 and model files under CC BY 4.0, so keep the notices and credit Google when you ship the model.
huggingface.co/google/magenta-realtime3. Credit the author: huggingface.co/google/magenta-realtime
“the model weights under Creative Commons Attribution 4.0 International”
Music model: Magenta RealTime by Google DeepMind (weights CC BY 4.0)
huggingface.co/google/magenta-realtime4. Agent access: github.com/magenta/magenta-realtime
An agent can install it by itself with pip install magenta-rt.
github.com/magenta/magenta-realtimeLicense checked Oct 25, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error
Magenta RealTime: live AI music you steer as it plays
Magenta RealTime is a free music model from Google that keeps making instrumental music without stopping. You steer it while it plays with words like "disco funk", with an example recording, or in version 2 with notes from a keyboard. Version 2 runs live on Apple Silicon Macs, and Google claims no rights in the music you make.
Where you can use it
Jamming live on stage
Play music with the model during a show and change its style on the fly, the way a performer turns knobs.
A game soundtrack that follows the player
Let the music change with what happens in a game, for example calmer while exploring and harder in a fight.
Music making without an instrument
People who cannot play a regular instrument, because of skill or a disability, can join a jam or make music alone.
A plugin in your music software
Use the model inside a music editing program on a Mac, or build it into your own app with the included engine and examples.
Mixing styles from words and recordings
Blend a style described in words with the feel of your own recording, and choose how much of each to use.
Background music that the audience steers Idea
During a stream or at an art show, let people vote on a mood and feed the winning word to the model as the new style.
As reported by Google DeepMind: Version 2 reacts to control changes in about 200 ms; Version 2 comes in a 230M small model and a 2.4B base model; Version 1 was trained on about 190k hours of mostly instrumental stock music.
Magenta RealTime popularity
Downloads from pypistats.org, stars from GitHub, checked Nov 26, 2026. How the Gid Score is calculated
How to start
Tell your AI assistant
“On my Apple Silicon Mac, install magenta-rt 2.0.3 with the mlx extra in a project-local uv environment (Python 3.12), download the mrt2_small model, and generate a 4-second "lo-fi hip hop" clip with mrt mlx generate.”
Or install it yourself. On an Apple Silicon Mac, make a Python 3.12 environment with uv and install the package with the Mac backend.
uv pip install "magenta-rt[mlx]"
Show codeStep 1 or Step 2
Download the shared parts and a music model; they are saved in your Documents folder.
mrt models init
mrt models download
Make a short test clip; use the small model on Air and base Macs.
mrt mlx generate --prompt "disco funk" --duration 4.0 --model=mrt2_small
Mistakes to avoid
pip install magenta-rt and then calling system.MagentaRT() from the version 1 examplesThe package on PyPI is now version 2 with a new command-line tool; the version 1 code moved to a legacy branch.
The base model is too slow for real time on those Macs.
Real-time streaming is built on the Apple Silicon backend.
The model is not conditioned on lyrics.
License
Weights CC-BY-4.0; code Apache-2.0 license. The code is Apache 2.0 and the model files are CC BY 4.0: free for any use, also commercial, with credit to Google when you share the model. Google claims no rights in the music you make, but you are responsible for it.
“the model weights under Creative Commons Attribution 4.0 International” huggingface.co/google/magenta-realtime
“the model weights under Creative Commons Attribution 4.0 International” huggingface.co/google/magenta-realtime
“the model weights under Creative Commons Attribution 4.0 International” huggingface.co/google/magenta-realtime
Sharing the model files is allowed with credit and a link to CC BY 4.0.
“the codebase is licensed under Apache 2.0, and the model weights under Creative Commons Attribution 4.0 International.” huggingface.co
“Google claims no rights in outputs you generate using Magenta RealTime.” huggingface.co/google/magenta-realtime
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Magenta RealTime free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Magenta RealTime. Paste them into your prompt or AGENTS.md.
- Magenta RealTime (AI music and sound generators). Live music generator that streams audio in 2-second chunks and can be steered by text or audio prompts. Price: free; commercial use OK; credit required.
Connect: PyPI magenta-rt.
Rule: Credit Google and link CC-BY 4.0 when you share the weights.
Rule: Do not generate outputs that infringe others' rights, including copyrighted content; you are responsible for outputs.
License: https://huggingface.co/google/magenta-realtime (checked 2026-10-25; details: https://agentgid.com/assets/magenta-realtime/)
Agent installs a package or loads it from a CDN.
pip install magenta-rtMusic model: Magenta RealTime by Google DeepMind (weights CC BY 4.0)Alternatives
Magenta RealTime This page
Pick Google's Lyria models on the Gemini API for a paid hosted service with wider style coverage; the model card points there for that.
Pick ACE-Step 1.5 for whole songs with singing and lyrics rather than live instrumental music.
Meta AudioCraft (MusicGen, AudioGen)
Pick AudioCraft for Meta's MusicGen clips from text, but its model files are for non-commercial use only.
Open-source transformer text-to-audio model that generates multilingual speech, music and simple sound effects.
Original open lyrics-to-song model (2025) that generates full songs with vocals and accompaniment under Apache-2.0.
Questions
Can I use the music in a video or a paid game?
Google claims no rights in the music you generate; you are responsible for it and must not infringe others' rights.
Does it run on Windows or Linux?
Live streaming of version 2 needs an Apple Silicon Mac. On Linux with an NVIDIA card or a TPU you can generate clips offline with the JAX backend.
Can it sing my lyrics?
No. It makes instrumental music and may hum, but it does not take lyrics.
Is there a ready app?
Yes. Version 2 comes with a plugin for music software and a standalone Mac app among its examples.
Where are the model files stored?
In your Documents folder under Magenta/magenta-rt-v2.