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

VS Code · AudioReleased 2026-09-28

How to Use Eleven v4 Turbo in VS Code

Eleven v4 Turbo generates expressive speech for conversational assistants and interactive characters. Compared with Eleven v4, it prioritizes responsive delivery for real-time applications.

Prompts to try with Eleven v4 Turbo in VS Code

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

Read the project's approved Spanish onboarding strings. Generate a short Spanish welcome with Eleven v4 Turbo, keeping it under 80 words and using [warm] at the start.

Eleven v4 TurboVS Code
Try asking
  • Use the assistant response examples in this project to create three spoken previews with Eleven v4 Turbo: a confirmation, a clarification question, and a recovery message. Put a short delivery direction before each script.

  • Read this paragraph aloud with Eleven v4 Turbo in a calm, warm voice and give me the MP3. Save the result in ./assets.

  • Make a 30-second podcast intro voiceover with Eleven v4 Turbo.

  • Turn these release notes into a short audio briefing with Eleven v4 Turbo.

How to set up Eleven v4 Turbo in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Eleven v4 Turbo

    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": "elevenlabs/tts/eleven-v4-turbo",
        "input": {
          "text": "[excited] Hello! Welcome to Eleven v4."
        }
      }'

Then paste one of the prompts above: VS Code finds Eleven v4 Turbo on Spiral, shows the price and runs it.

Eleven v4 Turbo providers and prices

Spiral runs Eleven v4 Turbo through fal. Open a card for today's price, with every fee included.

falAudio
Eleven v4 Turbo · Text to Speech
elevenlabs/tts/eleven-v4-turbo

Settings you can ask for

Eleven v4 Turbo works from your text. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Stability0 to 10.5

Voice stability. Lower values allow more expressive delivery; higher values make delivery more consistent.

Similarity boost0 to 10.75

How closely the output follows the reference voice. Higher values increase similarity but may reduce naturalness.

Seed0 to 4294967295

Seed for best-effort reproducibility. Identical output is not guaranteed.

Output formatmp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000 and 11 moremp3_44100_128

Output format of the generated audio. Formatted as codec_sample_rate_bitrate.

Apply text normalizationauto, on, or offauto

Whether to normalize text such as numbers and dates before generation.

Timestampson or offoff

Whether to return character-level timing information with the generated audio.

Every API field of Eleven v4 Turbo · Text to Speech is on its tool page: open its card above.

What can you do with Eleven v4 Turbo in VS Code?

Add expressive spoken narration and character responses to the project you are building. Your coding agent can turn project text into scripts with delivery cues and generate audio for review.

Product walkthrough narration

Turn a walkthrough script into spoken instructions. Use short delivery cues to distinguish an explanation from a warning or a successful result.

Game character lines

Generate quest instructions, reactions, and character monologues. Place emotional changes directly in the script so the performance follows the scene.

Localized voiceovers

Produce spoken versions of approved scripts in supported languages such as Spanish, French, Japanese, and Portuguese.

Spoken assistant responses

Give confirmations, explanations, and follow-up questions different deliveries. Use concise scripts with a clear direction at each change in tone.

Story narration

Read a short story or scene aloud with changes in emotion and pacing. Keep directions close to the passages they affect.

Performance previews

Try different deliveries of the same script before choosing a take. Compare a curious, restrained, or excited reading without changing the spoken words.

Questions about Eleven v4 Turbo in VS Code

Can VS Code use Eleven v4 Turbo?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Eleven v4 Turbo like any built-in tool.

How much does Eleven v4 Turbo cost in VS Code?

Each item in `text` adds $0.052. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need a fal account to use Eleven v4 Turbo in VS Code?

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

How long does it take to set up Eleven v4 Turbo in VS Code?

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

Does VS Code wait while Eleven v4 Turbo runs?

Eleven v4 Turbo runs in the background. VS Code starts the run, checks on it and gives you the audio when it's ready.

What is Eleven v4 useful for?

Use Eleven v4 speech generation when delivery matters: narration, character lines, localized voiceovers, and spoken assistant responses. Write the words to be spoken, then add short bracketed directions where the performance should change.

Which languages does Eleven v4 support?

Eleven v4 and Eleven v4 Turbo support more than 90 languages, including English, Spanish, French, Japanese, and Portuguese. Provide the script in the language you want spoken.

How do I control emotion and delivery?

Place short directions such as [whispers], [curious], or [sighs] immediately before the words they affect. Introduce a new direction at the point where delivery should change, and avoid conflicting directions on the same phrase.

Why might an audio tag produce an unexpected sound?

The model can interpret an ambiguous tag as a sound effect instead of a vocal direction. Describe the intended delivery explicitly, such as [low, gravelly voice], and test the line before using it.

Get started

Start using Eleven v4 Turbo in VS Code

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

Paste this into VS Code:

Set up VS Code

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