media-musicgen

Generate music from text prompts using Riffusion, YuE, and Stable Audio Open.

15|4|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/damionrashford/media-os --skill media-musicgen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: media-musicgen
Source: https://github.com/damionrashford/media-os/tree/main/skills/media-musicgen
Command: npx skills add https://github.com/damionrashford/media-os --skill media-musicgen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, soundfile, torch, diffusers, transformers, stable_audio_tools, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Open-source AI music generation with permissive-license models: Riffusion (MIT, spectrogram-to-audio music from text), YuE (Apache 2.0, Chinese Academy 2025 full-song generation with vocals), Stable Audio Open (Stability community license, commercial up to 1M ARR). Text-to-music, genre-conditioned generation, full song with structure, continuation from existing audio, stem splits via media-demucs. Use when the user asks to generate music from text, create AI songs, make background music for video, generate a jingle, produce royalty-free music with open-source models, make a full song with vocals, or continue an existing musical idea.

Core Features & Use Cases

  • Text-to-music generation with three open-source model options: Riffusion, YuE, and Stable Audio Open.
  • Full-song creation with optional vocals, stems, and continuation from existing audio via media-demucs.
  • Licensing-aware workflows for royalty-free music production and distribution.

Quick Start

Generate a 60-second ambient track from a text prompt using the preferred model and export to output.wav.

Frequently Asked Questions about media-musicgen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI music from text prompts using open-source models?

You can generate AI music from text prompts using open-source models like Riffusion, YuE, and Stable Audio Open. This Skill processes your text descriptions to produce royalty-free audio tracks, full songs with vocals, or background music.

Can I create full songs with vocals using open-source AI music generation?

Yes, you can create full songs with vocals using open-source AI music generation. The YuE model (Apache 2.0) specifically supports full-song generation complete with vocal tracks and song structure.

What are the licensing restrictions for AI generated music with Stable Audio Open?

Stable Audio Open uses the Stability community license, allowing commercial use up to 1M ARR. The licensing-aware workflows in this Skill help ensure your royalty-free AI generated music meets distribution requirements.

How do I extract stems from AI generated audio?

You extract stems from AI generated audio by routing the output through the media-demucs integration. This workflow separates your generated full songs into individual instrument or vocal stems for further production.

Does Riffusion support music continuation from existing audio?

Yes, music continuation from existing audio is supported across the generation workflow. You can input existing audio to extend musical ideas, allowing Riffusion and other integrated models to build upon your initial audio segments.

What Python dependencies do I need for text-to-music generation?

Text-to-music generation requires Python dependencies including PyTorch, Diffusers, Transformers, and stable_audio_tools. These libraries provide the foundational machine learning frameworks needed to run the Riffusion, YuE, and Stable Audio models.