Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Meta AudioCraft (MusicGen, AudioGen)

by Meta (FAIR)

Meta's self-hosted MusicGen and AudioGen models; code MIT, weights CC BY-NC 4.0.

AI music and sound generators Code libraryOpen source

GitHub repo

2. Commercial use: github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights

“reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only”

The released weights are CC BY-NC 4.0 and may not be used for commercial advantage or money; only the code is MIT.

github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights

License checked Oct 20, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

AudioCraft: music and sound effects from text, self-hosted

AudioCraft is Meta's free research toolkit for making audio with AI. Its MusicGen model writes short music clips from a text description, and AudioGen makes sound effects such as a dog barking. You run it on your own computer with a strong graphics card, and the ready models may only be used for non-commercial work.

Where you can use it

Music clips from a description

Type a short description such as "sad jazz" or "energetic EDM" and get a few seconds of music without vocals for a student film, a game jam or a prototype.

Sound effects from a description

Describe a sound, for example footsteps in a corridor or a siren, and get a short clip of it for a video or a game level you build for fun.

Music that follows a tune

Hum or upload a melody, and get music in a new style that follows that tune, for example a rock version of a classical piece.

Try it in a local web page

Start a small page on your own computer where you type a description and listen to the result, before writing any code.

Research on audio models

Train your own music or sound models, or study how the released ones behave, with the training code Meta provides.

Placeholder music in prototypes Idea

Fill a game or app prototype with temporary music while you test it, then replace it with licensed tracks before any paid release.

As reported by Meta (FAIR): MusicGen was trained on 20K hours of licensed music.

Meta AudioCraft (MusicGen, AudioGen) popularity

22 / 100
Gid Score, same scale as developer tools
23,973
GitHub stars
2,041
PyPI downloads, last 7 days
-48.2% in 4 weeks
Meta AudioCraft (MusicGen, AudioGen): downloads per weekPyPI, audiocraft 1,785
Meta AudioCraft (MusicGen, AudioGen): GitHub starsfacebookresearch/audiocraft 23,973

Downloads from pypistats.org, stars from GitHub, checked Nov 26, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“On my machine with an NVIDIA GPU, install torch==2.1.0 and then audiocraft 1.3.0, and generate three 8-second MusicGen clips from text descriptions with facebook/musicgen-small; this is for a non-commercial project.”

Show codeStep 1 or Step 2

On a computer with a graphics card, install PyTorch 2.1.0 first and then AudioCraft. ffmpeg is also recommended.

python -m pip install 'torch==2.1.0'
python -m pip install setuptools wheel
python -m pip install -U audiocraft  # stable release

Mistakes to avoid

pip install audiocraft into an environment that already has a newer PyTorch
Install torch==2.1.0 first in a fresh environment, then audiocraft

The package pins torch==2.1.0 and xformers, which must match the installed PyTorch.

Treating the MIT license of the code as permission to sell or monetize the generated music
Use the released weights only for non-commercial work, or pick a model whose weights allow commercial use

The weights are under CC BY-NC 4.0, separate from the MIT code.

Calling generate_with_chroma on facebook/musicgen-small
Use facebook/musicgen-melody or musicgen-melody-large for melody-guided music

Only the melody models take a tune as input; small, medium and large are text to music only.

Writing prompts in other languages or asking for sung lyrics
Write descriptions in English and plan for instrumental results

The model was trained on English descriptions with vocals removed.

License

Code MIT; weights CC-BY-NC 4.0 license. The AudioCraft code is MIT and may be used in any project. The ready-made model weights are CC BY-NC 4.0, so they are for non-commercial use only and need credit when shared.

Commercial use
No

“reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only” github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights

Credit
Required

“If You Share the Licensed Material (including in modified form), You must:” github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights

Inside your app or game
With conditions

“produce, reproduce, and Share Adapted Material for NonCommercial purposes only” github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights

Pass the files on to your users
With conditions

You may share the weights for non-commercial purposes with creator credit, a copyright notice and a link to the license.

“If You Share the Licensed Material (including in modified form), You must:” github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights

Monetized YouTube
With conditions

“produce, reproduce, and Share Adapted Material for NonCommercial purposes only” github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Meta AudioCraft (MusicGen, AudioGen) free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with Meta AudioCraft (MusicGen, AudioGen). Paste them into your prompt or AGENTS.md.

License rules
- Meta AudioCraft (MusicGen, AudioGen) (AI music and sound generators). Meta's self-hosted MusicGen and AudioGen models; code MIT, weights CC BY-NC 4.0. Price: free; non-commercial only; credit required; ship inside your app with conditions.
  Connect: PyPI audiocraft.
  Get files: Self-hosted: python -m pip install -U audiocraft (needs Python 3.9 and PyTorch 2.1.0); weights download from the model hub on first use.
  Not allowed: Model weights are CC-BY-NC 4.0: non-commercial use only.
  Not allowed: Code is MIT; the weights are under a separate license (LICENSE_weights).
  Not allowed: Attribution under CC BY: creator, copyright notice, license link, and a note if modified.
  Rule: Use the weights for non-commercial purposes only; treat monetized output as not allowed.
  License: https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights (checked 2026-10-20; details: https://agentgid.com/assets/audiocraft/)
Can an agent use it by itself?
No.

Agent installs a package or loads it from a CDN.

Install
pip install audiocraft
How an agent gets files
Self-hosted: python -m pip install -U audiocraft (needs Python 3.9 and PyTorch 2.1.0); weights download from the model hub on first use.
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Audio generated with Meta AudioCraft (MusicGen/AudioGen), model weights CC BY-NC 4.0: https://creativecommons.org/licenses/by-nc/4.0/
This card for machines

Alternatives

Meta AudioCraft (MusicGen, AudioGen) This page

Free Non-commercial PyPI

ACE-Step 1.5

Pick ACE-Step for full songs with vocals in many languages under the MIT license, on smaller graphics cards.

Free Commercial OK Download

YuE

Pick YuE to turn lyrics into full songs with vocals and accompaniment under Apache-2.0.

Free Commercial OK Download

Suno

Pick Suno for a ready web service whose paid plans include commercial use, with no hardware of your own.

Free tier With conditions API

Bark

Open-source transformer text-to-audio model that generates multilingual speech, music and simple sound effects.

Free Commercial OK Download

YuE2

3B song generator that turns lyrics and a style prompt into full songs, with an editable melody and chord score.

Free With conditions Download

All ai music and sound generators

Questions

Can I use music made with it in a monetized video or a paid app?

Not with the released weights. They are CC BY-NC 4.0, which allows only non-commercial use.

Does it run without a graphics card?

Meta says you must have a graphics card to run MusicGen locally.

Can it sing?

No. The training music had its vocals removed, and the model card says it cannot make realistic vocals.

Which MusicGen model should I start with?

Meta names the medium and melody models as the best balance of quality and computing cost; the small one fits smaller cards.

Where are the model files stored?

In the Hugging Face cache; set AUDIOCRAFT_CACHE_DIR to choose another folder.