Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bozhoudev-music
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/music
What's inside
- Skill name
music- Description
- Generate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music composition. Supports prompt-based generation, composition plans for granular control, and detailed output with metadata. For workspace video BGM, search the generated-music registry and reuse a suitable documented loop before spending credits on a new generation.
- License
- MIT
- Instructions
- 422 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (4)
- SKILL.md
- api_reference.md · references/
- generated_music.md · references/
- installation.md · references/
SKILL.md (first lines)
# ElevenLabs Music Generation
Generate music from text prompts - supports instrumental tracks, songs with lyrics, and fine-grained control via composition plans.
> **Setup:** See [Installation Guide](references/installation.md). For JavaScript, use `@elevenlabs/*` packages only.
All examples below default to `music_v2`, the current generation model. Pass `model_id="music_v1"` only when explicitly requested to.
## Workspace BGM Workflow
For video background music in this workspace:
1. Read [Generated Music Registry](references/generated_music.md) before calling the API. Search by use case, mood, BPM, tags, and prompt. Audition and reuse a suitable recorded audio file when available. Reusing a prompt alone still triggers a paid generation; reuse its linked audio file to avoid spending credits.
2. Generate only when the registry has no suitable track. Keep new BGM requests at or below 30 seconds unless the user explicitly requests otherwise. Prefer 10–20 seconds for reusable loops.
3. For narration BGM, use `force_instrumental=true` and prompt for stable density, restrained melody, no intro or ending, no fade, no build or breakdown, and an ending that connects to the beginning. Specify BPM and a whole-bar duration when practical.
4. Preserve the exact API response as an immutable `*-raw.*` file. Never overwrite, trim, normalize, or re-encode it. Create loop masters, mix versions, and previews as separate derived files. Prefer a lossless 48 kHz WAV loop master.
5. Fix an otherwise suitable seam locally with a short circular crossfade instead of paying for another generation. Make a repeated preview to verify the seam before approving the loop.
6. After every successful generation, append an entry to [Generated Music Registry](references/generated_music.md) before handoff. Record the exact prompt verbatim, date, project/use case, model, request duration, output format, instrumental setting, raw and derived file paths, measured durations, SHA-256 hashes, tags, approval status, and processing notes. Use workspace-relative paths and never record API keys.
## Quick Start
### Python
```python
from elevenlabs import ElevenLabs
client = ElevenLabs()
audio = client.music.compose(
prompt="A chill lo-fi hip hop beat with jazzy piano chords",
music_length_ms=30000,
model_id="music_v2",
)
with open("output.mp3", "wb") as f:
for chunk in audio:
f.write(chunk)
```
### TypeScript
```typescript
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { createWriteStream } from "fs";
const client = new ElevenLabsClient();
const audio = await client.music.compose({
prompt: "A chill lo-fi hip hop beat with jazzy piano chords",
musicLengthMs: 30000,
modelId: "music_v2",
});
audio.pipe(createWriteStream("output.mp3"));
```
### cURL
```bash
curl -X POST "https://api.elevenlabs.io/v1/music" \
-H "xi-api-key: $ELEVENLABS_API_KEY" -H "Content-Type: application/json" \
-d '{"prompt": "A chill lo-fi beat", "music_length_ms": 30000, "model_id": "music_v2"}' \
--output output.mp3
```
## Methods
| Method | Description |
|--------|-------------|
| `music.compose` | Generate audio from a prompt or composition plan |
| `music.stream` | Stream audio chunks as they are generated (paid plans) |
| `music.composition_plan.create` | Generate a structured plan for fine-grained control |
| `music.compose_detailed` | Generate audio + composition plan + metadata; pass `store_for_inpainting=True` to enable inpainting |
| `music.compose_detailed_stream` | Stream audio plus composition plan, metadata, and optional word timestamps as Server-Sent Events |
| `music.video_to_music` | Generate background music from one or more uploaded video files |
| `music.upload` | Upload an audio file for later inpainting workflows, optionally extracting its composition plan or word-level timestamps |
See [API Reference](references/api_reference.md) for full parameter details.
`music.upload` is available to enterprise clients with access to the inpainting feature.
## Video to Music
Generate background music from uploaded video clips via
[`POST /v1/music/video-to-music`](https://elevenlabs.io/docs/api-reference/music/video-to-music)
(`client.music.video_to_music`). This is separate from prompt-based
[`music.compose`](https://elevenlabs.io/docs/api-reference/music/compose) (`POST /v1/music`).
The API combines videos in order, accepts an optional natural-language description, and lets you
steer style with up to 10 tags such as `upbeat` or `cinematic`. This endpoint still defaults to
`music_v1`; pass `model_id="music_v2"` to use the newer model.
### Python
```python
from elevenlabs import ElevenLabs
client = ElevenLabs()
audio = client.music.video_to_music(
videos=["trailer.mp4"],
description="Build suspense, then resolve with a warm cinematic finish.",
tags=["cinematic", "suspenseful", "uplifting"],
model_id="music_v2",
)
with open("video-score.mp3", "wb") as f:
for chunk in audio:
f.write(chunk)
```
### TypeScript
```typescript
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { createReadStream, createWriteStream } from "fs";
const client = new ElevenLabsClient();
const audio = await client.music.videoToMusic({
videos: [createReadStream("trailer.mp4")],From bozhouDev/video-skills-toolkit, MIT.
More from bozhouDev/video-skills-toolkit
- 0.744score
audio-to-subtitles
bozhouDev
Convert local audio/video files or public media URLs into subtitle files by uploading local files to Cloudflare R2 and calling Volcengine AI MediaKit ASR…
SkillBFreshness: B★ 153Claude Code +9 - 0.744score
douyin-cover
bozhouDev
生成抖音、视频号、小红书等短视频封面图、视频标题图和合集封面,也能诊断和改版已有封面。用户说做封面、生成封面、抖音封面、视频封面、标题图、合集封面、3:4、4:3、1:1、短视频首图、动态封面首帧、给这期视频做图、这封面为什么没人点、帮我改封面、封面点击率怎么提升、诊断封面时都应使用。小白学AI系列封面除外:遇到“小…
SkillBFreshness: B★ 153Claude Code +9 - 0.744score
media-to-transcript
bozhouDev
Convert audio/video URLs or local media into corrected Markdown transcripts through Volcengine recording-file ASR 2.0.
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
hook-writing
bozhouDev
为内容写钩子和开头,也可拆解爆款视频开头、逐字稿开头、文章、推文、小红书图文和短视频脚本里的钩子,并沉淀到钩子库。用于视频开头拆解、逐字稿开头分析、推文、文章、小红书图文、短视频脚本、标题和开头优化;当用户说“写个钩子”“开头不抓人”“第一句话怎么写”“标题不够抓人”“优化开头”“拆解这个视频开头”“拆解逐字稿开头”…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
hyperframes-scene-animator
bozhouDev
接管 talking-head-hyperframes 的 READY_FOR_EXECUTION 交接,由主 Agent 完成字幕分镜与具体导演,先交付全镜头最终静态页审核,批准后再用快速子 Agent 协助实现互不冲突的镜头与动效,最后完成 HyperFrames proof、四遍审查与…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
viral-video-benchmark
bozhouDev
判断、扫描、拆解并归档抖音视频、小红书图文或小红书视频。实时读取用户同平台粉丝数并划分主对标池/跨级灵感池,用已登录浏览器读取目标作品和作者主页公开指标,再用确定性代码判定普通、小爆、爆款、现象级并扫描作者近 20 条候选;只对用户选中的爆款和现象级先构建可追溯证据包,再调用子 Agent…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
minimax-voice-director
bozhouDev
用 MiniMax 云端为视频制作可审批的声音导演稿,再生成、挑选和验收人声,最后以定稿音频产生字幕。用于用户明确选择 MiniMax 配音、继续已有 MiniMax 视频配音项目,或明确请求 MiniMax Voice ID/克隆/设计。泛指本地 TTS 或 IndexTTS 不使用本…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
talking-head-hyperframes
bozhouDev
为 HyperFrames 口播或旁白项目创建、修复并验证固定舞台,锁定数字人 PIP 的区域、裁切、人物安全区和不透明背景,归档输入,生成 manifest 与 template handoff,并在就绪后按“字幕驱动的全镜头静态审核→动效”门禁路由到…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
video-script
bozhouDev
使用已经锁定的完整口播音频与带时间码字幕,把确认后的逐字稿转成管线无关的视频导演方案和 Beat Graph。适用于“根据最终配音做分镜”“按字幕设计整片画面”“规划 B-roll/证据/素材”“做 HyperFrames 或 Remotion…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
content-remix
bozhouDev
把已经完成八部分拆解的抖音视频、小红书图文或小红书视频,迁移成泊舟自己的小红书图文、抖音口播或小红书视频内部草稿。用户说“做二创”“按这个爆款做我的版本”“参考这个机制重新创作”“把这个拆解写成小红书/抖音”“不要照抄地借鉴”时使用;先提炼可迁移机制、删除不可照搬内容、映射泊舟真实经历/案例/判断,再按目标平台重新组…
SkillBFreshness: B★ 153Claude Code +9 - 0.738score
video-transcript
bozhouDev
Deprecated compatibility package.
SkillBFreshness: B★ 153Claude Code +9
Signals
- Stars
- 153
- Forks
- 76
- Open issues
- 0
- Last commit (this folder)
- Jul 27, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bozhouDev
- 0.744score
audio-to-subtitles
bozhouDev
Convert local audio/video files or public media URLs into subtitle files by uploading local files to Cloudflare R2 and calling Volcengine AI MediaKit ASR…
SkillBFreshness: B★ 153Claude Code +9 - 0.744score
douyin-cover
bozhouDev
生成抖音、视频号、小红书等短视频封面图、视频标题图和合集封面,也能诊断和改版已有封面。用户说做封面、生成封面、抖音封面、视频封面、标题图、合集封面、3:4、4:3、1:1、短视频首图、动态封面首帧、给这期视频做图、这封面为什么没人点、帮我改封面、封面点击率怎么提升、诊断封面时都应使用。小白学AI系列封面除外:遇到“小…
SkillBFreshness: B★ 153Claude Code +9 - 0.744score
media-to-transcript
bozhouDev
Convert audio/video URLs or local media into corrected Markdown transcripts through Volcengine recording-file ASR 2.0.
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
hook-writing
bozhouDev
为内容写钩子和开头,也可拆解爆款视频开头、逐字稿开头、文章、推文、小红书图文和短视频脚本里的钩子,并沉淀到钩子库。用于视频开头拆解、逐字稿开头分析、推文、文章、小红书图文、短视频脚本、标题和开头优化;当用户说“写个钩子”“开头不抓人”“第一句话怎么写”“标题不够抓人”“优化开头”“拆解这个视频开头”“拆解逐字稿开头”…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
hyperframes-scene-animator
bozhouDev
接管 talking-head-hyperframes 的 READY_FOR_EXECUTION 交接,由主 Agent 完成字幕分镜与具体导演,先交付全镜头最终静态页审核,批准后再用快速子 Agent 协助实现互不冲突的镜头与动效,最后完成 HyperFrames proof、四遍审查与…
SkillBFreshness: B★ 153Claude Code +9 - 0.740score
viral-video-benchmark
bozhouDev
判断、扫描、拆解并归档抖音视频、小红书图文或小红书视频。实时读取用户同平台粉丝数并划分主对标池/跨级灵感池,用已登录浏览器读取目标作品和作者主页公开指标,再用确定性代码判定普通、小爆、爆款、现象级并扫描作者近 20 条候选;只对用户选中的爆款和现象级先构建可追溯证据包,再调用子 Agent…
SkillBFreshness: B★ 153Claude Code +9
Cite this page
music skill. Agent Mart. https://agentmart.dev/skills/bozhoudev-music (last updated 2026-10-24)