
Music Generator
This hooks into ElevenLabs' music API to generate tracks from text prompts or detailed JSON compositions. You can spin up background music for videos, podcast intros, or demo soundtracks in under a minute. The detailed mode is the real feature here: define multiple sections with specific moods and styles, so your intro builds soft while the main section hits energetic. Tracks go from 15 seconds to 5.5 minutes. Costs around five to fifteen cents per generation depending on length. If you need royalty-free music on demand and don't want to dig through stock libraries, this gets you there fast. Setup requires an ElevenLabs API key.
- skills.sh installs
- 167
- GitHub stars
- 51
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aviz85/claude-skills-library --skill music-generator --agent claude-codeInstalls into .claude/skills of the current project.
Files
Music Generator
First time? If
setup_complete: falseabove, run./SETUP.mdfirst, then setsetup_complete: true.
Generate custom AI music using ElevenLabs Music API with detailed composition control.
Features
- Simple Mode: Generate music from a text prompt
- Detailed Mode: Create multi-section compositions with precise control over styles, moods, and transitions
- Instrumental or Vocal: Support for both instrumental and vocal tracks
- Custom Duration: Generate tracks from 15 seconds to 5 minutes
Quick Start
cd ~/.claude/skills/music-generator/scripts
# Simple prompt-based generation
npx ts-node generate_music.ts \
--prompt "Uplifting corporate music with electronic beats" \
--duration 60 \
--output /path/to/music.mp3
# List available styles
npx ts-node generate_music.ts --list-styles
Composition Modes
1. Simple Mode (--prompt)
Generate music from a single text prompt:
npx ts-node generate_music.ts \
--prompt "Energetic workout music with driving beats and motivational synths" \
--duration 90 \
--output workout.mp3
2. Detailed Mode (--composition)
Sponsors
Details
- Repository
- github.com/aviz85/claude-skills-library
- Categories
- Backend & APIs, Automation & Workflows, Generative Media
- First seen
- Jun 3, 2026