技能 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.

預期結果:

Studio-quality ambient audio file saved to output directory. 44.1kHz stereo MP3, 2 minutes duration, seamless loop-friendly structure.

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

預期結果:

Professional jingle audio file with upbeat tempo and commercial-friendly vocals, ready for marketing use.

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

預期結果:

Epic instrumental track with cinematic feel, high-energy percussion and sweeping strings for action sequences.

安全審計

低風險
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,並在提示描述中加入「no vocals」以進行雙重確認。
API 輸出什麼音訊格式?
預設輸出為 MP3 標準(44.1kHz 立體聲)。也支援 WAV 格式——請參閱模型頁面 API 文件以了解完整格式列表和各格式定價。
我可以將生成的音樂用於商業用途嗎?
可以。ElevenLabs Music 輸出適用於商業用途。但是,請確保您對提供的歌詞擁有權利——此技能不會檢查歌詞的來源。
如何取消長時間執行的生成?
按 Ctrl-C 在結束前取消遠端請求。CLI 會輪詢請求狀態並在完成時下載結果。
為什麼此技能需要 external_commands 和檔案系統存取權限?
此技能會呼叫 runcomfy CLI,該 CLI 會與 RunComfy Model API 通訊。它需要檔案系統存取權限,以將您的 API 權杖儲存在 ~/.config/runcomfy/ 中進行認證。

開發者詳情

檔案結構

📄 SKILL.md