audiocraft-audio-generation

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

7|1|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/paxlabs-inc/ion-agent --skill audiocraft-audio-generation-paxlabs-inc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/paxlabs-inc/ion-agent/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/paxlabs-inc/ion-agent --skill audiocraft-audio-generation-paxlabs-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the barrier to entry for high-quality audio production by enabling users to generate professional-grade music and sound effects directly from text descriptions.

Core Features & Use Cases

  • MusicGen: Create custom music tracks from text prompts with optional melody conditioning.
  • AudioGen: Generate realistic environmental sound effects and ambient audio.
  • EnCodec: Perform high-fidelity neural audio compression and reconstruction.
  • Use Case: Quickly prototype background music for a video project or generate unique sound effects for game development without needing a recording studio.

Quick Start

Use the audiocraft skill to generate a 10-second upbeat electronic dance track with synthesizers and punchy drums.

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 high-fidelity music and sound effects from text prompts?

You can generate high-fidelity music and sound effects from text prompts by using Meta's AudioCraft models, specifically MusicGen for custom tracks and AudioGen for realistic ambient audio. This requires setting up PyTorch, torchaudio, and the audiocraft library to run model inference.

Can I use PyTorch and transformers to create custom music tracks with melody conditioning?

Yes, you can use PyTorch and transformers with the audiocraft library to create custom music tracks. MusicGen supports text-to-music generation with optional melody conditioning to guide the musical composition.

What is the best way to prototype background music for video and game development?

The best way to prototype background music and sound effects for media production is using neural audio generation models. AudioCraft enables quick prototyping of upbeat tracks and unique environmental sounds directly from text descriptions without needing a recording studio.

Does AudioCraft support neural audio compression and reconstruction?

Yes, AudioCraft supports neural audio compression and reconstruction through the EnCodec model. It performs high-fidelity neural audio compression tasks alongside text-to-music and text-to-sound generation within creative and media production workflows.

Do I need torchaudio installed to perform text-to-music generation?

Yes, you need torchaudio installed along with PyTorch, transformers, and the audiocraft library. These dependencies are required to execute the model inference and audio processing necessary for generating music from text prompts.