[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Eleven Music](https://spiral.ai/integrations/openclaw/eleven-music)

# How to Use Eleven Music in OpenClaw

Eleven Music turns written briefs into songs with vocals or instrumental scores for videos, podcasts, and games. Use composition plans for arrangements that need specific sections and lyric timing.

|  |  |
| --- | --- |
| Model | Eleven Music |
| Available through | fal |
| Category | Audio |
| Price | $0.78 per 60,000 seconds. Billed on `music_length_ms`, default 600,000. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Eleven Music in OpenClaw

- Every Monday, use Eleven Music to generate a 30-second instrumental draft for the week's gardening video: gentle acoustic folk, 85 beats per minute, guitar, piano, and brushed percussion. Include the musical brief with the result.
- For each new product demonstration brief, use Eleven Music to create a 60-second instrumental cue: restrained electronic pop, 100 beats per minute, soft synth chords, light drums, and no vocals.
- Each Friday, use Eleven Music to generate a 15-second instrumental podcast opening: relaxed jazz, 110 beats per minute, piano, upright bass, and brushed drums. Keep the same musical directions for each draft.
- For each new game scene summary, use Eleven Music to generate a 45-second instrumental cue. Choose the mood from the summary and specify the genre, instruments, tempo, and recording style in the brief.
- Once a month, use Eleven Music to create a 60-second original Japanese-language acoustic pop song about the season. Use gentle vocals, acoustic guitar, piano, and a moderate tempo.

## How to set up Eleven Music in OpenClaw

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send OpenClaw this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Eleven Music**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/elevenlabs/music",
    "input": {
      "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion."
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds Eleven Music on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## Eleven Music tools and prices

- [Elevenlabs Music](https://spiral.ai/tools/fal/fal-ai/elevenlabs/music) (fal): $0.78 per minute. Billed on `music_length_ms`, default 600,000, rounded up to the next minute.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt |  | — | The text prompt describing the music to generate |
| composition_plan |  | — | The composition plan for the music |
| music_length_ms | 3000 to 600000 | — | The length of the song to generate in milliseconds. Used only in conjunction with prompt. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. |
| force_instrumental |  | false | If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the prompt. Can only be used with prompt. |
| respect_sections_durations |  | true | Controls how strictly section durations in the composition_plan are enforced. It will only have an effect if it is used with composition_plan. When set to true, the model will precisely respect each section's duration_ms from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. |
| output_format | mp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000, pcm_22050, pcm_24000, pcm_44100, pcm_48000, ulaw_8000, alaw_8000, opus_48000_32, opus_48000_64, opus_48000_96, opus_48000_128, opus_48000_192 | mp3_44100_128 | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. |

## What can you do with Eleven Music in OpenClaw?

Produce fresh music drafts for recurring videos, podcasts, or campaigns with Eleven Music. A scheduled agent can apply each new brief's mood and running time to a consistent set of musical instructions.

### Podcast opening music

Create a short instrumental opening with a clear musical identity, such as brushed drums, upright bass, and a restrained piano melody.

### Product demonstration soundtracks

Generate a 60-second instrumental cue with a steady tempo and sparse instrumentation for a narrated product demonstration.

### Short ad music

Compose a 30-second track around an ad's mood, instruments, and intended audience, with a quieter opening and a stronger finish.

### Game scene cues

Describe a game's setting and emotional tone to create music for exploration, a tense encounter, or a victory scene.

### Songs in different languages

Develop original vocal songs in English, Spanish, German, or Japanese, with a stated genre and vocal direction.

### Film scene score drafts

Explore how piano, strings, or electronic instrumentation changes the mood of a scene before choosing a scoring direction.

### Music for social videos

Create a 15-second musical cue around a video's mood, with a specific tempo and a small set of instruments.

### Song arrangement sketches

Use a composition plan to explore an introduction, verse, chorus, and ending with deliberate section lengths.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## Eleven Music in other agents

- [Amp](https://spiral.ai/integrations/amp/eleven-music)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/eleven-music)
- [Claude](https://spiral.ai/integrations/claude-desktop/eleven-music)
- [Claude Code](https://spiral.ai/integrations/claude-code/eleven-music)
- [Cline](https://spiral.ai/integrations/cline/eleven-music)
- [Codex](https://spiral.ai/integrations/codex/eleven-music)
- [Cursor](https://spiral.ai/integrations/cursor/eleven-music)
- [Devin](https://spiral.ai/integrations/devin/eleven-music)
- [dots](https://spiral.ai/integrations/dots/eleven-music)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/eleven-music)
- [Gemini](https://spiral.ai/integrations/gemini/eleven-music)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/eleven-music)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/eleven-music)
- [goose](https://spiral.ai/integrations/goose/eleven-music)
- [Grok](https://spiral.ai/integrations/grok/eleven-music)
- [Grok Build](https://spiral.ai/integrations/grok-build/eleven-music)
- [Hermes](https://spiral.ai/integrations/hermes/eleven-music)
- [Instinct](https://spiral.ai/integrations/instinct/eleven-music)
- [Manus](https://spiral.ai/integrations/manus/eleven-music)
- [Muse](https://spiral.ai/integrations/muse/eleven-music)
- [Muse Code](https://spiral.ai/integrations/muse-code/eleven-music)
- [n8n](https://spiral.ai/integrations/n8n/eleven-music)
- [Notion](https://spiral.ai/integrations/notion/eleven-music)
- [opencode](https://spiral.ai/integrations/opencode/eleven-music)
- [Perplexity](https://spiral.ai/integrations/perplexity/eleven-music)
- [Raycast](https://spiral.ai/integrations/raycast/eleven-music)
- [VS Code](https://spiral.ai/integrations/vscode/eleven-music)
- [Windsurf](https://spiral.ai/integrations/windsurf/eleven-music)
- [Zapier](https://spiral.ai/integrations/zapier/eleven-music)

## More OpenClaw guides

- [Eleven Multilingual v2](https://spiral.ai/integrations/openclaw/eleven-multilingual-v2)
- [Eleven Music v2](https://spiral.ai/integrations/openclaw/eleven-music-v2)
- [Eleven Flash v2.5](https://spiral.ai/integrations/openclaw/eleven-flash-v2-5)
- [Eleven Music v2.5](https://spiral.ai/integrations/openclaw/eleven-music-v2-5)
- [Eleven Flash v2](https://spiral.ai/integrations/openclaw/eleven-flash-v2)
- [Eleven Music with metadata](https://spiral.ai/integrations/openclaw/eleven-music-with-metadata)

## Questions about Eleven Music in OpenClaw

**Can OpenClaw use Eleven Music?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Eleven Music like any built-in tool.

**How much does Eleven Music cost in OpenClaw?**

$0.78 per 60,000 seconds. Billed on `music_length_ms`, default 600,000. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

**Do I need a fal account to use Eleven Music in OpenClaw?**

No. Spiral runs Eleven Music on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Eleven Music in OpenClaw?**

About two minutes: add the server, then sign in, then reload and check.

**Does OpenClaw wait while Eleven Music runs?**

Eleven Music runs in the background. OpenClaw starts the run, checks on it and gives you the audio when it's ready.

**What is Eleven Music useful for?**

Use it for original songs, instrumental scores, and music shaped around a scene or mood. Practical starting points include video soundtracks, ad music, and game cues.

**How long can an Eleven Music track be?**

For generation from a text prompt, the documented range is 3 seconds to 10 minutes. Choose a length that matches the intended cue.

**Which languages can Eleven Music sing in?**

Documented examples include English, Spanish, German, and Japanese. State the vocal language explicitly in your brief.

**What should I include in a music prompt?**

Specify genre, mood, instruments, tempo, and production era. Add the scene or purpose so the musical choices serve the project.

**Can I request a specific tempo and key?**

Yes. ElevenLabs reports that BPM instructions are followed accurately, while the intended key is captured often; check the result before combining it with an existing recording.

