InspireMusic

Open toolkit from Alibaba for text-to-music generation with 48 kHz output and multi-minute long-form pieces.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

About

Long-form music generation at 48 kHz is the headline capability of InspireMusic, the music, song, and audio generation toolkit in Alibaba's FunAudioLLM family alongside CosyVoice and SenseVoice. Its pipeline chains three components: audio tokenizers that compress waveforms into discrete tokens, an autoregressive transformer built on a Qwen2.5 backbone that predicts tokens conditioned on text or audio prompts, and a super-resolution flow-matching model that upscales the result into 48 kHz stereo output. Released checkpoints include InspireMusic-Base and InspireMusic-1.5B in 48 kHz and 24 kHz variants for 30-second clips, plus InspireMusic-1.5B-Long for long-form generation up to several minutes. Training and inference scripts ship in the repository, installation is from source in a conda environment or via Docker, and Python 3.8 or newer with PyTorch 2.0.1, CUDA 11.8, and flash-attn 2.6.2 or newer is required, so an NVIDIA GPU is effectively mandatory. The repository code carries the Apache-2.0 license. Open-sourced in early 2025 with about 1,400 GitHub stars, it gives researchers a rare fully open text-to-music stack.

Should you use InspireMusic?

Pick it when

Pick InspireMusic when you want an open text-to-music stack with Apache-2.0 code that outputs 48 kHz stereo, including multi-minute pieces from the 1.5B-Long checkpoint, and you have an NVIDIA GPU with CUDA 11.8 and flash-attn.

Look elsewhere when

Skip it if you are not on NVIDIA, since flash-attn makes it effectively CUDA-only, or want lyric-conditioned songs with vocals, which ACE-Step and DiffRhythm are built for. Only the repo code is stated as Apache-2.0.

Alternatives to InspireMusic

  • AudioCraft

    MusicGen is the more established text-to-music baseline with training code and chord or melody conditioning via JASCO, but weights are non-commercial.

  • Magenta RealTime

    Built for live, steerable streaming on Apple Silicon with CC-BY-4.0 weights, a better fit for performance than fixed long-form renders.

  • Stable Audio Open

    Better for sound effects and production elements up to 47 seconds with documented training data, but uneven across music genres.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
Apache-2.0
Added
Jul 29, 2026

Tags