audiocraft-audio-generation

Generate music and sound effects from text prompts using AudioCraft.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires audiocraft, torch, transformers, scipy, librosa, and includes references (resource) components.

What problem does it solve?

This Skill automates the creation of music and sound effects directly from textual descriptions, eliminating the need for manual audio production or complex software.

Core Features & Use Cases

  • Text-to-Music Generation: Create original music tracks based on descriptive prompts (e.g., "happy upbeat electronic dance music").
  • Text-to-Sound Effects: Generate realistic sound effects for various applications (e.g., "dog barking in a park").
  • Melody Conditioning: Generate music that follows a specific provided melody.
  • Stereo Audio Output: Produce music with stereo panning and width.
  • Use Case: A game developer needs a unique sound effect for a magical spell. They can simply describe "sparkling magical chime with a short echo" and generate multiple options instantly.

Quick Start

Use the audiocraft-audio-generation skill to generate a 10-second clip of "epic orchestral music".

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 and sound effects from text descriptions?

To generate music and sound effects from text, use the AudioCraft library which converts natural language prompts into audio content via MusicGen and AudioGen models, producing original tracks or realistic sound clips instantly.

Can I generate audio that follows a specific provided melody?

Yes, you can generate audio that follows a specific provided melody using the melody conditioning feature of AudioCraft, which guides the MusicGen model to produce music matching your input melodic structure.

Do I need PyTorch and HuggingFace Transformers to run AudioCraft audio generation?

Yes, you need PyTorch and HuggingFace Transformers installed in your environment to run AudioCraft audio generation, as the Skill depends on these frameworks to load and execute the MusicGen and AudioGen models.

Does AudioCraft support stereo audio output for text-to-music generation?

Yes, AudioCraft supports stereo audio output for text-to-music generation, allowing you to produce music tracks with stereo panning and width directly from your natural language text prompts.

What is the difference between MusicGen and AudioGen in text-to-audio generation?

In text-to-audio generation, MusicGen is used for creating original music tracks from descriptive prompts, while AudioGen is designed to generate realistic sound effects like a dog barking or environmental audio from text.

Are there limitations when generating long audio clips with AudioCraft?

The metadata does not specify exact duration limitations for AudioCraft, but the Skill is demonstrated generating 10-second clips, and users should anticipate computational constraints with longer text-to-audio generation tasks.