audiocraft-audio-generation

Generate music or sound effects from text prompts using audiocraft.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AudioCraft enables developers to create music, sound effects, and audio embeddings directly from textual descriptions, removing the need for manual composition or recording.

Core Features & Use Cases

  • Text‑to‑Music (MusicGen): Generate high‑quality music in various styles and lengths from prompts.
  • Text‑to‑Sound (AudioGen): Produce realistic sound effects for games, simulations, or multimedia.
  • Melody‑conditioned Generation: Combine a user‑provided melody with textual guidance to create new compositions.
  • Stereo & Style Transfer: Produce stereo audio and apply style conditioning for customized outputs.
  • Use Case Example: A game developer can automatically generate background music and environmental sounds on the fly, tailoring them to scene descriptions.

Quick Start

Ask the skill to generate a 30‑second ambient track from the description “calm ocean waves at sunset”.

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 sound effects from text prompts for game development?

To generate sound effects from text prompts, you can use AudioGen to produce realistic audio directly from textual descriptions. This removes the need for manual recording, allowing game developers to automatically create environmental sounds and effects on the fly.

Can I generate background music from text descriptions without manual composition?

You can generate background music from text descriptions using the MusicGen feature. It creates high-quality audio in various styles and lengths from prompts, completely removing the need for manual composition or recording.

Do I need Python and PyTorch to run audiocraft for text-to-audio generation?

Yes, running audiocraft for text-to-audio generation requires Python with the audiocraft library. You also need torch version 2.0.0 or higher and transformers 4.30.0 or higher to load pretrained models and run generation on either GPU or CPU.

What is melody-conditioned generation and how does it work with text prompts?

Melody-conditioned generation works by combining a user-provided melody with textual guidance to create new compositions. This allows you to input a specific tune and use text prompts to condition the style and output of the generated audio.

Does audiocraft support stereo audio and style transfer for generated music?

Audiocraft supports producing stereo audio and applying style conditioning for customized outputs. This enables style transfer within your generated music, tailoring the audio to specific scene descriptions or multimedia requirements.

What are the limitations of using CPU for audiocraft music generation?

Audiocraft can run generation on CPU or GPU, but CPU processing will likely be significantly slower for synthesizing music and sound effects. Generating longer or high-quality audio tracks on demand is best supported by GPU hardware acceleration.