music

Installation
Summary

AI-generated music composition from text prompts with optional fine-grained control via composition plans.

  • Supports prompt-based generation for instrumental tracks, songs with lyrics, background music, and jingles with configurable length in milliseconds
  • Composition plans enable structured control over styles and sections; generate a plan, modify it, then compose for granular customization
  • Includes compose_detailed method for retrieving audio alongside composition plan and metadata in a single call
  • Content restrictions prevent referencing specific artists or copyrighted lyrics; API returns suggestions for rejected prompts
  • Requires ElevenLabs API key and internet access; available in Python, JavaScript, and via cURL
SKILL.md

ElevenLabs Music Generation

Generate music from text prompts - supports instrumental tracks, songs with lyrics, and fine-grained control via composition plans.

Setup: See Installation Guide. For JavaScript, use @elevenlabs/* packages only.

Quick Start

Python

from elevenlabs import ElevenLabs

client = ElevenLabs()

audio = client.music.compose(
    prompt="A chill lo-fi hip hop beat with jazzy piano chords",
    music_length_ms=30000
)
Related skills

More from elevenlabs/skills

Installs
2.5K
GitHub Stars
232
First Seen
Jan 29, 2026