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

opencode · AudioReleased 2024-02-15

How to Use ElevenLabs Voice Changer Multilingual v2 in opencode

Use ElevenLabs Voice Changer Multilingual v2 to recast recorded dialogue while retaining its emotion and timing. It supports 29 languages, and ElevenLabs recommends it over ElevenLabs English Speech to Speech v2 even for English recordings.

Prompts to try with ElevenLabs Voice Changer Multilingual v2 in opencode

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

Use ElevenLabs Voice Changer Multilingual v2 to convert assets/audio/demo-take.wav into our chosen narrator voice, retaining the recorded delivery.

ElevenLabs Voice Changer Multilingual v2opencode
Try asking
  • Use ElevenLabs Voice Changer Multilingual v2 on the recorded guard dialogue in assets/audio/guards, preserving each line's emotional emphasis.

  • Use ElevenLabs Voice Changer Multilingual v2 to compare lower and higher stability on the first 20 seconds of narration.wav. Save both for review.

  • Use ElevenLabs Voice Changer Multilingual v2 to recast the French tutorial recordings in this project, retaining their language and accent.

  • Use ElevenLabs Voice Changer Multilingual v2 on the demo narration. Divide it into chunks of five minutes or less and keep each input under 50 MB.

How to set up ElevenLabs Voice Changer Multilingual v2 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 ElevenLabs Voice Changer Multilingual v2

    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": "elevenlabs",
        "model": "eleven_multilingual_sts_v2",
        "input": {
          "audio": "<audio>",
          "voice_id": "<voice_id>"
        }
      }'

Then paste one of the prompts above: opencode finds ElevenLabs Voice Changer Multilingual v2 on Spiral, shows the price and runs it.

ElevenLabs Voice Changer Multilingual v2 providers and prices

Spiral runs ElevenLabs Voice Changer Multilingual v2 through ElevenLabs. Open a card for today's price, with every fee included.

ElevenLabsAudio
ElevenLabs Voice Changer (Multilingual)
eleven_multilingual_sts_v2

Settings you can ask for

ElevenLabs Voice Changer Multilingual v2 works from your audio. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seed0 to 4294967295

If specified, our system will make a best effort to sample deterministically. Must be integer between 0 and 4294967295.

File formatpcm_s16le_16 or otherother

The format of input audio. Options are 'pcm_s16le_16' or 'other'. For pcm_s16le_16, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order.

Output formatalaw_8000, mp3_22050_32, mp3_24000_48, mp3_44100_128, mp3_44100_192, mp3_44100_32, mp3_44100_64, mp3_44100_96 and 20 moremp3_44100_128

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32.

Remove background noiseon or offoff

If set, will remove the background noise from your audio input using our audio isolation model.

Every API field of ElevenLabs Voice Changer (Multilingual) is on its tool page: open its card above.

What can you do with ElevenLabs Voice Changer Multilingual v2 in opencode?

Turn recorded project dialogue into character voices or recast a demo narration. An agent can organize short conversions and keep each result paired with its source recording.

Recast a video narration

Convert a recorded voiceover into another narrator's voice while retaining the delivery used for the edit.

Create game character dialogue

Act out short character lines, then convert the recordings while retaining their emotional emphasis.

Voice an animated scene

Record the scene's whispers, laughter, and dialogue, then give the performance a different voice.

Recast a lesson narration

Give a recorded lesson another voice while keeping the instructor's cadence and emphasis.

Compare voices for a recorded ad

Convert the same spoken take into several voices to compare how each sounds with the recorded performance.

Revoice multilingual recordings

Convert English, Japanese, or French recordings while retaining each recording's language and accent.

Questions about ElevenLabs Voice Changer Multilingual v2 in opencode

Can opencode use ElevenLabs Voice Changer Multilingual v2?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run ElevenLabs Voice Changer Multilingual v2 like any built-in tool.

How much does ElevenLabs Voice Changer Multilingual v2 cost in opencode?

$0.156 per minute. 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 an ElevenLabs account to use ElevenLabs Voice Changer Multilingual v2 in opencode?

No. Spiral runs ElevenLabs Voice Changer Multilingual v2 on its own ElevenLabs account. You sign in to Spiral once and never paste a key.

How long does it take to set up ElevenLabs Voice Changer Multilingual v2 in opencode?

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

Does opencode wait while ElevenLabs Voice Changer Multilingual v2 runs?

ElevenLabs Voice Changer Multilingual v2 runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

What does ElevenLabs Voice Changer preserve?

It changes the voice while retaining the recording's emotion, timing, and delivery. Whispers, laughter, and accent can carry through, so the original performance matters.

Which languages does Multilingual v2 support?

It supports 29 languages, including English, Japanese, Chinese, German, Hindi, and French.

Will choosing a different voice change my accent?

The source recording's accent carries through. Record the accent you want to hear in the finished speech.

How long can a recording be?

Use chunks of five minutes or less. ElevenLabs' voice changer guidance specifies five minutes, although a separate help article lists ten minutes for Multilingual v2.

How should I direct an expressive performance?

Record the delivery you want, including whispers, laughter, and emotional emphasis. Those details give the conversion a performance to preserve.

Get started

Start using ElevenLabs Voice Changer Multilingual v2 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