music

Generate music from text prompts via the ElevenLabs Music API.

412|55|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/elevenlabs/skills --skill music
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: music
Source: https://github.com/elevenlabs/skills/tree/main/music
Command: npx skills add https://github.com/elevenlabs/skills --skill music

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The Music Skill enables automated music generation from natural language prompts, allowing developers to create custom audio content without manual composition.

Core Features & Use Cases

  • Prompt-based generation: Create instrumental tracks, songs with lyrics, jingles, or background music from textual prompts.
  • Composition plans: Define structured plans for granular control over style, sections, and duration before generating audio.
  • Cross-platform SDKs: Use Python, JavaScript/TypeScript, or REST (curl) to integrate music generation into apps, tools, or workflows.

Quick Start

Generate a 30-second track by prompting for example: "A chilled lo-fi beat with jazzy piano chords" using your preferred SDK or REST call.

Frequently Asked Questions about music

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

FAQPage Schema
How do I generate music from text prompts?

Generate music from text prompts by sending natural language descriptions like "A chilled lo-fi beat with jazzy piano chords" to the ElevenLabs API. The service processes the prompt and returns audio streaming outputs with metadata for your application.

Can I create songs with lyrics and jingles using prompt-based music generation?

Prompt-based music generation supports creating instrumental tracks, songs with lyrics, jingles, and background music. You define the desired audio type within your text prompt to direct the API output.

Do I need an ElevenLabs API key to generate audio?

You need internet access and a valid ELEVENLABS_API_KEY to generate audio. These prerequisites allow your Python, JavaScript, or REST workflow to authenticate with and access the ElevenLabs Music API.

How do composition plans work for granular control over generated music?

Composition plans define structured parameters for granular control over style, sections, and duration before generating audio. You create a plan to specify musical sections, then submit it to the API for precise track generation.

Does the music generation API support Python and JavaScript SDKs?

The music generation API supports Python, JavaScript/TypeScript, and REST workflows. These SDKs allow you to integrate prompt-based generation, composition plans, and audio streaming into your applications.