audiocraft-audio-generation

Generate music and sound effects from text prompts using Meta AudioCraft models.

4|Updated May 18, 2026
One-click install
npx skills add https://github.com/ZardLi1115/zedclaw --skill audiocraft-audio-generation-zardli1115
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/ZardLi1115/zedclaw/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/ZardLi1115/zedclaw --skill audiocraft-audio-generation-zardli1115

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires audiocraft, torch>=2.0.0, transformers>=4.30.0, and includes references (resource) components.

What problem does it solve?

AudioCraft automates the creation of audio (music and sound effects) from natural-language prompts, so you can quickly prototype or produce ideas without manual composition or sound design.

Core Features & Use Cases

  • Text-to-music generation (MusicGen): Create short or longer music tracks from text, including melody-conditioned variants and stereo models.
  • Text-to-sound effects generation (AudioGen): Generate realistic sound effects such as nature ambience, UI sounds, and environmental noise from descriptions.
  • Neural audio codec & enhancement (EnCodec, MBD): Decode high-fidelity neural audio tokens back into waveforms and optionally improve perceived quality with MultiBand Diffusion.
  • Use cases: Music brainstorming for games and videos, rapid SFX prototyping, dataset preparation and fine-tuning workflows, and building an audio generation API or UI demo.

Quick Start

Use the audiocraft-audio-generation skill to generate a 10-second text-to-music track for the prompt "upbeat electronic dance music with punchy drums" and save the resulting audio as a WAV file.

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 AudioCraft?

Text-to-music generation with AudioCraft requires loading a pretrained MusicGen variant, configuring duration and sampling controls, and exporting the generated tensors as a playable WAV file.

Can I create realistic sound effects from text descriptions?

Yes, you can create realistic sound effects from text descriptions by using the AudioGen model to generate nature ambience, UI sounds, and environmental noise directly from your natural-language prompts.

Does AudioCraft support stereo audio and melody-conditioned generation?

Yes, AudioCraft supports stereo audio output and includes melody-conditioned variants within its MusicGen models, allowing you to generate music tracks guided by specific melodic inputs.

What is the EnCodec neural audio codec used for in audio generation?

The EnCodec neural audio codec is used to decode high-fidelity neural audio tokens back into waveforms, enabling waveform reconstruction and optional perceived quality improvement with MultiBand Diffusion.

Do I need PyTorch and Transformers installed to run AudioCraft models?

Yes, you need PyTorch (version 2.0.0 or higher) and Transformers (version 4.30.0 or higher) installed in your environment to run AudioCraft models for audio generation tasks.

What are the limitations of using AudioCraft for sound design?

AudioCraft targets prototyping and experiments rather than final production, meaning generated audio may require further refinement and workflows are constrained by available model variants and set generation parameters.