{
 "slug": "audiocraft",
 "name": "Meta AudioCraft (MusicGen, AudioGen)",
 "author": "Meta (FAIR)",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "Meta's self-hosted MusicGen and AudioGen models; code MIT, weights CC BY-NC 4.0.",
 "category": {
  "slug": "ai-music",
  "name": "AI music and sound generators"
 },
 "tags": [
  "Code library",
  "Open source"
 ],
 "styles": [],
 "logo_url": "https://agentgid.com/media/avatars/facebookresearch.png",
 "logo_letter": "M",
 "links": {
  "repo": "https://github.com/facebookresearch/audiocraft",
  "website": null,
  "api_docs": null,
  "open_model": null
 },
 "preview": null,
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Free open weights.",
   "source": {
    "label": "github.com/facebookresearch/audiocraft",
    "url": "https://github.com/facebookresearch/audiocraft"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "No",
   "status": "no",
   "sub": "Code MIT",
   "quote": "reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only",
   "note": "The released weights are CC BY-NC 4.0 and may not be used for commercial advantage or money; only the code is MIT.",
   "source": {
    "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Required",
   "status": "cond",
   "sub": "Show a credit line",
   "quote": "If You Share the Licensed Material (including in modified form), You must:",
   "note": "Audio generated with Meta AudioCraft (MusicGen/AudioGen), model weights CC BY-NC 4.0: https://creativecommons.org/licenses/by-nc/4.0/",
   "source": {
    "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "PyPI package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with pip install audiocraft.",
   "source": {
    "label": "github.com/facebookresearch/audiocraft",
    "url": "https://github.com/facebookresearch/audiocraft"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "Code MIT; weights CC-BY-NC 4.0",
  "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
  "summary": "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.",
  "pages_read": 1,
  "rules": [
   "Use the weights for non-commercial purposes only; treat monetized output as not allowed."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "No",
    "status": "no",
    "quote": "reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only",
    "source": {
     "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
     "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Required",
    "status": "cond",
    "quote": "If You Share the Licensed Material (including in modified form), You must:",
    "source": {
     "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
     "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "With conditions",
    "status": "cond",
    "quote": "produce, reproduce, and Share Adapted Material for NonCommercial purposes only",
    "source": {
     "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
     "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "With conditions",
    "status": "cond",
    "quote": "If You Share the Licensed Material (including in modified form), You must:",
    "source": {
     "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
     "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
    },
    "note": "You may share the weights for non-commercial purposes with creator credit, a copyright notice and a link to the license."
   },
   {
    "label": "Monetized YouTube",
    "value": "With conditions",
    "status": "cond",
    "quote": "produce, reproduce, and Share Adapted Material for NonCommercial purposes only",
    "source": {
     "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
     "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
    },
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-10-20",
  "commercial_use_page": "https://agentgid.com/assets/audiocraft/commercial-use/"
 },
 "overview": {
  "heading": "AudioCraft: music and sound effects from text, self-hosted",
  "body": "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."
 },
 "uses": [
  {
   "title": "Music clips from a description",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Sound effects from a description",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Music that follows a tune",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Try it in a local web page",
   "text": "Start a small page on your own computer where you type a description and listen to the result, before writing any code.",
   "idea": false,
   "image": null
  },
  {
   "title": "Research on audio models",
   "text": "Train your own music or sound models, or study how the released ones behave, with the training code Meta provides.",
   "idea": false,
   "image": null
  },
  {
   "title": "Placeholder music in prototypes",
   "text": "Fill a game or app prototype with temporary music while you test it, then replace it with licensed tracks before any paid release.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "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.",
  "install": null,
  "install_note": null,
  "code": [
   {
    "tab": "Step 1",
    "intro": "On a computer with a graphics card, install PyTorch 2.1.0 first and then AudioCraft. ffmpeg is also recommended.",
    "source": "python -m pip install 'torch==2.1.0'\npython -m pip install setuptools wheel\npython -m pip install -U audiocraft  # stable release"
   },
   {
    "tab": "Step 2",
    "intro": "Load a model by name and generate audio from text. The model files download by themselves on first use.",
    "source": "model = MusicGen.get_pretrained('facebook/musicgen-melody')\nmodel.set_generation_params(duration=8)  # generate 8 seconds."
   }
  ]
 },
 "mistakes": [
  {
   "dont": "pip install audiocraft into an environment that already has a newer PyTorch",
   "fix": "Install torch==2.1.0 first in a fresh environment, then audiocraft",
   "why": "The package pins torch==2.1.0 and xformers, which must match the installed PyTorch.",
   "dont_code": true,
   "fix_code": false
  },
  {
   "dont": "Treating the MIT license of the code as permission to sell or monetize the generated music",
   "fix": "Use the released weights only for non-commercial work, or pick a model whose weights allow commercial use",
   "why": "The weights are under CC BY-NC 4.0, separate from the MIT code.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Calling generate_with_chroma on facebook/musicgen-small",
   "fix": "Use facebook/musicgen-melody or musicgen-melody-large for melody-guided music",
   "why": "Only the melody models take a tune as input; small, medium and large are text to music only.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Writing prompts in other languages or asking for sung lyrics",
   "fix": "Write descriptions in English and plan for instrumental results",
   "why": "The model was trained on English descriptions with vocals removed.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": false,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "pip install audiocraft",
  "repo": "https://github.com/facebookresearch/audiocraft",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "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.",
  "formats": [],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Audio generated with Meta AudioCraft (MusicGen/AudioGen), model weights CC BY-NC 4.0: https://creativecommons.org/licenses/by-nc/4.0/",
  "rules_text": "- 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.\n  Connect: PyPI audiocraft.\n  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.\n  Not allowed: Model weights are CC-BY-NC 4.0: non-commercial use only.\n  Not allowed: Code is MIT; the weights are under a separate license (LICENSE_weights).\n  Not allowed: Attribution under CC BY: creator, copyright notice, license link, and a note if modified.\n  Rule: Use the weights for non-commercial purposes only; treat monetized output as not allowed.\n  License: https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights (checked 2026-10-20; details: https://agentgid.com/assets/audiocraft/)",
  "agent_md": "https://agentgid.com/assets/audiocraft/agent.md",
  "card_json": "https://agentgid.com/assets/audiocraft/card.json"
 },
 "popularity": {
  "gid_score": 22,
  "stars": 23973,
  "downloads_7d": 2041,
  "downloads_7d_label": "2,041",
  "downloads_change_4w_pct": -48.2,
  "eco": "pypi",
  "package": "audiocraft",
  "repo": "facebookresearch/audiocraft",
  "agent_projects": null,
  "agent_projects_total": null,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2026-04-13",
     28233
    ],
    [
     "2026-04-20",
     28407
    ],
    [
     "2026-04-27",
     27789
    ],
    [
     "2026-05-04",
     28233
    ],
    [
     "2026-05-11",
     17660
    ],
    [
     "2026-05-18",
     14763
    ],
    [
     "2026-05-25",
     30508
    ],
    [
     "2026-06-01",
     31018
    ],
    [
     "2026-06-08",
     31411
    ],
    [
     "2026-06-15",
     31133
    ],
    [
     "2026-06-22",
     4870
    ],
    [
     "2026-06-29",
     5596
    ],
    [
     "2026-07-06",
     6695
    ],
    [
     "2026-07-13",
     5714
    ],
    [
     "2026-07-20",
     3590
    ],
    [
     "2026-07-27",
     2945
    ],
    [
     "2026-08-03",
     3152
    ],
    [
     "2026-08-10",
     2556
    ],
    [
     "2026-08-17",
     2480
    ],
    [
     "2026-08-24",
     2270
    ],
    [
     "2026-08-31",
     2147
    ],
    [
     "2026-09-07",
     2274
    ],
    [
     "2026-09-14",
     2386
    ],
    [
     "2026-09-21",
     2082
    ],
    [
     "2026-09-28",
     2000
    ],
    [
     "2026-10-05",
     10919
    ],
    [
     "2026-10-12",
     2192
    ],
    [
     "2026-10-19",
     3397
    ],
    [
     "2026-10-26",
     3734
    ],
    [
     "2026-11-02",
     2053
    ],
    [
     "2026-11-09",
     2010
    ],
    [
     "2026-11-16",
     1785
    ]
   ],
   "stars": [
    [
     "2026-10-13",
     23698
    ],
    [
     "2026-10-20",
     23751
    ],
    [
     "2026-10-21",
     23752
    ],
    [
     "2026-10-22",
     23751
    ],
    [
     "2026-11-07",
     23833
    ],
    [
     "2026-11-08",
     23834
    ],
    [
     "2026-11-09",
     23836
    ],
    [
     "2026-11-10",
     23838
    ],
    [
     "2026-11-11",
     23843
    ],
    [
     "2026-11-12",
     23853
    ],
    [
     "2026-11-13",
     23861
    ],
    [
     "2026-11-14",
     23867
    ],
    [
     "2026-11-15",
     23872
    ],
    [
     "2026-11-16",
     23882
    ],
    [
     "2026-11-17",
     23897
    ],
    [
     "2026-11-18",
     23906
    ],
    [
     "2026-11-19",
     23921
    ],
    [
     "2026-11-20",
     23929
    ],
    [
     "2026-11-21",
     23937
    ],
    [
     "2026-11-22",
     23943
    ],
    [
     "2026-11-23",
     23944
    ],
    [
     "2026-11-24",
     23950
    ],
    [
     "2026-11-25",
     23964
    ],
    [
     "2026-11-26",
     23973
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-26"
 },
 "alternatives": [
  {
   "slug": "audiocraft",
   "name": "Meta AudioCraft (MusicGen, AudioGen)",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Non-commercial",
    "status": "no"
   },
   "access": "PyPI"
  },
  {
   "slug": "ace-step",
   "name": "ACE-Step 1.5",
   "why": "Pick ACE-Step for full songs with vocals in many languages under the MIT license, on smaller graphics cards.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "yue",
   "name": "YuE",
   "why": "Pick YuE to turn lyrics into full songs with vocals and accompaniment under Apache-2.0.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "suno",
   "name": "Suno",
   "why": "Pick Suno for a ready web service whose paid plans include commercial use, with no hardware of your own.",
   "current": false,
   "price": "Free tier",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "API"
  },
  {
   "slug": "bark",
   "name": "Bark",
   "why": "Open-source transformer text-to-audio model that generates multilingual speech, music and simple sound effects.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "yue2",
   "name": "YuE2",
   "why": "3B song generator that turns lyrics and a style prompt into full songs, with an editable melody and chord score.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "Download"
  }
 ],
 "faq": [
  {
   "q": "Can I use music made with it in a monetized video or a paid app?",
   "a": "Not with the released weights. They are CC BY-NC 4.0, which allows only non-commercial use."
  },
  {
   "q": "Does it run without a graphics card?",
   "a": "Meta says you must have a graphics card to run MusicGen locally."
  },
  {
   "q": "Can it sing?",
   "a": "No. The training music had its vocals removed, and the model card says it cannot make realistic vocals."
  },
  {
   "q": "Which MusicGen model should I start with?",
   "a": "Meta names the medium and melody models as the best balance of quality and computing cost; the small one fits smaller cards."
  },
  {
   "q": "Where are the model files stored?",
   "a": "In the Hugging Face cache; set AUDIOCRAFT_CACHE_DIR to choose another folder."
  }
 ],
 "at_a_glance": {
  "latest_version": "1.3.0",
  "last_commit": "2026-03-03",
  "runtime": "Python 3.9 (PyPI metadata says >=3.8), torch==2.1.0, a GPU with about 16 GB for medium models; ffmpeg recommended.",
  "key_needed": false
 },
 "good_to_know": [
  "You need a graphics card. Meta recommends 16 GB of graphics memory; smaller cards can make short clips with the small model.",
  "MusicGen cannot make realistic singing, and it works best with English descriptions.",
  "Meta built MusicGen for research and says it should not go into products without further checks of its risks.",
  "The last release on the Python package index is 1.3.0 from June 2024, and it requires exactly PyTorch 2.1.0."
 ],
 "stack_snippets": [],
 "claims": [
  "MusicGen was trained on 20K hours of licensed music"
 ],
 "checked": {
  "license_read": "2026-10-20",
  "overview_checked": "2026-11-12",
  "numbers_updated": "2026-11-26",
  "sources": [
   {
    "label": "github.com/facebookresearch/audiocraft",
    "url": "https://github.com/facebookresearch/audiocraft"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/README.md"
   },
   {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE"
   },
   {
    "label": "github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/LICENSE_weights"
   },
   {
    "label": "github.com/facebookresearch/audiocraft/blob/main/docs/MUSICGEN.md",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/docs/MUSICGEN.md"
   },
   {
    "label": "github.com/facebookresearch/audiocraft/blob/main/docs/AUDIOGEN.md",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/docs/AUDIOGEN.md"
   },
   {
    "label": "github.com/facebookresearch/audiocraft/blob/main/model_cards/MUSICGEN_MODEL_CARD.md",
    "url": "https://github.com/facebookresearch/audiocraft/blob/main/model_cards/MUSICGEN_MODEL_CARD.md"
   },
   {
    "label": "pypi.org/pypi/audiocraft/json",
    "url": "https://pypi.org/pypi/audiocraft/json"
   }
  ],
  "unverified": "Whether output from NC weights counts as commercial use is a legal question."
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/audiocraft/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
