How to Use ElevenLabs in VS Code
To use ElevenLabs in VS Code, connect Spiral to VS Code once, then ask for what you want in plain words. VS Code can then reach all 21 ElevenLabs tools on Spiral, priced per run from one balance.
Prompts to try with ElevenLabs in VS Code
Copy an example into VS Code, or ask in your own words.
Dub the video I attach into Spanish and German with ElevenLabs. Save the result in ./assets.
Translate and dub this 2-minute product demo into French with ElevenLabs; estimate the cost first.
Dub this webinar clip into Hindi with ElevenLabs, keeping the original speaker's voice.
Dub our onboarding video into Japanese with ElevenLabs and give me a download link.
Estimate the cost to dub our 10-minute tutorial into five languages with ElevenLabs.
How to set up ElevenLabs 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 ElevenLabs
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": "dubbing_v2", "input": { "source_url": "<source_url>", "target_language": "<target_language>" } }'
Then paste one of the prompts above: VS Code finds ElevenLabs on Spiral, shows the price and runs it.
ElevenLabs tools you can run in VS Code
3Ready to run from VS Code: today's price, with every fee included.
What can you do with ElevenLabs in VS Code?
VS Code can dub video into other languages with ElevenLabs right in your repository and save the results where you need them: as files in your project, in a script or in your build. One sign-in covers every tool, so your code stays free of provider SDKs and keys.
Localized video
One recording in many languages, in the original voice.
Course and webinar reach
Dub training content for every region.
Product demos abroad
Ship demos to new markets the same day.
Support videos
Help videos in your customers' languages.
Marketing campaigns
One ad, dubbed for each market.
Internal training
Training videos for global teams.
ElevenLabs success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| ElevenLabs Dubbing v2 | Not enough runs | ||
| ElevenLabs Voice Isolator | 100.0% | 3.3s | 24 |
| Eleven Flash v2.5 | Not enough runs | ||
More on ElevenLabs and VS Code
Overview
ElevenLabs in other agents
More VS Code guides
Questions about ElevenLabs in VS Code
Can VS Code use ElevenLabs?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run ElevenLabs like any built-in tool.
How much does ElevenLabs cost in VS Code?
Each tool has its own price, for example ElevenLabs Dubbing v2: $2.86 per minute; ElevenLabs Voice Isolator: $0.156 per minute; Eleven Flash v2.5: $0.052 per 1,000 characters of `text`. You pay per run from one Spiral balance, and failed runs are free.
Do I need an ElevenLabs account to use ElevenLabs in VS Code?
No. Spiral runs ElevenLabs 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 in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while ElevenLabs runs?
ElevenLabs runs in the background. VS Code starts the run, checks on it and gives you the audio when it's ready.
Which ElevenLabs tools can VS Code use?
VS Code can reach all 21 ElevenLabs tools on Spiral, covering audio. Popular ones include ElevenLabs Dubbing v2, ElevenLabs Voice Isolator, and Eleven Flash v2.5. Ask for one by name, or describe the task and VS Code picks a fitting tool.
Can VS Code compare ElevenLabs tools?
Yes. Ask VS Code to run the same request on two ElevenLabs tools and show both results with what each cost. Each run is priced and billed on its own.
What happens if a ElevenLabs run fails in VS Code?
It is not charged. Spiral holds the estimated price when the run starts and returns it to your balance if the run fails on Spiral's side or the provider's. VS Code gets the error and can retry or try another tool.
Is there a ElevenLabs subscription or plan?
No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up keeps VS Code from stopping when the balance runs low.
Start using ElevenLabs 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


