audiocraft-audio-generation

Generate music and sound effects from text prompts using AudioCraft.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Rawgrowth-Consulting/rawclaw-agent --skill audiocraft-audio-generation-rawgrowth-consulting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/Rawgrowth-Consulting/rawclaw-agent/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/Rawgrowth-Consulting/rawclaw-agent --skill audiocraft-audio-generation-rawgrowth-consulting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AudioCraft provides a framework for text-to-music and text-to-sound generation using PyTorch, enabling developers to create music, sound effects, and melody-conditioned audio from descriptive prompts.

Core Features & Use Cases

  • MusicGen: text-to-music generation with melody conditioning and stereo options.
  • AudioGen: text-to-sound effects generation.
  • EnCodec: high-fidelity compression and reconstruction for audio.
  • Model variants: small, medium, large, melody, style, stereo.
  • Integrations: supports Gradio demos, API server deployment, LangChain tools, and plugin-like workflows.

Quick Start

Install audiocraft and load a pretrained MusicGen model to generate audio from text prompts.

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 a text prompt using AudioCraft?

Generate music from a text prompt by loading a pretrained MusicGen model in a PyTorch environment and passing descriptive text to produce audio for soundtracks or multimedia projects.

Can I use melody conditioning with MusicGen for text-to-music generation?

Melody conditioning is supported in MusicGen, allowing you to guide text-to-music generation using optional melody features alongside the melody model variant for enhanced control over the output.

What's the difference between MusicGen and AudioGen for audio generation?

MusicGen handles text-to-music generation with stereo options, while AudioGen generates sound effects from text prompts, providing distinct tools for soundtrack creation versus sound design.

Do I need a specific PyTorch environment to run AudioCraft models?

A PyTorch environment with the AudioCraft package installed is required to load pretrained MusicGen and AudioGen models for generating audio from descriptive text prompts.

Does AudioCraft support deploying an API server for text-to-audio generation?

AudioCraft supports API server deployment, Gradio demos, and LangChain tools, enabling integration of text-to-music and text-to-sound generation into automated workflows and applications.

What are the limitations of using AudioGen for sound effect generation?

AudioGen generates sound effects from text prompts but requires a PyTorch environment with pretrained models, and optional EnCodec features are needed for high-fidelity compression and reconstruction.