audiocraft-audio-generation

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

AudioCraft helps you turn text prompts into original audio—either full music tracks or sound-effect style clips—without needing to train a custom model.

Core Features & Use Cases

  • Text-to-Music (MusicGen): Generate melodies and multi-second music from descriptive prompts, including melody-conditioned and style-conditioned variants.
  • Text-to-Sound Effects (AudioGen): Create short audio effects from text descriptions for sound design and prototyping.
  • Neural Audio Codec (EnCodec): Encode/decode audio to support high-fidelity generation workflows and post-processing.

Use case: You have a product demo script and want background music and UI sound effects generated from natural-language prompts, then exported as WAV files for integration into your app.

Quick Start

Generate a short music clip by prompting: "Create upbeat electronic dance music with punchy drums and synth leads for 15 seconds."

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

Generate music and sound effects from text prompts by using AudioCraft models like MusicGen and AudioGen. You provide natural-language descriptions, and the models output original audio tracks or sound-effect clips suitable for creative ideation and production prototyping.

Can I control the length and sampling settings of generated audio?

Yes, you can control the length and sampling settings of generated audio. AudioCraft supports controllable lengths and sampling settings for music generation, allowing you to specify durations like 15 seconds for your audio outputs.

What libraries do I need to run AudioCraft for audio generation?

You need the audiocraft, torch, and transformers libraries to run AudioCraft for audio generation. These dependencies are required to load the MusicGen and AudioGen models and execute the text-to-audio generation workflows.

Does AudioCraft support stereo audio generation for music tracks?

Yes, AudioCraft supports stereo audio generation for music tracks. It uses models like MusicGen to generate melodies and multi-second music from descriptive prompts, suitable for demo content creation and production prototyping.

What is the difference between MusicGen and AudioGen in AudioCraft?

MusicGen generates full music tracks and melodies from text prompts, including melody-conditioned variants. AudioGen creates short audio effects from text descriptions for sound design and prototyping, distinct from full music track generation.

When should I use AudioCraft for sound design instead of training a custom model?

Use AudioCraft for sound design when you need to turn text prompts into original audio without training a custom model. It is suitable for creative ideation, demo content creation, and production prototyping where controllable lengths and sampling settings are required.