[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [ElevenLabs Sound Effects](https://spiral.ai/integrations/claude-code/elevenlabs-sound-effects)

# How to Use ElevenLabs Sound Effects in Claude Code

ElevenLabs Sound Effects creates Foley, game sounds, cinematic impacts, and ambience from text descriptions. Use it for individual effects lasting 0.5 to 30 seconds or looping backgrounds that repeat without an audible boundary.

|  |  |
| --- | --- |
| Model | ElevenLabs Sound Effects |
| Available through | ElevenLabs |
| Category | Audio |
| Price | $0.156 per minute of sound (30 seconds by default). |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ElevenLabs Sound Effects in Claude Code

- Read the game's movement code and use ElevenLabs Sound Effects to create separate 2-second footstep clips for gravel, wood, and shallow water. Describe each surface clearly and save the clips with descriptive names.
- Inspect the app's notification components and use ElevenLabs Sound Effects to create a 1-second soft confirmation click and a separate 1-second muted error buzz. Keep both descriptions focused on a short attack and quick decay.
- Read the level description and use ElevenLabs Sound Effects to generate a 20-second looping background of steady ventilation in an empty industrial room. Ask for a low mechanical hum with gentle air movement.
- Use ElevenLabs Sound Effects to create a 4-second heavy steel door slam with a sharp impact and fading hallway echo. Save it beside the game's existing door assets for review.
- Review the cutscene script and use ElevenLabs Sound Effects to generate its footsteps, latch click, and door creak as separate clips of 2 to 5 seconds each. Prepare a timing list for arranging them in an audio editor.

## How to set up ElevenLabs Sound Effects in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 ElevenLabs Sound Effects**: 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": "sound-generation",
    "input": {
      "text": "A large, ancient wooden door slowly opening in an eerie, abandoned castle.."
    }
  }'
```

Then paste one of the prompts above: Claude Code finds ElevenLabs Sound Effects on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## ElevenLabs Sound Effects tools and prices

- [ElevenLabs Sound Effects](https://spiral.ai/tools/elevenlabs/sound-generation) (ElevenLabs): $0.156 per minute of sound (30 seconds by default).

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| loop |  | false | Whether to create a sound effect that loops smoothly. |
| output_format | alaw_8000, mp3_22050_32, mp3_24000_48, mp3_44100_128, mp3_44100_192, mp3_44100_32, mp3_44100_64, mp3_44100_96, opus_48000_128, opus_48000_192, opus_48000_32, opus_48000_64, opus_48000_96, pcm_16000, pcm_22050, pcm_24000, pcm_32000, pcm_44100, pcm_48000, pcm_8000, ulaw_8000, wav_16000, wav_22050, wav_24000, wav_32000, wav_44100, wav_48000, wav_8000 | mp3_44100_128 | Output format of the generated audio. |
| duration_seconds |  | — | The duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 30. If set to None we will guess the optimal duration using the prompt. Defaults to None. |
| prompt_influence |  | 0.3 | A higher prompt influence makes your generation follow the prompt more closely while also making generations less variable. Must be a value between 0 and 1. Defaults to 0.3. |

## What can you do with ElevenLabs Sound Effects in Claude Code?

Create sound assets for game actions and interface feedback directly from the project's requirements. A coding agent can turn those requirements into separate effect descriptions and help place the resulting audio in the project.

### Game interaction sounds

Create separate effects for footsteps, item pickups, doors, and collisions. Describe the surface or material for each action.

### Interface feedback

Generate short confirmation clicks, notification tones, and error buzzes for an app prototype.

### Environmental backgrounds

Make a 20 to 30-second looping rain, forest, or machinery background for repeated playback.

### Foley for video

Generate footsteps, fabric movement, or object handling as separate clips, then place them against the action in an editor.

### Trailer impacts

Create a cinematic metal hit or low impact with a described attack and reverb tail.

### Video transitions

Generate individual whooshes or mechanical swishes to accompany cuts and title changes.

### Short musical samples

Create a drum loop, bass phrase, or melodic sample for a larger audio arrangement.

### Scene sound layers

Generate an environmental background and separate foreground effects, then arrange their timing and balance in an audio editor.

## Overview

- [ElevenLabs](https://spiral.ai/providers/elevenlabs)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## ElevenLabs Sound Effects in other agents

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

## More Claude Code guides

- [ElevenLabs Scribe v2](https://spiral.ai/integrations/claude-code/elevenlabs-scribe-v2)
- [ElevenLabs Sound Effects V2](https://spiral.ai/integrations/claude-code/elevenlabs-sound-effects-v2)
- [ElevenLabs Scribe v1](https://spiral.ai/integrations/claude-code/elevenlabs-scribe-v1)
- [ElevenLabs TTS Turbo v2.5](https://spiral.ai/integrations/claude-code/elevenlabs-tts-turbo-v2-5)
- [ElevenLabs Music v2](https://spiral.ai/integrations/claude-code/elevenlabs-music-v2)
- [ElevenLabs Turbo v2.5](https://spiral.ai/integrations/claude-code/elevenlabs-turbo-v2-5)

## Questions about ElevenLabs Sound Effects in Claude Code

**Can Claude Code use ElevenLabs Sound Effects?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run ElevenLabs Sound Effects like any built-in tool.

**How much does ElevenLabs Sound Effects cost in Claude Code?**

$0.156 per minute of sound (30 seconds by default). You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an ElevenLabs account to use ElevenLabs Sound Effects in Claude Code?**

No. Spiral runs ElevenLabs Sound Effects on its own ElevenLabs account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ElevenLabs Sound Effects in Claude Code?**

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

**Does Claude Code wait while ElevenLabs Sound Effects runs?**

ElevenLabs Sound Effects runs in the background. Claude Code starts the run, checks on it and gives you the audio when it's ready.

**What is ElevenLabs Sound Effects useful for?**

Use it for game effects, Foley, cinematic impacts, interface sounds, and environmental ambience. Describe the sound itself, including its material, surroundings, and decay.

**How long can a sound effect be?**

Each generation can last 0.5 to 30 seconds. For a longer background, generate a looping effect and repeat it during editing or playback.

**Can ElevenLabs Sound Effects make continuous ambience?**

Yes. Looping effects are designed to repeat without a noticeable start or end point, which suits rain, wind, and other environmental backgrounds.

**How should I describe the sound I want?**

Keep the description brief but concrete: name the source, environment, intensity, and decay. For example, describe a heavy steel door slamming in a tiled hallway with a short echo.

**How do I get a sequence of sounds in the right order?**

For better control, generate each effect separately and arrange the clips in an audio editor. ElevenLabs recommends this approach over asking for a complex sequence in one generation.

