audiocraft-audio-generation

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

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/TitoPrausee/nexus-toti --skill audiocraft-audio-generation-titoprausee
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/TitoPrausee/nexus-toti/tree/main/data/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/TitoPrausee/nexus-toti --skill audiocraft-audio-generation-titoprausee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the complexity of generating audio from text, helping you create music, sound effects, and melody-conditioned clips without manually building a full audio ML pipeline.

Core Features & Use Cases

  • Text-to-Music Generation: Create music with MusicGen from descriptive prompts such as mood, genre, instruments, and tempo.
  • Text-to-Sound Design: Generate sound effects and environmental audio with AudioGen for media, games, and prototyping.
  • Advanced Control Workflows: Use melody conditioning, style transfer, stereo generation, audio continuation, and EnCodec-based compression and reconstruction.
  • Use Case: A content creator can turn a short prompt into a polished background track, then refine it with melody or style references for a more specific result.

Quick Start

Use the audiocraft-audio-generation skill to generate a short upbeat electronic music clip from a text prompt and save the result as a WAV file.

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

To generate music from text prompts using MusicGen, you provide descriptive inputs detailing mood, genre, instruments, and tempo. The Skill processes these natural-language prompts to synthesize and output a corresponding audio track, which can be saved as a WAV file.

Can I create sound effects from text for game development?▼

Yes, you can create sound effects from text for game development using AudioGen. This functionality generates environmental audio and specific sound effects from natural-language prompts, providing rapid prototyping and media asset generation directly from text descriptions.

How does melody conditioning work for audio generation?▼

Melody conditioning works by providing an existing audio reference to guide the generation process. The Skill uses this reference to condition the output, allowing you to apply style transfer, audio continuation, and melody-conditioned generation for a more specific musical result.

Do I need PyTorch and torchaudio to run AudioCraft models?▼

Yes, you need PyTorch and torchaudio to run AudioCraft models. The Skill requires a PyTorch-based environment for model execution and utilizes torchaudio-compatible audio handling to manage parameter control for duration, sampling, and audio processing.

What is the best way to produce stereo output and control audio duration?▼

The best way to produce stereo output and control audio duration is through parameter control within the AudioCraft generation workflow. You can specify sampling rates, duration limits, and stereo configurations to precisely tailor the generated music or sound effects.

What are the limitations of using EnCodec for audio compression?▼

Using EnCodec for audio compression involves neural network-based reconstruction, which may introduce subtle artifacts compared to lossless formats. It is primarily designed for efficient audio representation within generation workflows rather than high-fidelity archival storage.