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

VS Code · Audio

How to Use MiniMax Speech 2.5 HD in VS Code

MiniMax Speech 2.5 HD turns written scripts into voiceovers for lessons, product demos, and narrated content. Choose it for narration work; MiniMax Speech 2.5 Turbo emphasizes faster speech generation.

Prompts to try with MiniMax Speech 2.5 HD in VS Code

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

Read this project's README and write a 150-word spoken introduction for a new user. Use MiniMax Speech 2.5 HD to narrate it at normal speed and save the script with the audio.

MiniMax Speech 2.5 HDVS Code
Try asking
  • Use the onboarding documentation to create a narrated first-task lesson with MiniMax Speech 2.5 HD. Split it into sections under 5,000 characters and read at 0.9 times normal speed.

  • Prepare a spoken summary of the project's latest release notes using MiniMax Speech 2.5 HD. Enable English number normalization, generate a short sample containing the version numbers first, and save the final narration as MP3.

  • Read this paragraph aloud with MiniMax Speech 2.5 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.5 HD.

How to set up MiniMax Speech 2.5 HD 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 MiniMax Speech 2.5 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/preview/speech-2.5-hd",
        "input": {
          "text": "Hello world! This is a test of the text-to-speech system."
        }
      }'

Then paste one of the prompts above: VS Code finds MiniMax Speech 2.5 HD on Spiral, shows the price and runs it.

MiniMax Speech 2.5 HD providers and prices

Spiral runs MiniMax Speech 2.5 HD through fal. Open a card for today's price, with every fee included.

falAudio
Minimax
fal-ai/minimax/preview/speech-2.5-hd

Settings you can ask for

MiniMax Speech 2.5 HD works from your text. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Language boostPersian, Filipino, Tamil, Chinese, Chinese,Yue, English, Arabic, Russian and 33 more

Enhance recognition of specified languages and dialects

Output formaturl or hexhex

Format of the output content (non-streaming only)

Every API field of Minimax is on its tool page: open its card above.

What can you do with MiniMax Speech 2.5 HD in VS Code?

Turn project documentation and release notes into spoken walkthroughs with MiniMax Speech 2.5. A coding agent can prepare narration from the repository, divide long scripts into sections, and save audio alongside the reviewed text.

Product walkthrough narration

Turn a reviewed product script into spoken instructions. Generate each section separately so you can replace a changed explanation without redoing the entire walkthrough.

Multilingual product explainers

Create separate voiceovers from approved translations of a product explanation. Review names and technical terms in each language before assembling the final video.

Short course lessons

Narrate lessons in sections of up to 5,000 characters. Try a slower reading for definitions and worked examples.

Spoken daily briefings

Convert a checked summary of news, project progress, or operational updates into a short audio briefing. Keep dates and figures explicit in the spoken script.

Customer service messages

Generate spoken greetings, service notices, and answers to common questions from approved copy. Prepare separate scripts for each supported audience language.

Audio editions of articles

Adapt an article for listening, removing navigation text and rewriting visual references. Split longer pieces into sections before generating speech.

Voiceover script reviews

Listen to draft narration before recording or publishing. Compare pacing across two short readings to find sentences that need rewriting.

Questions about MiniMax Speech 2.5 HD in VS Code

Can VS Code use MiniMax Speech 2.5 HD?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run MiniMax Speech 2.5 HD like any built-in tool.

How much does MiniMax Speech 2.5 HD cost in VS Code?

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 VS Code plan is separate.

Do I need a fal account to use MiniMax Speech 2.5 HD in VS Code?

No. Spiral runs MiniMax Speech 2.5 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.5 HD in VS Code?

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

Does VS Code wait while MiniMax Speech 2.5 HD runs?

MiniMax Speech 2.5 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?

Use MiniMax Speech 2.5 HD for narration projects such as lessons and product walkthroughs. MiniMax Speech 2.5 Turbo emphasizes fast generation, making it a practical choice for frequent updates and script revisions.

Can MiniMax Speech 2.5 handle multilingual narration?

Yes. MiniMax reports support for more than 40 languages. Prepare and review the script in each target language before generating the narration.

How much text can I turn into speech at once?

Keep each generation within 5,000 characters. For a longer lesson or article, split the script at paragraph or section boundaries and keep the voice and speed consistent.

How should I handle numbers in English scripts?

Enable English text normalization to improve number reading. For identifiers or other numbers that need a specific reading, write the intended spoken words into the script and check a short sample.

Which audio formats can MiniMax Speech 2.5 produce?

MiniMax Speech 2.5 supports MP3, PCM, and FLAC output. Choose the format your playback or editing workflow needs.

Get started

Start using MiniMax Speech 2.5 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 VS Code

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