audiocraft-audio-generation

Convert text prompts into music and sound effects with MusicGen and AudioGen.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AudioCraft eliminates the need for manual composition by turning natural-language descriptions into generated audio, including full text-to-music and text-to-sound effects.

Core Features & Use Cases

  • Text-to-music with MusicGen: Generate melodies and complete songs from text prompts, optionally with melody conditioning and style transfer for reference-guided output.
  • Text-to-audio effects with AudioGen: Create short sound effects (e.g., ambience, environment noises, or character/scene SFX) from descriptive prompts.
  • Neural audio codec with EnCodec: Enable high-fidelity audio tokenization and reconstruction workflows for improved generation quality and controllability.
  • Use Case: Describe a scene and generate a matching soundtrack and sound effects (e.g., “sunset cinematic strings with soft percussion” plus “distant thunder and rain ambience”) for a prototype, demo, or creative pipeline.

Quick Start

Use the audiocraft-audio-generation skill to generate an 8-second track from the prompt “happy upbeat electronic dance music with synths” and save the resulting WAV output.

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?

Generate sound effects from text by using the AudioGen model to create short audio like ambience, environment noises, or scene SFX from descriptive text prompts for creative pipelines.

Can I use text to sound generation for scene ambience?

Generate sound effects from text by using the AudioGen model to create short audio like ambience, environment noises, or scene SFX from descriptive text prompts for creative pipelines.

Does AudioCraft support style transfer and melody conditioning?

AudioCraft applies PyTorch-based inference for prompt-to-audio generation, converting text prompts into generated music and sound effects using the MusicGen and AudioGen models.

Do I need PyTorch to run AudioCraft audio generation?

AudioCraft applies PyTorch-based inference for prompt-to-audio generation, converting text prompts into generated music and sound effects using the MusicGen and AudioGen models.

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

The EnCodec neural audio codec enables high-fidelity audio tokenization and reconstruction workflows, providing improved generation quality and controllability for codec-driven audio reconstruction during the generation process.

What are the limitations of text to music generation for production?

Text to music generation with MusicGen is optimized for prototypes, demos, and creative pipelines, generating short tracks like 8-second WAV outputs, rather than replacing full manual composition for final production audio.