alt.freeweights.speech / magenta-realtime-2
From: google <huggingface.co/google>Newsgroups: alt.freeweights.speechSubject:

magenta-realtime-2

Date: 2026-11-14Commit: 010aa0dSigned: 2DC28CC7B26A283B ✓

Text to audio model. Safetensors and tflite weights, 15.6 GB in all. Published by google under CC-BY-4.0.

speech15.6GBmagenta-realtime-2safetensors tflitepermissive
FactsParamsnot statedSize15.6 GBFormatssafetensors, tfliteTasktext to audioLicenseCC-BY-4.0From sourcepermissive
$ fw get google/magenta-realtime-2
# manifest sha256 dc914f6eee31… · 15.6 GB · 18 files
$ fw verify ./magenta-realtime-2 google/magenta-realtime-2
From sourceHosted (signed)google/magenta-realtime-2Last check: 2026-11-14 21:15 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors, tflite), then by GitHub stars.

Overview

Size
15.6 GB
Weights
11.3 GB (safetensors)
Parameters
not stated
Formats
safetensors, tflite
Task
text to audio
License
CC-BY-4.0 (permissive)
Files
18, each with a sha256
Publisher
google
Added
2026-11-14
Section
alt.freeweights.speech
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:15 UTCpassed

Model card

From the publisher at commit 010aa0d. Shown as plain text with links; images open at the publisher.

Model Card for Magenta RealTime 2#

Authors: Google DeepMind

Resources:

Terms of Use#

Magenta RealTime 2 is offered under a combination of licenses: the codebase is licensed under Apache 2.0, and the model weights under Creative Commons Attribution 4.0 International. In addition, we specify the following usage terms:

Copyright 2026 Google LLC

Use these materials responsibly and do not generate content, including outputs, that infringe or violate the rights of others, including rights in copyrighted content.

Google claims no rights in outputs you generate using Magenta RealTime 2. You and your users are solely responsible for outputs and their subsequent uses.

Unless required by applicable law or agreed to in writing, all software and materials distributed here under the Apache 2.0 or CC-BY licenses are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the licenses for the specific language governing permissions and limitations under those licenses. You are solely responsible for determining the appropriateness of using, reproducing, modifying, performing, displaying or distributing the software and materials, and any outputs, and assume any and all risks associated with your use or distribution of any of the software and materials, and any outputs, and your exercise of rights and permissions under the licenses.

Model Details#

Magenta RealTime 2 is an open music generation model from Google built for on device streaming generation with low-latency control. It is a live music model and a follow up to the prior Magenta RealTime model and Lyria RealTime API, offering on-device generation with richer control and lower latency. Magenta RealTime 2 enables the continuous generation of musical audio steered by text prompts, audio examples, and MIDI.

System Components#

Magenta RealTime 2 is composed of three components: SpectroStream, MusicCoCa, and an LLM. The structure is similar to that of the original Magenta RealTime, detailed here. The primary difference is the LLM, which is now a Decoder-only model supporting frame-wise autoregression (rather than chunk-wise) and tuned for on-device streaming with frame-level control.

  1. SpectroStream (Li+ 25) is a discrete audio codec that converts stereo 48kHz audio into tokens.
  2. MusicCoCa is a contrastive-trained model capable of embedding audio and text into a common embedding space, building on Yu+ 22 and Huang+ 22.
  3. A decoder-only Transformer LLM generates audio tokens given context audio tokens, a tokenized MusicCoCa embedding, and MIDI tokens. There are two configurations:
    1. A base configuration with 2.4B parameters
    2. A small configuration with 230M parameters
Inputs and outputs#
  • SpectroStream RVQ codec: Tokenizes high-fidelity music audio
    • Encoder input / Decoder output: Music audio waveforms, 48kHz stereo
    • Encoder output / Decoder input: Discrete audio tokens, 25Hz frame rate, 64 RVQ depth, 10 bit codes, 16kbps
  • MusicCoCa: Joint embeddings of text and music audio
    • Input: Music audio waveforms, 16kHz mono, or text representation of music style e.g. "heavy metal"
    • Output: 768 dimensional embedding, quantized to 12 RVQ depth, 10 bit codes
  • Decoder Transformer LLM: Generates audio tokens given context, MIDI, and style. At each timestep (codec frame), the model receives:
    • Input:
      • (Context) SpectroStream tokens
        • base: 25 frame (1s) windowed attention per layer, 20 layers
        • small: 41 frame (~1.6s) windowed attention per layer, 12 layers
        • Yields 20s effective receiptive field for both models
      • (Style) 12 MusicCoCa tokens
      • (MIDI) 128-dim multihot vector representing the state of each MIDI pitch during this frame (0 = Off, 1 = Sustain, 2 = Onset, 3 = Sustain or onset, model decides)
    • Output: 1 generated frame, 12 RVQ tokens

