audiocraft-audio-generation

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

1.0k|117|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/OpenLAIR/dr-claw --skill audiocraft-audio-generation-openlair
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/OpenLAIR/dr-claw/tree/main/skills/multimodal/audiocraft
Command: npx skills add https://github.com/OpenLAIR/dr-claw --skill audiocraft-audio-generation-openlair

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Audio generation from natural language prompts can be difficult to orchestrate manually; AudioCraft provides ready-to-use models (MusicGen, AudioGen, EnCodec) to produce music and sound effects from text with configurable parameters.

Core Features & Use Cases

  • Text-to-music generation with MusicGen and melody-conditioned variants
  • Text-to-sound generation with AudioGen for effects and ambience
  • High-fidelity audio with EnCodec and multi-model workflows
  • Quick prototyping for research, media, and product ideas

Quick Start

Run a basic MusicGen example to generate audio from a text prompt.

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 using MusicGen?

Generate music from text prompts using MusicGen by providing a descriptive text string and configuring generation parameters like duration, top_k, temperature, and cfg_coef to control the audio output's characteristics and length.

Can I create sound effects from text for product prototyping?

Create sound effects from text for product prototyping using AudioGen models to produce ambient sounds and effects, enabling quick media prototyping and research tasks directly from natural language descriptions.

Do I need PyTorch to run AudioCraft audio generation models?

You need PyTorch to run AudioCraft audio generation models, along with Python and the specific MusicGen, AudioGen, or EnCodec models, to handle text-to-sound and text-to-music workflows effectively.

How does melody-conditioned music generation work in AudioCraft?

Melody-conditioned music generation in AudioCraft works by using MusicGen variants that accept both text prompts and an existing melody input, allowing you to guide the musical structure while generating new audio from the text description.

What parameters control text-to-sound generation quality and duration?

Text-to-sound generation quality and duration are controlled by parameters including duration for length, top_k for sampling choices, temperature for randomness, cfg_coef for classifier-free guidance, and specific sample rates for audio fidelity.