技能 elevenlabs-music-generation
🎵

elevenlabs-music-generation

低风险 ⚙️ 外部命令🌐 网络访问📁 文件系统访问

通过 RunComfy CLI 使用 ElevenLabs 生成 AI 音乐

也可从以下获取: runcomfy-com,agentspace-so

无需手动音乐制作经验即可从文本描述创建录音室级品质的音乐和有声曲目。ElevenLabs Music 以 44.1kHz 立体声音质生成音频,并可通过结构化歌词和风格提示进行分段控制。

支持: Claude Codex Code(CC)
⚠️ 66
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“elevenlabs-music-generation”。 Generate a relaxing ambient track for a meditation app. Soft pads, natural water sounds, no vocals. 2 minutes.

预期结果:

录音室级品质的氛围音频文件已保存到输出目录。44.1kHz 立体声 MP3,时长 2 分钟,无缝循环友好结构。

正在使用“elevenlabs-music-generation”。 Create an upbeat corporate jingle, positive and energetic. Include vocals singing 'Your Brand Name'. 15 seconds.

预期结果:

带有欢快节奏和商业友好人声的专业广告曲音频文件,可直接用于营销用途。

正在使用“elevenlabs-music-generation”。 Generate game background music: epic fantasy battle theme, driving percussion, orchestral strings, no vocals. 60 seconds.

预期结果:

具有电影感的大型器乐曲目,充满活力的打击乐和恢弘的弦乐,适合动作场景。

安全审计

低风险
v1 • 5/28/2026

Static analysis flagged 93 potential issues, but evaluation reveals all external_commands patterns are markdown code formatting (backticks for inline code), weak_crypto detections are numeric strings (music durations/frequencies not crypto), and network URLs are legitimate RunComfy documentation links. The skill invokes the runcomfy CLI to call the ElevenLabs Music API - a standard music generation wrapper with no malicious behavior detected. All shell commands are pre-defined CLI invocations; no user input injection vectors exist.

1
已扫描文件
189
分析行数
7
发现项
1
审计总数
中风险问题 (2)
Markdown Backticks Misidentified as Shell Commands
Static analysis flagged 69 instances of 'Ruby/shell backtick execution'. Evaluation shows these are Markdown code formatting syntax used throughout documentation, not executable shell commands. The backticks surround CLI examples like `runcomfy run elevenlabs/...` for documentation display.
Numeric Values Misidentified as Weak Cryptographic Algorithms
Static analysis flagged 10 instances of 'weak cryptographic algorithm'. Evaluation reveals these are numeric strings representing music duration, frequency, and bar counts (e.g., '44.1 kHz', '5 seconds', '8 bars', '120 BPM'). No cryptographic algorithms are used in this skill.
低风险问题 (2)
Hardcoded URL References for Documentation
The skill contains hardcoded URLs to RunComfy documentation pages. These are necessary documentation links for a CLI wrapper skill. URLs target legitimate runcomfy.com domains.
Token Storage in User Home Directory
The skill documents storing API tokens in ~/.config/runcomfy/token.json. This is standard CLI token storage behavior, documented with appropriate file permissions (mode 0600).
审计者: claude

质量评分

38
架构
100
可维护性
87
内容
33
社区
76
安全
83
规范符合性

你能构建什么

内容创作者视频制作

为 YouTube 视频、播客或流媒体内容生成定制的主题曲或背景音乐。指定情绪、节奏和时长以精确匹配您的视频长度。

独立游戏开发者音频

无需雇佣作曲家即可创建无缝背景循环和游戏音频。生成符合您的游戏类型和氛围的循环友好器乐曲目。

营销团队品牌资产

无需音乐制作技能即可为广告、片头和宣传材料制作专业广告曲、叮音效和音频品牌资产。

试试这些提示

基本器乐请求
Generate a calm lo-fi hip-hop instrumental for a study playlist. Warm Rhodes piano, soft vinyl crackle, mellow boom-bap drums, 75 BPM. No vocals. 60 seconds.
带结构的完整人声歌曲
Generate an upbeat indie-pop anthem, bright electric guitars, driving drums, 120 BPM, female lead vocal. [Intro 8 bars] instrumental build. [Verse] Lyrics here. [Chorus] Full lyrics here. [Bridge] Soft breakdown. [Outro] Full band fade. 90 seconds.
简短品牌广告曲
Generate a 5-second cheerful brand stinger with bright marimba and single uplifting chord resolve. No vocals. Clean ending.
迭代草稿后定稿
Draft first: Generate a cinematic orchestral piece, epic dramatic mood, 80 BPM. [Intro] [Build] [Climax] [Resolution] 30 seconds. If direction is correct, generate full 3-minute version with extended [Climax] section.

最佳实践

  • 开头先描述音乐风格简介,包括流派、情绪、节奏(BPM)和主要乐器,然后才是歌词
  • 先生成短片段(30-45 秒)验证方向,再为完整长度付费渲染
  • 使用段落标记 [Intro]、[Verse]、[Chorus]、[Bridge]、[Outro] 和估计的小节数来表示结构

避免

  • 避免在单一提示中包含矛盾的风格指令,如将"激进的金属"与"柔和的摇篮曲"结合
  • 不要期望特定的人声身份或复现特定歌手——此端点不支持语音克隆
  • 不要使用受版权保护的歌词——请确认您对提交的任何歌词拥有版权

常见问题

生成的音乐可以有多长?
每次 API 调用生成 5 秒到 5 分钟的音频(music_length_ms: 5000-300000)。对于更长的作品,请分别生成各部分,然后在音频编辑软件中进行拼接。
我可以生成无人声的音乐吗?
可以。在 API 调用中设置 force_instrumental: true,并在提示描述中加入"无人声"以进行双重确认。
API 输出什么音频格式?
默认输出为标准 MP3 格式(44.1kHz 立体声)。也支持 WAV 格式——请参阅模型页面 API 文档了解完整格式列表和各格式定价。
我可以商业使用生成的音乐吗?
可以。ElevenLabs Music 输出对商业使用友好。但请确保您对提供的任何歌词拥有版权——此技能不会检查歌词的版权来源。
如何取消长时间运行的生成任务?
按 Ctrl-C 可在退出前取消远程请求。CLI 会轮询请求状态,并在完成后下载结果。
为什么此技能需要 external_commands 和文件系统访问权限?
此技能调用 runcomfy CLI 与 RunComfy Model API 进行通信。它需要文件系统访问权限,以便将您的 API 令牌存储在 ~/.config/runcomfy/ 中进行身份验证。

开发者详情

文件结构

📄 SKILL.md