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

opencode · Audio

How to Use Chatterbox HD Speech to Speech in opencode

Chatterbox HD Speech to Speech changes the voice in a recorded performance while retaining its words and delivery. It works from spoken audio and offers optional 48 kHz upscaling for the converted result.

Prompts to try with Chatterbox HD Speech to Speech in opencode

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

Use Chatterbox HD Speech to Speech to convert audio/tutorial-intro.wav with the supplied narrator reference. Save the result beside the original for review.

Chatterbox HD Speech to Speechopencode
Try asking
  • Run Chatterbox HD Speech to Speech on the guard's recorded lines in assets/dialogue. Use the supplied character voice reference and keep each line as a separate output.

  • Use Chatterbox HD Speech to Speech on audio/demo-read.wav. Generate one 24 kHz result and one 48 kHz upscaled result for comparison.

  • Convert the recorded onboarding narration in this project with Chatterbox HD Speech to Speech using the supplied voice sample. Add the result to the audio preview page.

  • Use Chatterbox HD Speech to Speech to audition the supplied target voice on assets/animation/robot-line.wav. Keep the source take available in the preview.

How to set up Chatterbox HD Speech to Speech 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 Chatterbox HD Speech to Speech

    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": "resemble-ai/chatterboxhd/speech-to-speech",
        "input": {
          "source_audio_url": "https://storage.googleapis.com/chatterbox-demo-samples/samples/duff_stewie.wav"
        }
      }'

Then paste one of the prompts above: opencode finds Chatterbox HD Speech to Speech on Spiral, shows the price and runs it.

Chatterbox HD Speech to Speech providers and prices

Spiral runs Chatterbox HD Speech to Speech through fal. Open a card for today's price, with every fee included.

falAudio
Chatterboxhd · Speech to Speech
resemble-ai/chatterboxhd/speech-to-speech

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Target voiceAurora, Blade, Britney, Carl, Cliff, Richard, Rico, Siobhan and 1 more

The voice to use for the speech-to-speech request. If neither target_voice nor target_voice_audio_url are provided, a random target voice will be used.

High quality audioon or offoff

If True, the generated audio will be upscaled to 48kHz. The generation of the audio will take longer, but the quality will be higher. If False, the generated audio will be 24kHz.

Every API field of Chatterboxhd · Speech to Speech is on its tool page: open its card above.

What can you do with Chatterbox HD Speech to Speech in opencode?

Create alternate voices for recorded dialogue and narration in your project. Use Chatterbox HD Speech to Speech to produce audio assets for review alongside the original recordings.

Game dialogue auditions

Try another voice on a recorded character line before choosing a direction for the role.

Tutorial narration

Convert a spoken walkthrough into the voice chosen for a product tutorial.

Podcast intros

Revoice a recorded episode introduction and compare it with the original take.

Animation voice tests

Use a recorded performance to audition voices for an animated character.

Training narration

Convert recorded lesson segments into the selected course narrator's voice.

Commercial voice-over auditions

Try different voices on an approved spoken ad read before selecting the final voice.

Questions about Chatterbox HD Speech to Speech in opencode

Can opencode use Chatterbox HD Speech to Speech?

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

How much does Chatterbox HD Speech to Speech cost in opencode?

Up to $0.026 per run at the default inputs for 60 seconds of input. 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 Chatterbox HD Speech to Speech in opencode?

No. Spiral runs Chatterbox HD Speech to Speech on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Chatterbox HD Speech to Speech in opencode?

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

Does opencode wait while Chatterbox HD Speech to Speech runs?

Chatterbox HD Speech to Speech runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.

What is Chatterbox HD Speech to Speech useful for?

Use it to try a different voice on an existing spoken performance. Recorded narration, character dialogue, and voice-over auditions are practical starting points.

Can it read a written script?

Chatterbox HD Speech to Speech converts recorded speech. Record the script first, or choose a text-to-speech model when you want to start from writing.

How should I control pauses and emphasis?

Perform them in the source recording, since conversion preserves the original timing and delivery. If a pause or emphasis needs changing, revise the take before converting it.

What sample rate does it produce?

Output is 24 kHz without upscaling. The higher-quality option upscales the result to 48 kHz.

Does the converted audio include a watermark?

Yes. Chatterbox HD Speech to Speech includes built-in perceptual watermarking.

Get started

Start using Chatterbox HD Speech to Speech 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