For novice users, Google Colab is the easiest way to experience it with the following steps:
- Visit the official Colab Demo link (Google account login required);
- Click the "Run" button in the notebook, the system automatically allocates free TPU resources;
- Fill in the input box with a text prompt (e.g. "gentle piano") or upload an audio clip;
- Execute the Generate command and the model will output 48kHz stereo audio, supporting playback or download.
Typical code examples are:audio = generate(text_prompt='soft piano melody', duration=2.0)
The entire process requires no local hardware configuration. The entire process requires no local hardware configuration and is suitable for rapid testing of basic functionality.
This answer comes from the articleMagenta RealTime: an open source model for generating music in real timeThe