audiocraft-audio-generation

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

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/gqf2008/hermez-ai --skill audiocraft-audio-generation-gqf2008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/gqf2008/hermez-ai/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/gqf2008/hermez-ai --skill audiocraft-audio-generation-gqf2008

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AudioCraft provides a unified framework to generate music and sound effects from natural language prompts using MusicGen, AudioGen, and EnCodec, simplifying the creation of audio content for apps, games, and research.

Core Features & Use Cases

  • Text-to-music generation with MusicGen for melody-conditioned or stereo outputs.
  • Text-to-sound generation with AudioGen for sound effects and ambience.
  • EnCodec support for high-fidelity audio compression and playback.
  • Use Case: Build game audio pipelines, generate prototype soundtracks, or automate audio content generation in demos.

Quick Start

Install audiocraft and run a quick example to generate audio from a description.

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

AudioCraft generates music and sound effects from text prompts by using the MusicGen model for melody-conditioned or stereo music outputs and the AudioGen model for sound effects. It provides a unified framework for content creation, game development, and research.

Can I generate sound effects for game audio pipelines using AudioGen?

Yes, you can generate sound effects for game audio pipelines using AudioGen. This Skill automates the creation of environmental ambience and specific sound effects from text descriptions, making it suitable for building game audio pipelines and prototype soundtracks.

Do I need a PyTorch-enabled environment to run MusicGen and AudioGen?

Yes, a PyTorch-enabled environment is required to run MusicGen and AudioGen models. The Skill relies on this setup to support configurable duration, output channels, and CFG-based generation for text-to-music and text-to-sound tasks.

What is the best way to create melody-conditioned music outputs from text?

The best way to create melody-conditioned music outputs is by using AudioCraft's MusicGen model via this Skill. It automates text-to-music generation with configurable duration, output channels, and CFG-based generation to produce high-fidelity stereo audio.

Does AudioCraft support high-fidelity audio compression and playback?

Yes, AudioCraft supports high-fidelity audio compression and playback through EnCodec. This feature is integrated into the framework to ensure high-quality audio output when generating music and sound effects from text prompts.