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

Codex · Audio

How to Use MiniMax Speech 2.6 HD in Codex

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 Codex

Copy an example into Codex, 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.

MiniMax Speech 2.6 HDCodex
Try asking
  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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.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: Codex 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.

falAudio
MiniMax Speech 2.6 HD · Text to Speech
fal-ai/minimax/speech-2.6-hd

Settings you can ask for

MiniMax Speech 2.6 HD works from your prompt. Ask Codex 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 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 Codex?

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.

Questions about MiniMax Speech 2.6 HD in Codex

Can Codex use MiniMax Speech 2.6 HD?

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

How much does MiniMax Speech 2.6 HD cost in Codex?

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

Do I need a fal account to use MiniMax Speech 2.6 HD in Codex?

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 Codex?

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

Does Codex wait while MiniMax Speech 2.6 HD runs?

MiniMax Speech 2.6 HD runs in the background. Codex 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.

Get started

Start using MiniMax Speech 2.6 HD in Codex

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

Paste this into Codex:

Set up Codex

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