audiocraft-audio-generation

Generate WAV audio from text prompts using Meta AudioCraft models.

Updated May 26, 2026
One-click install
npx skills add https://github.com/ruiyangruiyi/hermes-agent --skill audiocraft-audio-generation-ruiyangruiyi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/ruiyangruiyi/hermes-agent/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/ruiyangruiyi/hermes-agent --skill audiocraft-audio-generation-ruiyangruiyi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

AudioCraft helps you turn natural-language ideas into usable audio without needing to record instruments or design sound effects manually.

Core Features & Use Cases

  • Text-to-Music with MusicGen: Generate short to medium-length music from prompts, including stereo variants and melody-conditioned generation.
  • Text-to-Sound with AudioGen: Produce sound effects and environmental audio from descriptive text.
  • High-fidelity audio coding with EnCodec: Encode and decode audio for efficient neural audio workflows, including compression and advanced generation pipelines.

Use case examples: Create royalty-free jingle drafts from “upbeat electronic dance music with synths”, generate “dog barking in a park with birds chirping” for game audio, or compress/reconstruct audio using EnCodec before further processing.

Quick Start

Use the audiocraft-audio-generation skill to generate text-to-music from prompts and save the resulting WAV files.

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 MusicGen?▼

To generate music from text, use the MusicGen API within the audiocraft framework to process descriptive prompts and output short to medium-length audio tracks. You can create stereo variants and melody-conditioned generation directly from text inputs.

Can I generate sound effects from text for game audio?▼

Yes, you can generate sound effects from text using the AudioGen model. It produces environmental audio and sound effects from descriptive text, making it suitable for prototype game audio design like generating dog barking or birds chirping.

What do I need to install to use AudioCraft models for text-to-audio generation?▼

You need to install the audiocraft package alongside compatible versions of PyTorch (2.0.0 or higher) and Transformers (4.30.0 or higher). These dependencies provide the required environment to run MusicGen and AudioGen APIs for audio generation.

Does AudioCraft support melody-conditioned music generation?▼

Yes, AudioCraft supports melody-conditioned generation through MusicGen. This allows you to condition the generated music using melody or style references, providing more control over the output beyond standard text prompts.

How does EnCodec work for audio compression in neural audio workflows?▼

EnCodec encodes and decodes audio for high-fidelity audio coding, enabling efficient compression and reconstruction. It is used within neural audio workflows to compress audio before further processing or advanced generation pipelines.

Are there limitations when generating prototype sound design with AudioGen?▼

AudioGen is designed for producing prototype sound effects and environmental audio from descriptive text. It is best suited for generating short demo tracks and prototype audio rather than full-length, production-ready sound design for complex scenarios.