audiocraft-audio-generation

Generate music and sound effects from text using Meta's AudioCraft models.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the challenge of creating custom, high-quality audio assets like background music or sound effects without requiring professional studio equipment or manual recording.

Core Features & Use Cases

  • MusicGen: Generates music from text descriptions with optional melody conditioning.
  • AudioGen: Creates specific sound effects and environmental audio from text prompts.
  • EnCodec: Provides high-fidelity neural audio compression and reconstruction.
  • Use Case: Quickly generate a 30-second upbeat electronic track for a video project or create specific sound effects like city traffic for game development.

Quick Start

Use the audiocraft skill to generate a 10-second upbeat electronic dance music track with synths.

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?

You can generate high-fidelity music and sound effects from text descriptions using Meta's AudioCraft models. The skill performs autoregressive audio token generation and decoding to create custom audio assets from your text prompts.

What is the difference between text-to-music and text-to-sound generation?

Text-to-music generation creates musical tracks with optional melody conditioning, while text-to-sound generation produces specific environmental audio and sound effects. Both use AudioCraft models to decode autoregressive audio tokens into high-fidelity output.

Do I need PyTorch and transformers to use AudioCraft for audio generation?

Yes, you need PyTorch, transformers, and audiocraft libraries installed to perform autoregressive audio token generation and decoding. These dependencies provide the underlying neural network and compression infrastructure for AudioCraft.

Can I use neural audio compression to reconstruct high-fidelity audio?

Yes, the skill includes EnCodec for high-fidelity neural audio compression and reconstruction. It encodes and decodes audio tokens generated by AudioCraft to deliver the final compressed audio output.

How do I create a 30-second upbeat electronic track for a video project?

You can create a 30-second upbeat electronic track by providing a descriptive text prompt to the AudioCraft skill. The model autoregressively generates and decodes the audio tokens to produce the requested music track.

What are the limitations of generating sound effects with AudioCraft?

AudioCraft sound effect generation requires significant computational resources due to PyTorch and transformers dependencies, and outputs are limited by the autoregressive token generation process. Complex or highly specific environmental audio may lack precise manual control.