[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Eleven Sound Effects v3](https://spiral.ai/integrations/opencode/eleven-sound-effects-v3)

# How to Use Eleven Sound Effects v3 in opencode

Eleven Sound Effects v3 creates scene audio, Foley, and short musical or vocal effects from text. Compared with Eleven Sound Effects v2, it follows multiple instructions more closely and produces more natural audio.

|  |  |
| --- | --- |
| Model | Eleven Sound Effects v3 |
| Available through | ElevenLabs |
| Category | Audio |
| Price | $0.156 per minute. Billed on `duration_seconds`, default 30. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Eleven Sound Effects v3 in opencode

- Read the game's interaction code and use Eleven Sound Effects v3 to create separate 1-second effects for collecting a coin, opening a chest, and equipping a sword. Save them with names that match the existing audio asset conventions.
- Inspect the app's notification components and use Eleven Sound Effects v3 to create three separate 0.5-second confirmation chimes. Ask for a soft glass tone with a quick decay, and keep each result available for review.
- Read the level description and use Eleven Sound Effects v3 to generate a 20-second looping ambience: wind moving through an abandoned station, with a distant electrical hum. Put it beside the project's existing environment audio.
- Use the cutscene script to draft an ordered sound sequence with Eleven Sound Effects v3: boots crossing gravel, then a metal latch turning, then a heavy door opening. Generate a 10-second clip and save the prompt with the asset.
- Inspect the trailer timeline and use Eleven Sound Effects v3 to create separate 3-second cues for a metallic impact, a low drone, and a fast whoosh. Keep them separate so I can position each cue against a cut.

## How to set up Eleven Sound Effects v3 in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

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

Then paste one of the prompts above: opencode finds Eleven Sound Effects v3 on Spiral, shows the price and runs it.

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

## Eleven Sound Effects v3 tools and prices

- [Eleven Sound Effects v3](https://spiral.ai/tools/elevenlabs/eleven_text_to_sound_v3) (ElevenLabs): $0.156 per minute. Billed on `duration_seconds`, default 30.

## 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 Eleven Sound Effects v3 in opencode?

Create sound assets that match the interactions and scenes in your project. A coding agent can read the relevant files, draft concrete sound descriptions, and organize generated clips for review.

### Game interaction sounds

Create short effects for opening chests, collecting objects, drawing weapons, or activating machinery. Request separate sounds when the game needs to trigger each action independently.

### Foley for short films

Generate footsteps, clothing movement, door creaks, and object handling from written scene descriptions. Describe the surface and action, such as boots scraping across wet concrete.

### Background ambience

Build repeating rain, wind, room tone, or mechanical hum for a scene. Use a clip of up to 30 seconds with smooth looping enabled.

### Trailer impacts and transitions

Draft metallic hits, low drones, and rising whooshes for trailer edits. Generate each cue separately so an editor can place it against a cut.

### Audio drama scenes

Create short sequences such as approaching footsteps, a latch turning, and a door creaking open. Write events in order to guide the scene's progression.

### Musical scene accents

Add a brief brass phrase, choir swell, or synth texture to an environmental sound. Keep the request focused on a short cue within the 30-second limit.

### App feedback sounds

Explore brief notification chimes, confirmation tones, and error effects. Request one isolated sound at a time so each result can be reviewed for its intended interaction.

## Overview

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

## Eleven Sound Effects v3 in other agents

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

## More opencode guides

- [Eleven Music with metadata](https://spiral.ai/integrations/opencode/eleven-music-with-metadata)
- [Eleven Turbo v2](https://spiral.ai/integrations/opencode/eleven-turbo-v2)
- [Eleven Music v2.5](https://spiral.ai/integrations/opencode/eleven-music-v2-5)
- [Eleven v3](https://spiral.ai/integrations/opencode/eleven-v3)
- [Eleven Music v2](https://spiral.ai/integrations/opencode/eleven-music-v2)
- [Eleven v3 Conversational](https://spiral.ai/integrations/opencode/eleven-v3-conversational)

## Questions about Eleven Sound Effects v3 in opencode

**Can opencode use Eleven Sound Effects v3?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Eleven Sound Effects v3 like any built-in tool.

**How much does Eleven Sound Effects v3 cost in opencode?**

$0.156 per minute. Billed on `duration_seconds`, default 30. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an ElevenLabs account to use Eleven Sound Effects v3 in opencode?**

No. Spiral runs Eleven Sound Effects v3 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 Sound Effects v3 in opencode?**

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

**Does opencode wait while Eleven Sound Effects v3 runs?**

Eleven Sound Effects v3 runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

**What is Eleven Sound Effects v3 good at?**

Use it for scene audio that combines several events, such as footsteps followed by a door opening. Compared with Eleven Sound Effects v2, it follows multiple instructions more closely and handles musical and vocal sounds better.

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

Each generation can last from 0.5 to 30 seconds. Choose a duration that leaves room for the sound's decay, especially for bells, impacts, and reverberant spaces.

**Can Eleven Sound Effects v3 create seamless loops?**

Yes. The current model documentation confirms smooth looping support, which makes it useful for repeating ambience and background textures.

**How should I describe a sequence of sounds?**

List events in playback order and use words such as 'then' to connect them. For a single effect, keep the description short and concrete.

**Can I request an exact number of hits or repetitions?**

You can request a count, but the model may not follow it. When the count matters, generate one isolated hit and repeat it in an editor.

