audiocraft-audio-generation

Generate music and sound effects from text prompts using AudioCraft.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/tadod12/fraud-detection-research --skill audiocraft-audio-generation-tadod12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/tadod12/fraud-detection-research/tree/main/.agent/skills/18-multimodal/audiocraft
Command: npx skills add https://github.com/tadod12/fraud-detection-research --skill audiocraft-audio-generation-tadod12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AudioCraft provides a flexible toolkit to generate music and environmental audio from natural language prompts, speeding up creative workflows and prototyping.

Core Features & Use Cases

  • Text-to-music generation with MusicGen and melody conditioning
  • Text-to-sound generation with AudioGen and EnCodec integration
  • End-to-end workflows for rapid sound design, game audio, and media production
  • Support for stereo output and multiple pretrained model variants

Quick Start

Install AudioCraft and generate a short audio clip from a simple text prompt using MusicGen.

Frequently Asked Questions about audiocraft-audio-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate music from text prompts using Python?

AudioCraft enables text-to-music generation in Python by loading pretrained MusicGen models with PyTorch, allowing you to configure runtime parameters and generate stereo audio clips from natural language prompts.

What is the difference between text-to-music and text-to-sound generation?

Text-to-music generation uses MusicGen to create musical tracks with melody conditioning, while text-to-sound generation uses AudioGen with EnCodec integration to produce environmental audio and sound effects for game audio and media production.

Do I need PyTorch to run AudioGen and MusicGen models?

Yes, you need PyTorch and Python to run AudioGen and MusicGen models. The AudioCraft library requires these environments to load pretrained model variants and execute the audio generation workflows for your media projects.

Can I use melody conditioning to guide text-to-music generation?

Yes, melody conditioning is supported in text-to-music generation through the MusicGen model in AudioCraft. This allows you to influence the generated music by providing a melodic input alongside your text prompt.

What's the best way to create sound effects for game audio from text?

The best way to create game audio from text is using AudioGen within the AudioCraft library. It provides an end-to-end workflow for rapid sound design, converting natural language prompts into environmental audio.

Does AudioCraft support stereo output for generated audio?

Yes, AudioCraft supports stereo output for generated audio. This feature is available across its text-to-music and text-to-sound workflows, ensuring the generated audio meets the quality standards for media production.