How to Use MiniMax Speech 2.5 HD in opencode
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 opencode
Copy an example into opencode, 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.
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 opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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.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: opencode 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.
$0.13 per 1,000 characters of text. Rounded up to the next 1,000 characters, minimum 1,000.
Settings you can ask for
MiniMax Speech 2.5 HD works from your text. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Language boost | Persian, Filipino, Tamil, Chinese, Chinese,Yue, English, Arabic, Russian and 33 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 is on its tool page: open its card above.
What can you do with MiniMax Speech 2.5 HD in opencode?
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.
More on MiniMax Speech 2.5 HD and opencode
Overview
MiniMax Speech 2.5 HD in other agents
Questions about MiniMax Speech 2.5 HD in opencode
Can opencode use MiniMax Speech 2.5 HD?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run MiniMax Speech 2.5 HD like any built-in tool.
How much does MiniMax Speech 2.5 HD cost in opencode?
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 opencode plan is separate.
Do I need a fal account to use MiniMax Speech 2.5 HD in opencode?
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 opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while MiniMax Speech 2.5 HD runs?
MiniMax Speech 2.5 HD runs in the background. opencode 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.
Start using MiniMax Speech 2.5 HD in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


