Spiral gives your agent every tool with one account. Browse the tools →

opencode · AudioReleased 2025-06-03

How to Use Elevenlabs Tts Eleven V3 in opencode

Eleven v3 turns scripts into expressive narration for stories, games, and videos. Audio tags steer emotion, whispers, and laughter; each request supports up to 5,000 characters.

Prompts to try with Elevenlabs Tts Eleven V3 in opencode

Copy an example into opencode, or ask in your own words.

Use Eleven v3 to narrate a 120-word introduction based on this project's README. Explain what the project does in plain English, use a steady delivery, and save the script and generated audio in the project.

Elevenlabs Tts Eleven V3opencode
Try asking
  • Read the onboarding documentation in this project and use Eleven v3 to produce a spoken walkthrough of the first task. Keep the script under 3,000 characters, separate steps with paragraph breaks, and omit code syntax from the narration.

  • Use Eleven v3 to render the opening monologue in this project's game script. Add [whispers] before the secret and [excited] before the discovery, preserve the spoken words, and save a separate copy of the tagged script.

  • Find a narration passage in this project and use Eleven v3 to generate two takes with stability set to 0.5 and 1.0. Keep the text and voice identical, save both recordings, and label them by setting.

  • Use Eleven v3 to narrate the English and Spanish welcome text in this project's localization files as separate recordings. Keep each script under 2,000 characters and save the audio with filenames that identify the language.

How to set up Elevenlabs Tts Eleven 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Elevenlabs Tts Eleven V3

    One request; the result comes back by polling or a webhook.

    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/tts/eleven-v3",
        "input": {
          "text": "Hello! This is a test of the text to speech system, powered by ElevenLabs. How does it sound?"
        }
      }'

Then paste one of the prompts above: opencode finds Elevenlabs Tts Eleven V3 on Spiral, shows the price and runs it.

Elevenlabs Tts Eleven V3 providers and prices

Spiral runs Elevenlabs Tts Eleven V3 through fal. Open a card for today's price, with every fee included.

falAudio
Elevenlabs Tts Eleven V3
fal-ai/elevenlabs/tts/eleven-v3

Settings you can ask for

Elevenlabs Tts Eleven V3 works from your text. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Stability0 to 10.5

Voice stability (0-1)

Timestampson or offoff

Whether to return timestamps for each word in the generated speech

Apply text normalizationauto, on, or offauto

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

Every API field of Elevenlabs Tts Eleven V3 is on its tool page: open its card above.

What can you do with Elevenlabs Tts Eleven V3 in opencode?

Turn project scripts and documentation into narrated demos, lessons, or character performances with Eleven v3. A coding agent can prepare passages below 5,000 characters, add delivery cues, and save the resulting audio alongside the project.

Video essay narration

Turn a written video essay into spoken narration. Mark the moments that need curiosity or excitement, and split long scripts into requests below 5,000 characters.

Game character monologues

Create a character's confession, warning, or victory speech. Place emotional cues at the turning points and compare takes before adding the audio to a scene.

Audiobook scene drafts

Produce narrated scene drafts with changes in mood. Generate each passage separately so you can review pacing and performance before assembling a chapter.

Narrated product walkthroughs

Write a spoken explanation of a product workflow, then generate its narration. Keep directions tied to the script's actual steps and review the audio against the demonstration.

Multilingual story editions

Prepare separate English, Spanish, French, or German scripts and narrate each edition. Review the performances independently instead of assuming identical pacing across languages.

Podcast introductions

Generate an introduction from an episode summary. Try a restrained reading and a more expressive reading of the same words before selecting a take.

Spoken lesson recaps

Convert a short lesson summary into narration for review. Use paragraph breaks to separate ideas and reserve emphasis for the main takeaway.

Voice performance comparisons

Render the same passage with different emotional cues or stability settings. Compare expressiveness, steadiness, and pacing before committing to a longer script.

Questions about Elevenlabs Tts Eleven V3 in opencode

Can opencode use Elevenlabs Tts Eleven V3?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Elevenlabs Tts Eleven V3 like any built-in tool.

How much does Elevenlabs Tts Eleven V3 cost in opencode?

Each item in `text` adds $0.13. 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 a fal account to use Elevenlabs Tts Eleven V3 in opencode?

No. Spiral runs Elevenlabs Tts Eleven V3 on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Elevenlabs Tts Eleven V3 in opencode?

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

Does opencode wait while Elevenlabs Tts Eleven V3 runs?

Elevenlabs Tts Eleven V3 runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

What is Eleven v3 best for?

Use Eleven v3 when the performance matters: story narration, game characters, and video voiceovers that need changes in emotion. Its audio tags let you direct delivery within the script.

How much speech can Eleven v3 generate at once?

The limit is 5,000 input characters per request, approximately five minutes of audio according to ElevenLabs. Treat that duration as an estimate and split longer scripts at paragraph or scene boundaries.

Which languages does Eleven v3 support?

Eleven v3 supports more than 70 languages, including English, Spanish, French, German, Japanese, and Arabic.

How do I make Eleven v3 whisper, laugh, or change emotion?

Put short directions in square brackets where the delivery should change. Try [whispers] before a quiet line, [laughs] for a reaction, or [excited] before an emotional turn.

What does stability change in Eleven v3?

Lower stability gives the voice more emotional variation, with a greater risk of erratic delivery. Higher stability favors a steadier tone; compare the same passage before choosing a setting.

Get started

Start using Elevenlabs Tts Eleven V3 in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options