← Back to Skills Marketplace
chenghaifeng08-creator

Elevenlabs Music

by chenghaifeng08-creator · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
195
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install elevenlabs-music-automaton
Description
Generate music from text prompts using ElevenLabs Eleven Music API. Use when creating songs, soundtracks, jingles, lullabies, or any audio music from descrip...
README (SKILL.md)

ElevenLabs Music Generation

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


💰 付费服务

AI 音乐定制:

服务 价格 交付
短视频 BGM ¥300/首 30 秒定制音乐
完整歌曲 ¥800/首 2-3 分钟 + 歌词
品牌 Jingle ¥1500/首 企业专属音乐
专辑定制 ¥5000/套 5 首系列音乐

联系: 微信/Telegram 私信,备注"音乐定制"


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
Usage Guidance
This skill appears to do what it says: call the ElevenLabs Music API and save an audio file. Before installing or running it, make sure you: 1) provide a legitimate ELEVENLABS_API_KEY and understand that the key will be sent to ElevenLabs when the script runs (the library makes network calls to ElevenLabs); 2) run the script in an isolated Python virtualenv and install the listed dependencies (elevenlabs, python-dotenv) yourself; 3) be aware load_dotenv() will import a local .env if present — avoid storing unrelated secrets in that file or run the script from a directory without sensitive .env files; 4) note there is no automated installer, no homepage, and the package metadata version (1.0.1 in _meta.json) mismatches the registry version (1.0.2) — if provenance matters, verify the source or author before using in production.
Capability Analysis
Type: OpenClaw Skill Name: elevenlabs-music-automaton Version: 1.0.2 The skill is a legitimate tool for generating music using the ElevenLabs API. The Python script `scripts/generate_music.py` correctly implements the ElevenLabs SDK, handles API keys via environment variables, and saves the output to a user-specified or default path. While `SKILL.md` contains a promotional section for paid music customization services (with contact info for WeChat/Telegram), it does not contain any malicious instructions, data exfiltration logic, or prompt injection attempts. The code logic is transparent and aligned with the stated purpose.
Capability Assessment
Purpose & Capability
Name/description, required ELEVENLABS_API_KEY, and the included Python script all align with a music-generation skill that calls the ElevenLabs Music API. The declared required binary 'uv' is used to run the provided script and is reasonable.
Instruction Scope
SKILL.md instructs only running the included script to generate music. The script calls the ElevenLabs client and writes output to a local path (/tmp by default). It also calls load_dotenv(), which will load a local .env file if present — this can cause additional environment variables from disk to be imported, although the script only uses ELEVENLABS_API_KEY. This is typical for developer convenience but worth knowing.
Install Mechanism
There is no install spec (instruction-only behavior) and the script lists its Python dependencies in comments. No remote downloads, weird URLs, or archive extraction are present. The lack of an automated installer means dependencies must be managed by the user (pip/virtualenv).
Credentials
Only ELEVENLABS_API_KEY is required/declared as the primary credential, which is proportional to calling ElevenLabs' Music API. Be aware load_dotenv() may read a .env file and import other secrets into the environment (the script does not use them).
Persistence & Privilege
The skill does not request permanent/always-on inclusion (always:false) and does not modify other skills or system-wide agent settings. It runs as an on-demand script and returns a file path.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install elevenlabs-music-automaton
  3. After installation, invoke the skill by name or use /elevenlabs-music-automaton
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Added a new section detailing paid AI music customization services (with pricing in RMB/Chinese and service description). - No changes to the API, usage examples, or technical requirements. - Minor format adjustments in documentation; core usage and instructions remain unchanged.
v1.0.0
Initial release
Metadata
Slug elevenlabs-music-automaton
Version 1.0.2
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is Elevenlabs Music?

Generate music from text prompts using ElevenLabs Eleven Music API. Use when creating songs, soundtracks, jingles, lullabies, or any audio music from descrip... It is an AI Agent Skill for Claude Code / OpenClaw, with 195 downloads so far.

How do I install Elevenlabs Music?

Run "/install elevenlabs-music-automaton" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Elevenlabs Music free?

Yes, Elevenlabs Music is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Elevenlabs Music support?

Elevenlabs Music is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Elevenlabs Music?

It is built and maintained by chenghaifeng08-creator (@chenghaifeng08-creator); the current version is v1.0.2.

💬 Comments