[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Eleven Music v2](https://spiral.ai/integrations/cursor/eleven-music-v2)

# How to Use Eleven Music v2 in Cursor

Eleven Music v2 makes instrumental scores and vocal tracks, including fast rap and songs that change genre midway. Compared with Music v1, it improves composition, multilingual output, and vocal delivery.

|  |  |
| --- | --- |
| Model | Eleven Music v2 |
| Available through | ElevenLabs |
| Category | Audio |
| Price | Up to $1.95 per run at the default inputs. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Eleven Music v2 in Cursor

- Read the product demo script in this project, then use Eleven Music v2 to generate a 60-second instrumental electronic accompaniment. Request 100 BPM, muted synths, soft percussion, and no vocals; keep the arrangement sparse under narration.
- Read the game’s forest scene notes and use Eleven Music v2 to make a 90-second orchestral cue. Plan 30 seconds of quiet exploration, 30 seconds of rising tension, and 30 seconds of resolution, with woodwinds and strings but no vocals.
- Use Eleven Music v2 to create a 15-second instrumental opening for the podcast described in this project’s README. Request warm electric piano, brushed drums, a relaxed jazz mood, and a gentle ending.
- Use the advertising brief in this project to create a 30-second composition with Eleven Music v2. Give it a five-second hook, a restrained 20-second middle for narration, and a five-second instrumental finish.
- Read the music brief in this project and use Eleven Music v2 to generate a two-minute genre transition study. Start with a string quartet, move into synthwave halfway through, and keep it instrumental.

## How to set up Eleven Music v2 in Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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 v2**: 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": "elevenlabs",
    "model": "music_v2",
    "input": {
      "seed": 0
    }
  }'
```

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

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

## Eleven Music v2 tools and prices

- [Eleven Music v2](https://spiral.ai/tools/elevenlabs/music_v2) (ElevenLabs): Up to $1.95 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed | 0 to 2147483647 | — | Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt. |
| prompt |  | — | A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. |
| finetune_id |  | — | The ID of the finetune to use for the generation |
| lyrics_text |  | — | The lyrics text to use for the generation. |
| music_prompt |  | — | A music prompt. Deprecated. Use `composition_plan` instead. |
| output_format | auto, mp3_48000_128, mp3_48000_192, mp3_48000_240, mp3_48000_320, mp3_22050_32, mp3_24000_48, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000, pcm_22050, pcm_24000, pcm_32000, pcm_44100, pcm_48000, ulaw_8000, alaw_8000, opus_48000_32, opus_48000_64, opus_48000_96, opus_48000_128, opus_48000_192 | auto | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. Use "auto" (the default) to let the API pick the best format for the selected model: mp3_44100_128 for v1 models and mp3_48000_192 for v2 models. |

## What can you do with Eleven Music v2 in Cursor?

Turn project briefs and scene descriptions into music assets for demos, games, and videos. Use the project’s timing requirements to plan the arrangement before generating the track.

### Podcast opening music

Create a 15-second instrumental opening with a clear motif and a gentle ending before the host starts speaking.

### Product demo accompaniment

Generate a restrained 60-second electronic track with sparse instrumentation to sit beneath narration.

### Short advertisement music

Build a 30-second cue with an opening hook, a quieter middle for the message, and a musical finish.

### Game scene scores

Turn a written scene description into a 90-second score that moves from low tension to a climax and resolution.

### Multilingual song concepts

Explore a song idea with Spanish, German, or Japanese vocals while keeping the musical directions in English.

### Rap demos

Try a 60-second rap arrangement with dense verses, a contrasting hook, and an explicitly described vocal delivery.

### Genre transition experiments

Plan a two-minute track that moves from orchestral music into electronic dance music within one composition.

### Meditation accompaniment

Create five minutes of instrumental ambience with slow harmonic movement and no percussion or vocals.

## Overview

- [ElevenLabs](https://spiral.ai/providers/elevenlabs)
- [All Cursor guides](https://spiral.ai/integrations/cursor)

## Eleven Music v2 in other agents

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

## More Cursor guides

- [Eleven Music](https://spiral.ai/integrations/cursor/eleven-music)
- [Eleven Music v2.5](https://spiral.ai/integrations/cursor/eleven-music-v2-5)
- [Eleven Multilingual v2](https://spiral.ai/integrations/cursor/eleven-multilingual-v2)
- [Eleven Music with metadata](https://spiral.ai/integrations/cursor/eleven-music-with-metadata)
- [Eleven Flash v2.5](https://spiral.ai/integrations/cursor/eleven-flash-v2-5)
- [Eleven Sound Effects v3](https://spiral.ai/integrations/cursor/eleven-sound-effects-v3)

## Questions about Eleven Music v2 in Cursor

**Can Cursor use Eleven Music v2?**

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

**How much does Eleven Music v2 cost in Cursor?**

Up to $1.95 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.

**Do I need an ElevenLabs account to use Eleven Music v2 in Cursor?**

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

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

About two minutes: add the hosted server, then sign in.

**Does Cursor wait while Eleven Music v2 runs?**

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

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

Tracks can run from 3 seconds to 10 minutes. A composition plan can divide the track into up to 30 sections.

**Can Eleven Music v2 make both songs and instrumental music?**

Yes. It generates vocal songs, including fast rap and dense lyrical phrasing, as well as instrumental scores and ambient tracks.

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

Documented examples include English, Spanish, German, and Japanese. For composition plans, keep the musical style descriptions in English even when the lyrics use another language.

**What should I put in an Eleven Music v2 prompt?**

Specify the genre, mood, instruments, tempo, and production era. Add concrete exclusions, such as no vocals or no distorted guitar, when those choices matter.

**Can Eleven Music v2 follow a specific song structure?**

Yes. Use a composition plan when you need defined sections, lyrics placement, or a complex arrangement; it can also change genre within a continuous track.

