audiocraft-audio-generation

Generate audio from text prompts and melody data using AudioCraft models.

2|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/AlexiosBluffMara/mercury --skill audiocraft-audio-generation-alexiosbluffmara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/AlexiosBluffMara/mercury/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/AlexiosBluffMara/mercury --skill audiocraft-audio-generation-alexiosbluffmara

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AudioCraft provides ready-to-use tools to generate music and sound effects directly from text prompts and melody data, removing the need to craft custom audio pipelines.

Core Features & Use Cases

  • Text-to-music and text-to-sound generation using MusicGen and AudioGen variants for rapid prototyping.
  • Melody-conditioned generation to align outputs with user-provided melodies for cohesive workflows.
  • Pretrained models and API-friendly access enabling seamless integration into apps, games, and research.

Quick Start

Install audiocraft and load a pretrained MusicGen or AudioGen model to generate audio from text prompts.

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 audio content from text prompts using AudioCraft models by loading pretrained MusicGen or AudioGen variants. This approach enables rapid prototyping for music production, sound design, and game engineering workflows without needing custom audio pipelines.

Can I condition audio generation on my own melody data?

Melody-conditioned generation aligns audio outputs with user-provided melodies using melody-enabled AudioCraft variants. This feature ensures synthesized music matches your specific melodic input for cohesive music production workflows.

What Python and PyTorch setup do I need for text-to-audio generation?

Text-to-audio generation requires Python and PyTorch environments with audiocraft, torch>=2.0.0, and transformers>=4.30.0 installed. These dependencies provide the foundational framework to load pretrained models and execute audio synthesis workflows.

Does text-to-sound generation work for game audio engineering workflows?

Text-to-sound generation supports game audio engineering workflows by using AudioGen variants to create sound effects from text prompts. The API-friendly access enables seamless integration into game development pipelines for quick audio prototyping.

What is the best way to integrate pretrained text-to-music models into my apps?

Integrate pretrained text-to-music models into apps through the API-friendly access provided by the audiocraft library. Loading MusicGen variants programmatically enables seamless, controllable audio generation within applications and research projects.