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

opencode · AudioReleased 2025-04-02

How to Use MiniMax Speech-02 Turbo in opencode

MiniMax Speech-02 Turbo suits spoken responses and frequent narration drafts. It emphasizes low latency, rhythm, and stability, while MiniMax Speech-02 HD emphasizes voice quality and similarity.

Prompts to try with MiniMax Speech-02 Turbo in opencode

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

Use MiniMax Speech-02 Turbo to turn the latest changelog entry into a 120-word spoken release summary. Expand abbreviations and generate a recording for review.

MiniMax Speech-02 Turboopencode
Try asking
  • Use MiniMax Speech-02 Turbo to generate a short audio sample from the project's glossary. Include its hardest technical terms and prepare pronunciation replacements for any readings I specify.

  • Read this paragraph aloud with MiniMax Speech-02 Turbo 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-02 Turbo.

  • Turn these release notes into a short audio briefing with MiniMax Speech-02 Turbo.

How to set up MiniMax Speech-02 Turbo in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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-02 Turbo

    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-02-turbo",
        "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-02 Turbo on Spiral, shows the price and runs it.

MiniMax Speech-02 Turbo providers and prices

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

falAudio
MiniMax Speech-02 Turbo · Text to Speech
fal-ai/minimax/speech-02-turbo

Settings you can ask for

MiniMax Speech-02 Turbo works from your text. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Language boostChinese, Chinese,Yue, English, Arabic, Russian, Spanish, French, Portuguese and 30 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 Speech-02 Turbo · Text to Speech is on its tool page: open its card above.

What can you do with MiniMax Speech-02 Turbo in opencode?

Turn project documentation into spoken walkthroughs, lessons, and release summaries with MiniMax Speech-02. A coding agent can prepare narration from repository files, divide long scripts into sections, and generate recordings for review.

Product walkthrough narration

Turn a written walkthrough into spoken instructions. Generate one section per screen so individual instructions are easy to revise.

Lesson explanations

Narrate short teaching scripts, adding a deliberate pause after a question so learners have time to think.

Article listening editions

Prepare a spoken version of an article, splitting long text at section boundaries and checking names before assembling the recording.

Spoken release notes

Convert a short release summary into an audio update. Rewrite code fragments and abbreviations as words before narration.

Customer support responses

Create recordings of approved answers to recurring questions. Keep each answer separate so policy changes require replacing only the affected recording.

Multilingual teaching audio

Narrate reviewed translations of a lesson in supported languages. Check pronunciation with a fluent reviewer before sharing the recordings.

Recurring spoken briefings

Turn a prepared daily or weekly summary into a short recording. Check numeric passages and add pauses between topics.

Narration script review

Listen to alternative openings or explanations before choosing a script. Use the recordings to spot awkward wording and unclear transitions.

Questions about MiniMax Speech-02 Turbo in opencode

Can opencode use MiniMax Speech-02 Turbo?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run MiniMax Speech-02 Turbo like any built-in tool.

How much does MiniMax Speech-02 Turbo cost in opencode?

Each item in `text` adds $0.078. 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-02 Turbo in opencode?

No. Spiral runs MiniMax Speech-02 Turbo 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-02 Turbo in opencode?

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

Does opencode wait while MiniMax Speech-02 Turbo runs?

MiniMax Speech-02 Turbo runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

What is MiniMax Speech-02 useful for?

Use it to turn written scripts into spoken narration, such as lesson explanations, product walkthroughs, and short spoken updates. Educational video narration is a documented use: VideoTutor uses Speech-02 for multilingual audio.

Can I narrate a whole chapter at once?

Keep each generation within 5,000 characters. For longer material, split at section or paragraph boundaries and review each recording before assembling the chapter.

How do I add a deliberate pause?

Insert a pause marker into the spoken script: <#0.5#> requests half a second of silence. Try it between a question and its answer or between two instructions.

How can I improve numbers and difficult pronunciations?

Enable English normalization for scripts containing numbers, and use pronunciation replacements for words that need a specific reading. Check those passages in a short sample before generating the full script.

Does Speech-02 support every language in newer MiniMax speech models?

No. MiniMax explicitly excludes Persian, Filipino, and Tamil from Speech-02, so check support before preparing narration in those languages.

Get started

Start using MiniMax Speech-02 Turbo in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

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