Uses#

Music generation models, in particular ones targeted for continuous real-time generation and control, have a wide range of applications across various industries and domains. The following list of potential uses is not comprehensive. The purpose of this list is to provide contextual information about the possible use-cases that the model creators considered as part of model training and development.

  • Interactive Music Creation
    • Live Performance / Improvisation: These models can be used to generate music in a live performance setting, controlled by performers manipulating style embeddings or the audio context
    • Accessible Music-Making & Music Therapy: People with impediments to using traditional instruments (skill gaps, disabilities, etc.) can participate in communal jam sessions or solo music creation.
    • Video Games: Developers can create a custom soundtrack for users in real-time based on their actions and environment.
  • Research
    • Transfer learning: Researchers can leverage representations from MusicCoCa and Magenta RT 2 to recognize musical information.
  • Personalization
    • Musicians can finetune models with their own catalog to customize the model to their style (fine tuning support coming soon).
  • Education
    • Exploring Genres, Instruments, and History: Natural language prompting enables users to quickly learn about and experiment with musical concepts.
Out-of-Scope Use#

See our Terms of Use above for usage we consider out of scope.

Bias, Risks, and Limitations#

Magenta RT 2 supports the real-time generation and steering of instrumental music. The purpose and intention of this capability is to foster the development of new real-time, interactive co-creation workflows that seamlessly integrate with human-centered forms of musical creativity.

Every AI music generation model, including Magenta RT 2, carries a risk of impacting the economic and cultural landscape of music. We aim to mitigate these risks through the following avenues:

  • Prioritizing human-AI interaction as fundamental in the design of Magenta RT 2.
  • Distributing the model under a terms of service that prohibit developers from generating outputs that infringe or violate the rights of others, including rights in copyrighted content.
  • Training on primarily instrumental data. With specific prompting, this model has been observed to generate some vocal sounds and effects, though those vocal sounds and effects tend to be non-lexical.
Known limitations#

Magenta RealTime 2 has similar limitations to Magenta RealTime in terms of genre coverage and non lexical vocalizations, refer here for details.

Benefits#

At the time of release, Magenta RealTime 2 represents the only open weights model supporting real-time, continuous musical audio generation with low latency control (~200ms). It is designed specifically to enable live, interactive musical creation, bringing new capabilities to musical performances, art installations, video games, and many other applications.

How to Get Started with the Model#

See our Get Started Page and GitHub repository for usage examples.

Training Details#

Training Data#

Magenta RealTime 2 was trained on ~71k hours of stock music from multiple sources, mostly instrumental.

Hardware#

Magenta RealTime 2 was trained using Tensor Processing Unit (TPU) hardware.

Software#

Training was done using JAX and Sequence Layers. JAX allows researchers to take advantage of the latest generation of hardware, including TPUs, for faster and more efficient training of large models.

Evaluation#

Model evaluation metrics and results will be shared in our forthcoming technical report.

Citation#

A paper about Magenta RealTime 2 is forthcoming. For now, please cite our previous technical report:

BibTeX:

