Meta's PyTorch library with inference and training code for MusicGen text-to-music, AudioGen and related audio models.
MusicGen, AudioGen, EnCodec, MAGNeT and JASCO in one PyTorch codebase.
AudioCraft is Meta's PyTorch library for audio generation research, and it is where MusicGen lives. It suits ML engineers and researchers who want to generate or train music and sound models, but the model weights are non-commercial.
The library holds inference and training code for MusicGen (text-to-music), AudioGen (text-to-sound), EnCodec, Multi Band Diffusion, MAGNeT, AudioSeal watermarking, MusicGen Style and JASCO. MusicGen ships ten pretrained models, from 300M parameters to 3.3B, some of which take a melody as extra input.
Suits researchers and developers prototyping music generation with their own GPU. It does not suit producers who want a ready-made app, and nobody planning commercial releases can use the released weights as published.
Generate music from a text prompt, with melody-conditioned variants for text plus melody input.
Models range from musicgen-small at 300M parameters to large at 3.3B.
A text-to-sound model sits alongside MusicGen in the same library.
A music model conditioned on chords, melodies and drum tracks.
Includes audio watermarking code, with an option to train a watermark model.
Training code is provided for EnCodec, MusicGen, Multi Band Diffusion and JASCO.
The code is MIT-licensed and free; the weights are CC-BY-NC 4.0 and not licensed for commercial use. The README shows no paid plan or hosted service, so the only cost is the GPU hardware you run it on.
876 open remote AI-training roles, updated November 15, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.
These reviewed AI tools do the same job instantly — from our scored directory.
The code is MIT, but the README says the model weights are CC-BY-NC 4.0 (non-commercial). Get legal advice before using generated audio in paid work.
The MusicGen docs state at least 16 GB for inference with the medium (~1.5B) models. Smaller models need less.
The MusicGen docs link a Hugging Face Space and a Colab notebook.
See Zekai first in Google