← 返回 Skills 市场
clawdbotborges

ElevenLabs Music

作者 clawdbotborges · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
3249
总下载
1
收藏
19
当前安装
2
版本数
在 OpenClaw 中安装
/install elevenlabs-music
功能描述
Generate music from text prompts using ElevenLabs Eleven Music API. Use when creating songs, soundtracks, jingles, lullabies, or any audio music from descriptions. Supports vocals with AI-generated lyrics, instrumental tracks, and multiple genres/styles. Requires paid ElevenLabs plan.
使用说明 (SKILL.md)

ElevenLabs Music Generation

Generate complete songs from text prompts with AI-generated lyrics and vocals.

Quick Start

# Basic generation (30 seconds)
uv run {baseDir}/scripts/generate_music.py "upbeat jazz piano"

# Longer track (3 minutes)
uv run {baseDir}/scripts/generate_music.py "epic orchestral battle music" --length 180

# Instrumental only (no vocals)
uv run {baseDir}/scripts/generate_music.py "lo-fi hip hop beats" --length 120 --instrumental

# Custom output path
uv run {baseDir}/scripts/generate_music.py "romantic bossa nova" -o /tmp/bossa.mp3

Options

Flag Description
-l, --length Duration in seconds (3-600, default: 30)
-o, --output Output file path (default: /tmp/music.mp3)
-i, --instrumental Force instrumental, no vocals

Prompt Engineering Tips

Be Specific About Style

  • Include genre, mood, tempo, and instruments
  • Reference decades or eras: "90s Brazilian romantic pagode", "1960s sci-fi TV theme"
  • Describe energy: "builds from soft to explosive", "relaxed and intimate"

For Vocals

  • Specify language: "vocals in Portuguese", "singing in Japanese"
  • Describe vocal style: "soulful male vocals", "ethereal female choir"
  • Include lyrical themes: "about love and saudade", "celebrating friendship"

Avoid Copyright Issues

  • Don't mention artist/band names directly
  • Describe the style instead: "classic 90s romantic samba style" not "like Raça Negra"
  • If rejected, the API returns a suggested alternative prompt

Example Prompts

MPB (Brazilian Popular Music)

A soulful MPB track featuring gentle acoustic guitar, warm nylon strings, 
and dreamy Rhodes piano. Bossa nova-influenced rhythm with soft brushed 
drums. Vocals in Portuguese express themes of saudade and the beauty of life.

Epic Orchestral

Epic military march with powerful brass fanfares, thundering timpani drums, 
and a soaring choir. Triumphant and heroic, with deep bass tubas, bold 
trumpets, snare rolls, and an anthemic melody building to a glorious crescendo.

Lullaby

Gentle orchestral lullaby with sweeping strings, soft brass, and ethereal 
wordless soprano vocals. Peaceful yet majestic, evoking wonder and hope. 
Perfect for falling asleep while dreaming of adventures.

Comedy Rock

Brazilian comedy rock with absurd, hilarious Portuguese lyrics full of 
wordplay. Mix energetic rock guitars with unexpected rhythms - forró 
breakdowns, pagode moments. Theatrical, exaggerated vocals singing about 
ridiculous situations.

Requirements

  • ElevenLabs API Key: Set ELEVENLABS_API_KEY environment variable
  • Paid Plan: Music API requires Creator plan or higher
  • uv: For running the Python script with dependencies

Supported Features

  • Text-to-music generation up to 10 minutes
  • AI-generated lyrics and vocals in multiple languages (English, Spanish, Portuguese, German, Japanese, etc.)
  • Instrumental-only mode
  • Most musical styles and genres
安全使用建议
This skill appears to do what it says: it calls the ElevenLabs Music API and saves an MP3. Before installing, verify you trust the ElevenLabs service and are willing to provide ELEVENLABS_API_KEY. Be aware the script uses python-dotenv (load_dotenv) so a local .env file will be read — avoid placing unrelated secrets there or run the skill in an isolated environment. Ensure you have a paid ElevenLabs plan, the 'uv' runner, and the required Python dependencies installed in a controlled environment. If you need stronger isolation, run the script inside a container or ephemeral VM.
功能分析
Type: OpenClaw Skill Name: elevenlabs-music Version: 1.0.1 The skill bundle is benign. The `SKILL.md` provides clear instructions for using the music generation feature and does not contain any prompt injection attempts against the agent. The `scripts/generate_music.py` script correctly uses the ElevenLabs API to generate music based on user input, saves the output to a local file (defaulting to `/tmp/music.mp3`), and handles API key and plan requirements. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. All dependencies are legitimate and relevant to the stated purpose.
能力评估
Purpose & Capability
Name/description match the included script and instructions: the skill runs a Python script that calls ElevenLabs' music.compose API and writes an audio file. Requiring ELEVENLABS_API_KEY and the 'uv' runner is proportional to this purpose.
Instruction Scope
SKILL.md instructs running the included script with uv and provides prompt/options. The instructions do not direct the agent to read unrelated system files or send data to unexpected endpoints. Note: the script calls load_dotenv(), which will read a local .env file if present (common for picking up ELEVENLABS_API_KEY).
Install Mechanism
No install spec is provided (instruction-only with an included script). The script lists normal Python dependencies (elevenlabs, python-dotenv) in comments but does not auto-download arbitrary code from unknown URLs. This is low risk in the context of the declared functionality.
Credentials
Only ELEVENLABS_API_KEY is required and declared as the primary credential, which is appropriate. As noted, python-dotenv may load additional environment variables from a local .env file—so any secrets in that file would be read by the script.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide persistence or modify other skills. It writes output to a user-specified path (default /tmp) which is expected behavior for a generation tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install elevenlabs-music
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /elevenlabs-music 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Added prompt engineering tips and examples
v1.0.0
Initial release: Generate music from text prompts using ElevenLabs Eleven Music API
元数据
Slug elevenlabs-music
版本 1.0.1
许可证
累计安装 19
当前安装数 19
历史版本数 2
常见问题

ElevenLabs Music 是什么?

Generate music from text prompts using ElevenLabs Eleven Music API. Use when creating songs, soundtracks, jingles, lullabies, or any audio music from descriptions. Supports vocals with AI-generated lyrics, instrumental tracks, and multiple genres/styles. Requires paid ElevenLabs plan. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3249 次。

如何安装 ElevenLabs Music?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install elevenlabs-music」即可一键安装,无需额外配置。

ElevenLabs Music 是免费的吗?

是的,ElevenLabs Music 完全免费(开源免费),可自由下载、安装和使用。

ElevenLabs Music 支持哪些平台?

ElevenLabs Music 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ElevenLabs Music?

由 clawdbotborges(@clawdbotborges)开发并维护,当前版本 v1.0.1。

💬 留言讨论