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

# How to Use Eleven Music in Perplexity

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 Perplexity

- Use Eleven Music to make a 30-second instrumental opening for a gardening podcast: relaxed acoustic folk, 90 beats per minute, fingerpicked guitar, upright bass, and brushed drums.
- Create a 60-second instrumental score with Eleven Music for a quiet scene of someone returning to their hometown. Use reflective piano, soft strings, a slow tempo, and a warm recording sound.
- Use Eleven Music to create a 45-second Spanish-language pop song about taking the first step toward a new goal. Use acoustic guitar, light percussion, warm vocals, and an optimistic mood.
- Generate a 15-second instrumental cue with Eleven Music for a cooking video: playful funk, 115 beats per minute, electric bass, rhythm guitar, and a small horn section.
- Use Eleven Music to make a 90-second instrumental game cue for a deserted space station. Use sparse synthesizers, a low pulsing bass, 70 beats per minute, and an uneasy mood.

## How to set up Eleven Music in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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 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: Perplexity finds Eleven Music on Spiral, shows the price and runs it.

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

## 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 Perplexity?

Turn a written idea into an original song or instrumental cue with Eleven Music. A chat app can help you choose a genre, mood, instruments, and tempo before generating the track.

### 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 Perplexity guides](https://spiral.ai/integrations/perplexity)

## 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)
- [OpenClaw](https://spiral.ai/integrations/openclaw/eleven-music)
- [opencode](https://spiral.ai/integrations/opencode/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 Perplexity guides

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

## Questions about Eleven Music in Perplexity

**Can Perplexity use Eleven Music?**

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

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

$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 Perplexity plan is separate.

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

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 Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

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

Eleven Music runs in the background. Perplexity 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.

