elevenlabs-music

Generate AI music with vocals via the ElevenLabs Music API.

21|6|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/rawgroundbeef/claw.fm --skill elevenlabs-music
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elevenlabs-music
Source: https://github.com/rawgroundbeef/claw.fm/tree/main/.agents/skills/elevenlabs-music
Command: npx skills add https://github.com/rawgroundbeef/claw.fm --skill elevenlabs-music

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables rapid generation of AI-generated music with vocals via the ElevenLabs Music API, eliminating the need for manual sound design when exploring ideas or producing quick-midelity demos.

Core Features & Use Cases

  • Prompt-based generation with vocals: generate songs from descriptive prompts including genre, mood, tempo, and lyrics.
  • Composition plans: create and apply per-section structures (Intro, Verse, Chorus, etc.) with adjustable durations and style tags.
  • Output flexibility: produce common formats (mp3, pcm, opus) for up to 10 minutes; option for streaming playback during generation.
  • API-key based workflow: requires an ElevenLabs paid plan and an API key; manage credentials via environment variables (e.g., ELEVENLABS_API_KEY) and the xi-api-key header.

Quick Start

Use the elevenlabs-music skill to generate a sample track by providing a prompt and duration, authenticated with your ElevenLabs API key.

Quick Start

Set the ELEVENLABS_API_KEY environment variable and run a basic request:

curl -X POST 'https://api.elevenlabs.io/v1/music?output_format=mp3_44100_128' -H 'xi-api-key: $ELEVENLABS_API_KEY' -H 'Content-Type: application/json' -d '{"prompt": "A bright indie rock track with jangly guitars and male vocals. Verse 1: Walking through the morning light. Chorus: Here comes the sun again.", "duration_ms": 180000}' --output track.mp3

Frequently Asked Questions about elevenlabs-music

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI music with vocals from a text prompt?

To generate AI music with vocals, you provide a descriptive prompt containing genre, mood, tempo, and lyrics to the ElevenLabs Music API. The service processes these inputs to automatically create and return a vocal track in formats like MP3, PCM, or Opus.

Do I need a paid ElevenLabs plan to generate AI songs?

Yes, you need a paid ElevenLabs plan and an API key to authenticate requests. You must configure your credentials using an environment variable like ELEVENLABS_API_KEY and pass the xi-api-key header to access the music generation features.

Can I control the structure of an AI generated track with intro, verse, and chorus sections?

Yes, you can create structured composition plans for your AI music with per-section control. This allows you to define specific structures like Intro, Verse, and Chorus with adjustable durations and style tags for a customized song output.

What audio formats and durations are supported when generating music via the ElevenLabs API?

The ElevenLabs Music API supports generating audio tracks up to 10 minutes long. You can output your generated songs in common formats including MP3, PCM, and Opus, with an option for streaming playback during the generation process.

What is the best way to automate AI music generation without manual sound design?

The best way to automate AI music generation is by using prompt-based generation or structured composition plans via the ElevenLabs API. This approach eliminates manual sound design by algorithmically producing vocal tracks from descriptive text prompts.

Why does my ElevenLabs music generation request fail to authenticate?

Your music generation request fails to authenticate because it requires a valid ElevenLabs API key. Ensure your ELEVENLABS_API_KEY environment variable is set correctly and that the xi-api-key header is included in your POST request to the API endpoint.