Sign in
Explore
Skills · SkillImages & VideoData & AIVoice & audioReviewedMakes network callsNeeds secretsWrites files

music

Generates music with the ElevenLabs Music API: instrumental tracks, songs with lyrics, background music and jingles, from a prompt or a composition plan.

Kind
Skill
Works with
Any agent
Source
ElevenLabs Skills @ 503d4e9fda01
Path
music/SKILL.md
Jobs
Implementation
Topics
Voice & audio

Credit

Made by
elevenlabs
Original
github.com/elevenlabs/skills/blob/503d4e9fda0190ab9357142f44e…
License
MIT

Listed by Skill Manifest; not made by us.

InstallInstall it with npx.
npx skills add elevenlabs/skills
Install factsScanned 2 Nov 2026
Adds
  • .claude/skills/music/ (the skill folder)
  • 2 file(s) the skill refers to
Runs scripts
Yes
  • shell block in the text
Uses the network
Yes
  • Marked in the catalog record
Needs secrets
Yes
  • ELEVENLABS_API_KEY
Reads environment variables
  • ELEVENLABS_API_KEY
Source revision
503d4e9fda01
Licence
MIT
Last activity
28 Oct 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

  • Only the main file is read; other files in the folder are not scanned
# ElevenLabs Music Generation

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

> **Setup, before writing any code:** if `ELEVENLABS_API_KEY` isn't set for this project, run `npx -y @elevenlabs/cli@latest onboard init` from the app's folder first and follow what it prints: it signs the user in and stores a key for the project, so nobody copies one by hand. Otherwise see the [Installation Guide](references/installation.md). For JavaScript, use `@elevenlabs/*` packages only.

All examples below use `music_v2_5`, the most advanced generation model. Pass `music_v2` or
`music_v1` only when an older model is explicitly requested.

## Quick Start

### Python

```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,
    model_id="music_v2_5",
)

with open("output.mp3", "wb") as f:
    for chunk in audio:
        f.write(chunk)
```

### TypeScript

```typescript
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { createWriteStream } from "fs";
…