How to Use MiniMax Speech 2.6 HD in VS Code
MiniMax Speech 2.6 HD turns written scripts into speech for narration, lessons, and product voiceovers. Choose it for voice quality; MiniMax Speech 2.6 Turbo puts more emphasis on speed.
Prompts to try with MiniMax Speech 2.6 HD in VS Code
Copy an example into VS Code, or ask in your own words.
Read the onboarding copy in this project and draft a spoken walkthrough under 2,000 characters. Use MiniMax Speech 2.6 HD to generate one WAV clip per screen, keeping directions out of the spoken script.
Read the English and Spanish lesson scripts in this project. Use MiniMax Speech 2.6 HD to create separate recordings for each language, splitting every script into sections below 9,000 characters.
Use the quiz content in this project to make practice audio with MiniMax Speech 2.6 HD. Put a three-second pause between each question and its answer, and save one clip per question.
Read this paragraph aloud with MiniMax Speech 2.6 HD in a calm, warm voice and give me the MP3. Save the result in ./assets.
Make a 30-second podcast intro voiceover with MiniMax Speech 2.6 HD.
How to set up MiniMax Speech 2.6 HD 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 MiniMax Speech 2.6 HD
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/minimax/speech-2.6-hd", "input": { "prompt": "Hello world! Welcome MiniMax'\''s new text to speech model <#0.1#> Speech 2.6, now available on Fal!" } }'
Then paste one of the prompts above: VS Code finds MiniMax Speech 2.6 HD on Spiral, shows the price and runs it.
MiniMax Speech 2.6 HD providers and prices
Spiral runs MiniMax Speech 2.6 HD through fal. Open a card for today's price, with every fee included.
$0.13 per 1,000 characters of prompt. Rounded up to the next 1,000 characters, minimum 1,000.
Settings you can ask for
MiniMax Speech 2.6 HD works from your prompt. Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Language boost | Chinese, Chinese,Yue, English, Arabic, Russian, Spanish, French, Portuguese and 30 more | Enhance recognition of specified languages and dialects | |
| Output format | url or hex | hex | Format of the output content (non-streaming only) |
Every API field of MiniMax Speech 2.6 HD · Text to Speech is on its tool page: open its card above.
What can you do with MiniMax Speech 2.6 HD in VS Code?
Add spoken walkthroughs, help messages, and lesson audio to a project with MiniMax Speech 2.6. A coding agent can prepare scripts from project files and organize the resulting clips by screen or lesson.
Product walkthrough narration
Turn an approved walkthrough script into spoken instructions. Generate one clip per screen so individual steps can be revised.
Multilingual training lessons
Produce narration from translated lesson scripts in supported languages. Separate lessons into short sections for review.
Spoken customer service replies
Read prepared support answers aloud, including contact details and dates. Check a representative reply before generating a larger set.
Daily audio briefings
Convert a written news or operations summary into a listening edition. Keep the summary below 10,000 characters and separate topics with deliberate pauses.
Article listening editions
Create spoken versions of edited articles. Split longer pieces into sections below 10,000 characters each.
Phone menu recordings
Generate separate recordings for greetings, department choices, and opening hours. Include pauses between choices and verify spoken phone numbers.
Quiz and practice audio
Read a question, leave a timed pause, then speak the answer. Keep each pause between spoken passages.
Voiceover script auditions
Generate short takes of alternative openings before committing to a full narration. Compare the wording using the same voice.
More on MiniMax Speech 2.6 HD and VS Code
Overview
MiniMax Speech 2.6 HD in other agents
Questions about MiniMax Speech 2.6 HD in VS Code
Can VS Code use MiniMax Speech 2.6 HD?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run MiniMax Speech 2.6 HD like any built-in tool.
How much does MiniMax Speech 2.6 HD cost in VS Code?
Each item in `prompt` adds $0.13. 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 MiniMax Speech 2.6 HD in VS Code?
No. Spiral runs MiniMax Speech 2.6 HD on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up MiniMax Speech 2.6 HD in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while MiniMax Speech 2.6 HD runs?
MiniMax Speech 2.6 HD runs in the background. VS Code starts the run, checks on it and gives you the audio when it's ready.
When should I choose HD or Turbo?
Choose MiniMax Speech 2.6 HD when voice quality is the priority, such as a finished narration. Choose MiniMax Speech 2.6 Turbo when faster generation matters, such as spoken replies or frequent script revisions.
Which languages can Speech 2.6 speak?
MiniMax documents 40 languages, including English, Spanish, French, Japanese, Korean, Hindi, Arabic, Mandarin Chinese, and Cantonese. For translated narration, prepare the translated script before generating speech.
How long should each script be?
Keep each script below 10,000 characters to stay within MiniMax's documented synchronous limit. For longer narration, split the script at section boundaries and generate separate clips.
How do I add a deliberate pause?
Insert <#1.5#> between spoken passages for a 1.5-second pause. Pause lengths can range from 0.01 to 99.99 seconds; keep spoken text between successive markers.
Can Speech 2.6 read dates and contact details?
Yes. MiniMax specifically documents handling URLs, email addresses, phone numbers, dates, and monetary amounts. Listen to a short sample containing your actual details before generating the full narration.
Start using MiniMax Speech 2.6 HD 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


