audiocraft-audio-generation

Generate music and sound effects from textual prompts using PyTorch.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/handsomelong922/my-codex-skills --skill audiocraft-audio-generation-handsomelong922
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/handsomelong922/my-codex-skills/tree/main/skills/audiocraft
Command: npx skills add https://github.com/handsomelong922/my-codex-skills --skill audiocraft-audio-generation-handsomelong922

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PyTorch-based toolkit for generating music and sound effects directly from textual prompts using AudioCraft's MusicGen and AudioGen, enabling rapid audio content creation.

Core Features & Use Cases

  • MusicGen: text-to-music generation from descriptions
  • AudioGen: text-to-sound generation for sound effects
  • Melody-conditioned generation: incorporate melodies for guided results
  • Quick-start friendly: try a quick local example with a simple prompt

Quick Start

Install audiocraft and run a small MusicGen example to generate audio from text.

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

Generate music from text using PyTorch by installing the audiocraft toolkit and running a small MusicGen example with a simple descriptive prompt to produce audio content.

Can I create sound effects from textual prompts with AudioGen?

Create sound effects from textual prompts with AudioGen by providing text descriptions to generate targeted audio outputs directly within your PyTorch-based application workflows.

Does MusicGen support melody-conditioned audio generation?

MusicGen supports melody-conditioned audio generation, allowing you to incorporate existing melodies to guide the text-to-music generation process for structured audio results.

What PyTorch and transformers versions are required for audiocraft text-to-audio generation?

Audiocraft text-to-audio generation requires PyTorch version 2.0.0 or higher and transformers version 4.30.0 or higher to run MusicGen and AudioGen workflows.

What's the best way to prototype audio-first applications with text-to-audio models?

Prototype audio-first applications with text-to-audio models by using audiocraft's MusicGen for quick music generation and AudioGen for sound effects to rapidly build demonstrations.