[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [ElevenLabs Turbo v2.5](https://spiral.ai/integrations/opencode/elevenlabs-turbo-v2-5)

# How to Use ElevenLabs Turbo v2.5 in opencode

ElevenLabs Turbo v2.5 turns scripts into speech in 32 languages for conversational replies and narration. ElevenLabs describes Flash v2.5 as functionally equivalent, with lower average latency.

|  |  |
| --- | --- |
| Model | ElevenLabs Turbo v2.5 |
| Available through | ElevenLabs |
| Category | Audio |
| Price | $0.052 per 1,000 characters of text. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ElevenLabs Turbo v2.5 in opencode

- Use ElevenLabs Turbo v2.5 to narrate the getting-started section of this project's README. Rewrite it for spoken delivery, omit code blocks and URLs, and generate separate clips with scripts under 800 characters.
- Use ElevenLabs Turbo v2.5 to create narration for the onboarding screens in this repository. Write one short clip per screen, preserve the UI labels, and keep all production instructions outside the spoken text.
- Use ElevenLabs Turbo v2.5 to generate previews of the English dialogue in this project's game script. Create one clip per line, start with stability at 0.5 and style at zero, and keep character names out of the spoken audio.
- Use ElevenLabs Turbo v2.5 to narrate the Spanish tutorial text in this repository. Use a voice suited to Mexican Spanish, expand dates and abbreviations into spoken words, and split the script into sections under 800 characters.
- Use ElevenLabs Turbo v2.5 to turn this project's release notes into an audio walkthrough. Explain the three most useful changes in plain language, spell out version numbers as they should sound, and generate a separate clip for each change.

## How to set up ElevenLabs Turbo v2.5 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 ElevenLabs Turbo v2.5**: 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_turbo_v2_5",
    "input": {
      "text": "<text>",
      "voice_id": "<voice_id>"
    }
  }'
```

Then paste one of the prompts above: opencode finds ElevenLabs Turbo v2.5 on Spiral, shows the price and runs it.

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

## ElevenLabs Turbo v2.5 tools and prices

- [ElevenLabs Turbo v2.5 Text to Speech](https://spiral.ai/tools/elevenlabs/eleven_turbo_v2_5) (ElevenLabs): $0.052 per 1,000 characters of text.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — | If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. |
| next_text |  | — | The text that comes after the text of the current request. |
| audio_effects |  | — | Audio effects applied to the generated audio. |
| language_code |  | — | Language code (ISO 639-1) used to enforce a language for the model and text normalization. |
| 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. |
| previous_text |  | — | The text that came before the text of the current request. |

## What can you do with ElevenLabs Turbo v2.5 in opencode?

Add spoken walkthroughs, game dialogue previews, and training narration to a project with ElevenLabs Turbo v2.5. Use project text to prepare short scripts, then review pronunciation and delivery before adding the audio to the build.

### Spoken support replies

Turn a written support answer into a short spoken response. Expand dates, reference numbers, and abbreviations before generating the audio.

### Product walkthrough narration

Create a separate narration clip for each screen or action in a product demonstration, so a changed step needs only one replacement clip.

### Localized training clips

Prepare training scripts in supported languages, then generate each language separately with a voice suited to its accent.

### Daily audio briefings

Convert a written daily summary into a spoken briefing. Write dates and figures as they should be read and divide the briefing by topic.

### Game dialogue previews

Generate individual spoken lines from a game script to review wording and delivery before assembling a scene.

### Language practice recordings

Create recordings of short practice sentences in supported languages. Use a voice with the intended accent and review pronunciation before sharing.

### Article audio editions

Turn an edited article into spoken sections. Generate and review short passages individually when consistency or pronunciation needs attention.

## Overview

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

## ElevenLabs Turbo v2.5 in other agents

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

## More opencode guides

- [ElevenLabs TTS Turbo v2.5](https://spiral.ai/integrations/opencode/elevenlabs-tts-turbo-v2-5)
- [ElevenLabs Voice Changer](https://spiral.ai/integrations/opencode/elevenlabs-voice-changer)
- [ElevenLabs Sound Effects V2](https://spiral.ai/integrations/opencode/elevenlabs-sound-effects-v2)
- [ElevenLabs Voice Changer Multilingual v2](https://spiral.ai/integrations/opencode/elevenlabs-voice-changer-multilingual-v2)
- [ElevenLabs Sound Effects](https://spiral.ai/integrations/opencode/elevenlabs-sound-effects)
- [ElevenLabs Voice Isolator](https://spiral.ai/integrations/opencode/elevenlabs-voice-isolator)

## Questions about ElevenLabs Turbo v2.5 in opencode

**Can opencode use ElevenLabs Turbo v2.5?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run ElevenLabs Turbo v2.5 like any built-in tool.

**How much does ElevenLabs Turbo v2.5 cost in opencode?**

$0.052 per 1,000 characters of text. 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 ElevenLabs Turbo v2.5 in opencode?**

No. Spiral runs ElevenLabs Turbo v2.5 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 Turbo v2.5 in opencode?**

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

**Does opencode wait while ElevenLabs Turbo v2.5 runs?**

ElevenLabs Turbo v2.5 runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

**What is ElevenLabs Turbo v2.5 best suited for?**

Use it to turn written replies and scripts into spoken audio, especially for conversational applications. It also fits short narration tasks such as product walkthroughs and training clips.

**How much speech can ElevenLabs Turbo v2.5 generate at once?**

The limit is 40,000 characters per request, which ElevenLabs estimates as about 40 minutes of audio. For longer scripts, shorter sections make it easier to review pronunciation and replace a weak passage.

**Which languages does ElevenLabs Turbo v2.5 support?**

It supports 32 languages, including English, Spanish, French, German, Japanese, Chinese, Hindi, Hungarian, Norwegian, and Vietnamese. Choose a voice suited to the target language and regional accent.

**Which voice settings should I adjust first?**

Start around 50% stability and 75% similarity, with style exaggeration at zero. Lower stability for more emotional variation or raise it for steadier delivery, listening for a tone that becomes too flat.

**How do I avoid awkward pronunciation and spoken stage directions?**

Spell out numbers, dates, symbols, and acronyms the way they should sound. Keep delivery instructions outside the speech text because descriptive directions can be read aloud.

