audiocraft-audio-generation

Generate music and sound effects from text descriptions using AudioCraft.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/tangzheng202202/hermes-skills --skill audiocraft-audio-generation-tangzheng202202
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/tangzheng202202/hermes-skills/tree/main/03-mlops/mlops/models/audiocraft
Command: npx skills add https://github.com/tangzheng202202/hermes-skills --skill audiocraft-audio-generation-tangzheng202202

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen). Use when you need to generate music from text descriptions, create sound effects, or perform melody-conditioned music generation.

Core Features & Use Cases

  • Text-to-music: Generate musical pieces from natural language descriptions using MusicGen.
  • Text-to-sound: Create sound effects from text prompts with AudioGen.
  • Advanced codecs: Use EnCodec for high-fidelity audio compression and reconstruction.
  • Melody conditioning & styles: Support melody-based prompts and style-conditioned generation.
  • Deployment & workflows: Includes API-server patterns, batch processing, and integration examples.

Quick Start

Install audiocraft and run a simple text-to-music example to generate audio.

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

You can generate music from text descriptions using MusicGen, a component of the AudioCraft PyTorch library that processes natural language inputs to synthesize musical pieces.

Can I generate sound effects from text prompts?

You can generate sound effects from text prompts using AudioGen, an AudioCraft model specifically designed for text-to-sound synthesis to create non-musical audio.

Does AudioCraft support melody-conditioned music generation?

AudioCraft supports melody-conditioned music generation, allowing you to provide an existing melody as a prompt alongside text to guide the structural and stylistic output of MusicGen.

How do I achieve high-fidelity audio compression for generated outputs?

You achieve high-fidelity audio compression and reconstruction for generated outputs by using EnCodec, an advanced audio codec integrated within the AudioCraft suite.

What is the best way to integrate text-to-audio generation into an API server?

The best way to integrate text-to-audio generation into an API server is using the included deployment patterns and batch processing examples from the AudioCraft suite workflows.

Do I need PyTorch to run AudioGen and MusicGen workflows?

Yes, you need PyTorch to run AudioGen and MusicGen workflows, as AudioCraft relies on the PyTorch framework to execute its text-to-audio and melody-conditioning models.