AudioCraft / MusicGen (Meta)

⭐ 23.4k MIT Python 2.0.0

Developed by Meta, it is a benchmark for generating instrumental music/melodies, capable of producing high-quality audio from text within 30 seconds.

📋 Info

GitHub Stars⭐ 23.4k Stars
LicenseMIT
LanguagePython
Version2.0.0
Updated2026-04-15

📖 Overview

AudioCraft is an audio generation toolkit open-sourced by Meta, with its MusicGen model serving as a benchmark for audio quality in pure music and melody creation (23k Stars). Built on the Transformer architecture, it enables high-quality musical segments to be generated from text descriptions. It supports various music styles and mood tags such as classical, jazz, electronic, rock, cheerful, and sad. The AudioGen sub-model can produce ambient sound effects, making it suitable for background music and sound effect production.

✨ Features

  • A benchmark for pure music/melody quality.
  • Text-to-music/melody (best results within 30 seconds)
  • Control over multiple styles and emotion tags.
  • AudioGen: Text-to-Speech / TTS for generating audio effects.
  • Created by Meta — featuring a well-developed ecosystem.

Advertisement

🚀 Quick Start

python -m pip install 'torch==2.1.0'
python -m pip install setuptools wheel

🔗 Related Tools