@inproceedings{gdmlyria2025live,
    title={Live Music Models},
    author={Caillon, Antoine and McWilliams, Brian and Tarakajian, Cassie and Simon, Ian and Manco, Ilaria and Engel, Jesse and Constant, Noah and Li, Pen and Denk, Timo I. and Lalama, Alberto and Agostinelli, Andrea and Huang, Anna and Manilow, Ethan and Brower, George and Erdogan, Hakan and Lei, Heidi and Rolnick, Itai and Grishchenko, Ivan and Orsini, Manu and Kastelic, Matej and Zuluaga, Mauricio and Verzetti, Mauro and Dooley, Michael and Skopek, Ondrej and Ferrer, Rafael and Borsos, Zal{\'a}n and van den Oord, {\"A}aron and Eck, Douglas and Collins, Eli and Baldridge, Jason and Hume, Tom and Donahue, Chris and Han, Kehang and Roberts, Adam},
    booktitle={NeurIPS Creative AI},
    year={2025}
}

Files

18 files · 15.6 GBWeights 11.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 18 files with their sha256
FileSizesha256
.gitattributes2.04 KBc342323c409ab3c2a113e348d2278287fba16f8936ea490101498e920c5a33ce
README.md9.85 KB432cb52a3c115ac32ba1664713ebe061218cfaeffd008e97ff26f6dc0ddf4c71
checkpoints/mrt2_base.safetensors9.84 GB60f3e813d9da4a41a166c734a3074e6d54254c2fc14b0817bad6b8d25cddc044
checkpoints/mrt2_small.safetensors1.13 GB5dd1cbc7c606c512c21de0bcb04d4818bf0a3b873d7cbb9d1556d67d3b034de3
models/mrt2_base/mrt2_base.mlxfn2.77 GBee2f19f2782182095fcd05c0fc1978f7f3e020b1cc0993e9d8e643e2f7de0bfb
models/mrt2_base/mrt2_base_state.safetensors16.9 MB88b302502aa5b467b74b0591adefd7769cb620211bf18606b7656a9ea57eef5f
models/mrt2_small/mrt2_small.mlxfn456 MB1a70b0de30b3e6ad054fe6a61a7765408f01127628e6362c1abc328809a3c422
models/mrt2_small/mrt2_small_state.safetensors8.68 MB23f1e05a6beea306fe39970bd61193f2d3e5fbd8f08af93570bda4ca9ec33255
resources/musiccoca/audio_preprocessor.tflite8.73 MB656ca4c358451c2b85932e66efcfd2ba62492f4435953d775bfc1d3c08329a30
resources/musiccoca/mapper.tflite86.2 MB2f9743cc8f121a588b69c7f4d79a2a4111ce81864cbde8830054cd5e97f3d717
resources/musiccoca/music_encoder.tflite371 MB0d4501af799834e383d904c34ee826c61eb53c69682bf15a981a46c1bb32793a
resources/musiccoca/pretrained_vector_quantizer.tflite72.4 MB7a8a19e2119ad405818eae84a331a970f1a582b3389d4bfd27814f75b455a444
resources/musiccoca/spm.model517 KBff325a99b61ba5726cf6437cde6eefbb633dbaa363a684f7a97ed99b55202cca
resources/musiccoca/text_encoder.tflite419 MBe1222e3418cbe8cc2623939571bae8e9ab6f0d511404b0d83da69f4e6e11b272
resources/spectrostream/decoder.safetensors210 MB0ac6f100a24945fb434783fde6acd7902ceaa8bca492ca317edfc75dd51c42dd
resources/spectrostream/encoder.safetensors37.0 MBf20c197ddcbb9cd43e1a97f9bee0d07d211f79966cd3862d9830a32885090f72
resources/spectrostream/quantizer.safetensors67.1 MB0ba89dcb85344bb14f4f34b8f597c0d6adaa560002d4fd88879a2944c98a20f0
resources/spectrostream/spectrostream_encoder.mlxfn104 MB887c25b21aa1714d19907fc96963c6440d5911f11571054cd5acf7306c260905
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
010aa0dcb0 pinned now manifest updated, same commit2026-11-14 21:15 UTC18 files · 15.6 GB
010aa0dcb02026-11-14 21:15 UTC18 files · 15.6 GB

Use it

$ fw get google/magenta-realtime-2
# manifest sha256 dc914f6eee31… · 15.6 GB · 18 files
$ fw verify ./magenta-realtime-2 google/magenta-realtime-2
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/magenta-realtime-2.json --dir ./magenta-realtime-2 $ python3 fw.py verify ./magenta-realtime-2 ./google__magenta-realtime-2.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/magenta-realtime-2 --revision 010aa0dcb0dfd27b24f0ad07b4dad63e8f9521cc --local-dir ./magenta-realtime-2
Packaged for ComfyUI. Most image, video and music models run in ComfyUI . Check the publisher's page for the workflow. Freeweights does not host it.

License

Name
Creative Commons Attribution 4.0
Id
CC-BY-4.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
432cb52a3c115ac32ba1664713ebe061218cfaeffd008e97ff26f6dc0ddf4c71
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: google <huggingface.co/google>Newsgroups: alt.freeweights.speechSubject: magenta-realtime-2Date: 2026-11-14Commit: 010aa0dSigned: 2DC28CC7B26A283B ✓
Upstream
google/magenta-realtime-2
Pinned commit
010aa0dcb0dfd27b24f0ad07b4dad63e8f9521cc
Manifest
magenta-realtime-2.json · .minisig
Manifest sha256
dc914f6eee3145e0f0b1d721cf3fdc493858c1a0fbd3bed6a90af2a452528694
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:15 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/google/magenta-realtime-2.json $ curl -O https://freeweights.allternit.com/manifests/google/magenta-realtime-2.json.minisig $ minisign -Vm magenta-realtime-2.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/magenta-realtime-2
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. magenta-realtime-2.json. Provenance. Takedown history: none.
From: MIT <huggingface.co/MIT>Subject: ast-finetuned-audioset-10-10-0.4593
From: onnx-community <huggingface.co/onnx-community>Subject: ast-finetuned-audioset-10-10-0.4593-ONNX
From: Edge0 <huggingface.co/Edge0>Subject: Audio8-TTS-Preview-0.6b
From: Edge0 <huggingface.co/Edge0>Subject: Audio8-TTS-Realistic-Air
From: facebook <huggingface.co/facebook>Subject: audiobox-aesthetics
From: mlx-community <huggingface.co/mlx-community>Subject: chatterbox-4bit