music-generation
Generates AI-powered music and audio soundtracks.
Install
mkdir -p .claude/skills/music-generation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10726" && unzip -o skill.zip -d .claude/skills/music-generation && rm skill.zipInstalls to .claude/skills/music-generation
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
AI music generation via Replicate — 5 models for background tracks, lyrics, and sound designKey capabilities
- →Generate background tracks
- →Create vocal tracks
- →Design sound effects
- →Match audio styles
How it works
The skill provides access to 5 AI music generation models via Replicate, supporting lyrics, instrumental tracks, and professional sound design.
Inputs & outputs
When to use music-generation
- →Creating background music for apps
- →Generating sound effects
- →Composing soundtracks for videos
- →Synthesizing vocal tracks
About this skill
Music Generation Skill
Domain: AI Music Generation
Version: 1.0.0
Last Updated: 2026-04-15
Author: Alex (Master Alex)
Source: Patterns from AlexVideos CLI toolkit
Related: text-to-speech (voice), video-generation (video)
Overview
Generate AI music and soundtracks via Replicate. 5 models covering lyrics-based songs, instrumental tracks, and professional sound design.
Model Catalog (5 Models)
| Key | Model | Replicate ID | Cost | Features |
|---|---|---|---|---|
music15 | MiniMax Music 1.5 | minimax/music-1.5 | $0.03/file | Lyrics with [verse], [chorus] tags |
music01 | MiniMax Music 01 | minimax/music-01 | $0.035/file | Reference audio input |
stableaudio | Stable Audio 2.5 | stability-ai/stable-audio-2.5 | $0.20/file | Diffusion-based, 1–190s |
elevenmusic | ElevenLabs Music | elevenlabs/music | $8.30/1k sec | Professional, vocals toggle |
lyria2 | Google Lyria 2 | google/lyria-2 | $2/1k sec | Negative prompt support |
Parameter Support Matrix
| Model | prompt | lyrics | duration | reference | negative | vocals |
|---|---|---|---|---|---|---|
music15 | ✅ | ✅ | — | — | — | ✅ auto |
music01 | ✅ | — | — | ✅ | — | — |
stableaudio | ✅ | — | 1–190s | — | ✅ | — |
elevenmusic | ✅ | — | variable | — | — | ✅ toggle |
lyria2 | ✅ | — | variable | — | ✅ | — |
Model Selection Guide
| Need | Model | Why |
|---|---|---|
| Song with lyrics | music15 | Structured lyrics with verse/chorus |
| Match existing style | music01 | Reference audio input |
| Budget instrumental | stableaudio | Cheapest per-file |
| Professional production | elevenmusic | Highest quality, vocal toggle |
| Exclude unwanted elements | lyria2, stableaudio | Negative prompt support |
Lyrics Format (MiniMax Music 1.5)
Use structured tags for song sections:
[intro]
(Soft piano melody)
[verse]
Walking through the city lights at night
Every shadow tells a different story
Searching for a meaning in the dark
Finding hope in unexpected places
[chorus]
We rise above the noise
Breaking through the silence
Every heart beating as one
Together we are stronger
[bridge]
When the world falls apart around us
We'll find our way back home
[outro]
(Fade out with gentle strings)
Generation Examples
Song with Lyrics (MiniMax)
const output = await replicate.run("minimax/music-1.5", {
input: {
prompt: "Uplifting pop rock song about finding hope",
lyrics: `
[verse]
Walking through the rain...
[chorus]
We are the dreamers...
`,
},
});
Instrumental (Stable Audio)
const output = await replicate.run("stability-ai/stable-audio-2.5", {
input: {
prompt: "Epic cinematic orchestral score, heroic theme, brass and strings",
duration: 60, // seconds
negative_prompt: "vocals, singing, speech, drums",
},
});
Reference-Based (MiniMax 01)
const output = await replicate.run("minimax/music-01", {
input: {
prompt: "Upbeat electronic dance track",
reference_audio: referenceAudioDataURI, // Sample to match style
},
});
Professional with Vocals Toggle (ElevenLabs)
const output = await replicate.run("elevenlabs/music", {
input: {
prompt: "Energetic pop song with catchy hook",
include_vocals: true, // or false for instrumental
},
});
Prompt Engineering
| Element | Good Example | Avoid |
|---|---|---|
| Genre | "lo-fi hip hop", "orchestral cinematic" | "good music" |
| Mood | "melancholic", "uplifting", "tense" | "nice" |
| Instruments | "acoustic guitar, soft piano, strings" | "instruments" |
| Tempo | "slow ballad 60 BPM", "upbeat 120 BPM" | — |
| Structure | "builds to crescendo", "ambient loops" | — |
Cost Comparison (60s track)
| Model | Cost | Quality | Notes |
|---|---|---|---|
| stableaudio | ~$0.20 | Good | Budget, diffusion-based |
| music15 | ~$0.03 | Good | Best for lyrics |
| music01 | ~$0.035 | Good | Style matching |
| lyria2 | ~$0.12 | High | Negative prompts |
| elevenmusic | ~$0.50 | Premium | Professional quality |
Integration with Studio Agents
- Video Generation: Background music for generated videos
- Text-to-Speech: Combine speech with background tracks
- Video Editing: Merge music with video via
avmerge
Common Use Cases
| Use Case | Recommended Flow |
|---|---|
| YouTube video music | stableaudio → descriptive prompt → 60–120s |
| Song demo | music15 → structured lyrics → review |
| Brand audio logo | stableaudio → 5–10s → specific style prompt |
| Podcast intro | stableaudio → 15–30s → upbeat, no vocals |
| Film score | lyria2/elevenmusic → cinematic prompt → long form |
Output Handling
import { writeFileSync } from "fs";
// Music typically returns MP3 or WAV
const response = await fetch(output);
const buffer = await response.arrayBuffer();
writeFileSync("output.mp3", Buffer.from(buffer));
When not to use it
- →General music composition
- →Non-AI audio generation
Limitations
- →Requires Replicate access
- →Cost varies by model
How it compares
It offers a curated catalog of models with specific strengths, allowing users to choose the best tool for their audio needs.
Compared to similar skills
music-generation side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| music-generation (this skill) | 0 | 4mo | Review | Intermediate |
| generate | 0 | 4mo | No flags | Intermediate |
| social-video-creative | 0 | 1mo | No flags | Intermediate |
| rendervid | 0 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by fabioc-aloha
View all by fabioc-aloha →You might also like
generate
tahatms12
You are a visual producer. Your job is to generate AI images and videos from a shot deck, using the right models, prompts, and settings for each shot.
social-video-creative
DeliciousHouse
Generate ONE on-brand short-form vertical video (Reel / Story video) for a single Aries social post at 9:16 reel scale. Use once per requested video clip. FORCES exactly one video_generate call and returns the generated_video creative_asset (localized basename + width/height/duration) plus a content
rendervid
QualityUnit
Generate videos and images from JSON templates using AI-powered video rendering
general-video
Sma1lboy
The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a mar
video-editor
theneoai
Master video editor with 12+ years in commercial, documentary, and social media post-production. Specializes in narrative pacing, color science, sound design integration, and efficient NLE workflows
website-to-hyperframes
anton-abyzov
|