How to Use Eleven Flash v2.5 in VS Code
Eleven Flash v2.5 turns text into speech for conversational replies, interactive apps, and bulk audio production. Unlike Eleven Flash v2, it supports 32 languages rather than English alone.
Prompts to try with Eleven Flash v2.5 in VS Code
Copy an example into VS Code, or ask in your own words.
Use Eleven Flash v2.5 to narrate the onboarding strings in this project. Expand abbreviations for speech and save one audio clip per screen.
Find the quest dialogue in this project and generate previews with Eleven Flash v2.5. Keep each character's lines separate so I can review the wording.
Turn the project's getting-started guide into spoken instructions with Eleven Flash v2.5. Split at section boundaries and keep each request below 40,000 characters.
Use Eleven Flash v2.5 to make two readings of the app's welcome message, one with lower stability and one with higher stability. Keep the voice and wording identical.
Generate audio previews of the project's Hungarian, Norwegian, and Vietnamese onboarding strings with Eleven Flash v2.5. Use a voice native to each language and flag untranslated strings before generation.
How to set up Eleven Flash v2.5 in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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"}' - 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
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Eleven Flash v2.5
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": "elevenlabs", "model": "eleven_flash_v2_5", "input": { "text": "<text>", "voice_id": "<voice_id>" } }'
Then paste one of the prompts above: VS Code finds Eleven Flash v2.5 on Spiral, shows the price and runs it.
Eleven Flash v2.5 providers and prices
Spiral runs Eleven Flash v2.5 through ElevenLabs. Open a card for today's price, with every fee included.
Settings you can ask for
Eleven Flash v2.5 works from your text, next text, and previous text. Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | 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. | |
| 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 and 20 more | mp3_44100_128 | Output format of the generated audio. |
| Use pvc as ivc | on or off | Whether to use the IVC version of a professional voice. This may improve expressiveness and reduce latency. | |
| Apply text normalization | auto, on, or off | auto | This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. |
| Optimize streaming latency | a whole number | You can turn on latency optimizations at some cost of quality. | |
| Apply language text normalization | on or off | off | This parameter controls language text normalization. |
Every API field of Eleven Flash v2.5 is on its tool page: open its card above.
What can you do with Eleven Flash v2.5 in VS Code?
Give your project's interface text, help content, and game dialogue a spoken preview. A coding agent can prepare scripts from project files and generate batches with Eleven Flash v2.5.
Spoken support replies
Turn approved answers into short spoken responses with Eleven Flash v2.5. Expand reference numbers into the form callers should hear.
Game dialogue previews
Use Eleven Flash v2.5 to hear quest instructions and character lines during development before recording final performances.
Localized app instructions
Generate spoken onboarding instructions in supported languages with Eleven Flash v2.5, using a voice suited to each language.
Daily audio briefings
Convert a short daily summary into speech with Eleven Flash v2.5. Write dates and quantities in words before narration.
Help article audio
Create spoken editions of help articles with Eleven Flash v2.5, splitting longer text into requests below 40,000 characters.
Practice listening exercises
Turn short passages into listening exercises with Eleven Flash v2.5. Add a brief pause between a question and its answer.
More on Eleven Flash v2.5 and VS Code
Overview
Eleven Flash v2.5 in other agents
Questions about Eleven Flash v2.5 in VS Code
Can VS Code use Eleven Flash v2.5?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Eleven Flash v2.5 like any built-in tool.
How much does Eleven Flash v2.5 cost in VS Code?
$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 VS Code plan is separate.
Do I need an ElevenLabs account to use Eleven Flash v2.5 in VS Code?
No. Spiral runs Eleven Flash 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 Eleven Flash v2.5 in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Eleven Flash v2.5 runs?
Eleven Flash v2.5 runs in the background. VS Code starts the run, checks on it and gives you the audio when it's ready.
What is Eleven Flash v2.5 good at?
It suits spoken chatbot replies, interactive app speech, and bulk conversion of written text into audio. Those are useful starting points for support responses, game dialogue, and recurring spoken summaries.
Which languages does Eleven Flash v2.5 support?
It supports 32 languages, including English, Spanish, French, Japanese, Hungarian, Norwegian, and Vietnamese. Use a voice native to the intended language and accent for better pronunciation.
How long can one Eleven Flash v2.5 generation be?
The limit is 40,000 input characters per request. ElevenLabs estimates about 40 minutes of audio at that length; actual duration depends on the script and delivery.
How should I prepare numbers and dates for Eleven Flash v2.5?
Write them as you want listeners to hear them before generating speech. For example, expand an ambiguous date into a month name and spell a phone number digit by digit.
How can I make the delivery steadier or more expressive?
Raise stability for steadier delivery or lower it for more emotional variation. Test a short passage first: very low values can sound erratic, while very high values can sound monotonous.
Start using Eleven Flash v2.5 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 https://spiral.ai/SKILL.md


