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

VS Code · AudioReleased 2025-05-06

How to Use MiniMax Voice Cloning in VS Code

MiniMax Voice Cloning turns a voice recording into a reusable voice for speech generation. Use its optional preview to audition narration before producing longer audio with text-to-speech.

Prompts to try with MiniMax Voice Cloning in VS Code

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

Use MiniMax Voice Cloning with recordings/narrator.wav and a speech-02-hd preview. Extract a passage under 700 characters from docs/tutorial.md that includes the product name and two technical terms.

MiniMax Voice CloningVS Code
Try asking
  • Use MiniMax Voice Cloning with recordings/host.mp3 to audition the introduction in scripts/podcast-intro.txt. Keep the speech-02-hd preview under 1,000 characters and save the returned voice reference beside the audition.

  • Use MiniMax Voice Cloning with recordings/assistant.wav and speech-02-turbo. Build a preview under 500 characters from the greeting and first help response in the project's dialogue fixtures.

  • Use MiniMax Voice Cloning to audition recordings/instructor.m4a. Select an English lesson excerpt under 800 characters from content/lessons and generate a speech-02-hd preview for review.

  • Use MiniMax Voice Cloning with recordings/spanish-narrator.wav and speech-02-hd. Take a Spanish passage under 700 characters from locales/es/tutorial.json and save it alongside the preview for a fluent reviewer.

How to set up MiniMax Voice Cloning 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 Voice Cloning

    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/voice-clone",
        "input": {
          "audio_url": "https://storage.googleapis.com/falserverless/model_tests/zonos/demo_voice_zonos.wav"
        }
      }'

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

MiniMax Voice Cloning providers and prices

Spiral runs MiniMax Voice Cloning through fal. Open a card for today's price, with every fee included.

falAudio
MiniMax Voice Cloning
fal-ai/minimax/voice-clone

Settings you can ask for

MiniMax Voice Cloning works from your audio URL and text. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Noise reductionon or offoff

Enable noise reduction for the cloned voice

Need volume normalizationon or offoff

Enable volume normalization for the cloned voice

Accuracy0 to 1

Text validation accuracy threshold (0-1)

Modelspeech-02-hd, speech-02-turbo, speech-01-hd, or speech-01-turbospeech-02-hd

TTS model to use for preview. Options: speech-02-hd, speech-02-turbo, speech-01-hd, speech-01-turbo

Every API field of MiniMax Voice Cloning is on its tool page: open its card above.

What can you do with MiniMax Voice Cloning in VS Code?

Give a project's narrator or assistant a voice derived from a recording. Your coding agent can prepare an audition passage from project content and keep the approved voice reference for later speech generation.

Audition an audiobook narrator

Create a narrator voice from a recording, then preview a short passage with dialogue and descriptive prose using Speech 02 HD.

Prepare a course narration voice

Clone an instructor's voice and preview a lesson excerpt containing the subject's technical vocabulary before producing the course narration.

Test product tutorial narration

Audition a presenter voice on a short explanation containing product names, numbers, and interface labels.

Develop a podcast introduction

Create a host voice from a recording and preview an opening script before using the approved voice in later speech generation.

Review multilingual narration

Preview a cloned narrator with a translated passage using Speech 02. Have a fluent reviewer check pronunciation and delivery in the target language.

Audition a conversational assistant voice

Preview a cloned voice reading a greeting and a short answer with Speech 02 Turbo before selecting it for conversational speech.

Questions about MiniMax Voice Cloning in VS Code

Can VS Code use MiniMax Voice Cloning?

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

How much does MiniMax Voice Cloning cost in VS Code?

$1.95 per voice, plus $0.39 per 1,000 characters of preview text. 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 Voice Cloning in VS Code?

No. Spiral runs MiniMax Voice Cloning 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 Voice Cloning in VS Code?

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

Does VS Code wait while MiniMax Voice Cloning runs?

MiniMax Voice Cloning runs in the background. VS Code starts the run, checks on it and gives you the audio, json when it's ready.

What does MiniMax Voice Cloning create?

It creates a reusable voice from a recording and can generate a spoken preview. Longer narration uses that cloned voice in a separate text-to-speech generation.

How much reference audio does MiniMax Voice Cloning need?

Use an MP3, M4A, or WAV recording lasting 10 seconds to 5 minutes. The recording must be no larger than 20 MB.

How long can the spoken preview be?

Preview text can contain up to 1,000 characters. Use a representative passage to judge pronunciation and delivery before producing longer narration.

Should I use Speech 02 HD or Speech 02 Turbo for the preview?

Choose HD to audition voiceovers or audiobook narration. Turbo prioritizes low latency for interactive speech, so use it when evaluating a voice for conversational responses.

Can I preview the cloned voice in different languages?

With a Speech 02 preview, MiniMax documents support for 32 languages. Test the actual language and terminology you plan to use before approving the voice.

Get started

Start using MiniMax Voice Cloning 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