[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Chatterbox HD](https://spiral.ai/integrations/gemini-cli/chatterbox-hd)

# How to Use Chatterbox HD in Gemini CLI

Chatterbox HD turns English scripts into expressive narration or character dialogue, with voice cloning from a short recording. It produces 24 kHz audio, with optional upscaling to 48 kHz.

|  |  |
| --- | --- |
| Model | Chatterbox HD |
| Available through | fal |
| Category | Audio |
| Price | Each item in `text` adds $0.052. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Chatterbox HD in Gemini CLI

- Read the project's onboarding copy and draft a concise English walkthrough. Generate it with Chatterbox HD using exaggeration 0.5 and cfg 0.5, then save the script beside the audio.
- Find the English character dialogue in this project. Use Chatterbox HD to audition the first three lines separately with exaggeration 0.7 and cfg 0.3, preserving the original wording.
- Turn the README's quick-start explanation into a short spoken overview with Chatterbox HD. Use ordinary speech settings and request 48 kHz upscaling.
- Use the narrator reference recording in this project with Chatterbox HD to read the tutorial's opening paragraph. Save the audio and flag accent-sensitive words for listening review.
- Take the first English narration paragraph in the project and generate two takes with Chatterbox HD: exaggeration 0.5 with cfg 0.5, then exaggeration 0.7 with cfg 0.3. Save both with labels describing the settings.

## How to set up Chatterbox HD in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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.

```bash
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**: One request; the result comes back by polling or a webhook.

```bash
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/text-to-speech",
    "input": {
      "text": "My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions and loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will have my vengeance, in this life or the next."
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Chatterbox HD tools and prices

- [Chatterboxhd · Text to Speech](https://spiral.ai/tools/fal/resemble-ai/chatterboxhd/text-to-speech) (fal): $0.052 per 1,000 characters of `text`. Rounded up to the next 1,000 characters, minimum 1,000.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| text |  | My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions and loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will have my vengeance, in this life or the next. | Text to synthesize into speech. |
| voice | Aurora, Blade, Britney, Carl, Cliff, Richard, Rico, Siobhan, Vicky | — | The voice to use for the TTS request. If neither voice nor audio are provided, a random voice will be used. |
| audio_url |  | — | URL to the audio sample to use as a voice prompt for zero-shot TTS voice cloning. Providing a audio sample will override the voice setting. If neither voice nor audio_url are provided, a random voice will be used. |
| exaggeration | 0.25 to 2 | 0.5 | Controls emotion exaggeration. Range typically 0.25 to 2.0. |
| cfg | 0 to 1 | 0.5 | Classifier-free guidance scale (CFG) controls the conditioning factor. Range typically 0.2 to 1.0. For expressive or dramatic speech, try lower cfg values (e.g. ~0.3) and increase exaggeration to around 0.7 or higher. If the reference speaker has a fast speaking style, lowering cfg to around 0.3 can improve pacing. |
| high_quality_audio |  | false | 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. |

## What can you do with Chatterbox HD in Gemini CLI?

Create spoken walkthroughs and dialogue auditions from project scripts with Chatterbox HD. Your coding agent can prepare separate lines, generate audio, and organize takes for review.

### Product walkthrough narration

Turn an English walkthrough script into spoken instructions. Start with ordinary speech settings and review each instruction for clarity.

### Game dialogue auditions

Generate separate reads of a character's lines. Compare ordinary and more dramatic delivery before choosing a performance.

### Podcast introductions

Create a spoken introduction from an approved English script, using a short recording of the host as the voice reference.

### Training lesson voiceovers

Produce narration for individual lesson sections. Review the pacing before pairing the audio with slides or demonstrations.

### Spoken daily briefings

Convert a prepared English summary into a listening edition for a morning or evening briefing.

### Ad script auditions

Hear how the same copy sounds with ordinary and heightened emotional delivery. Check whether greater intensity makes the message feel rushed.

### Short story narration

Create spoken readings of English story passages using a narrator reference. Audition dramatic settings on tense scenes before applying them more widely.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Chatterbox HD in other agents

- [Amp](https://spiral.ai/integrations/amp/chatterbox-hd)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/chatterbox-hd)
- [Claude](https://spiral.ai/integrations/claude-desktop/chatterbox-hd)
- [Claude Code](https://spiral.ai/integrations/claude-code/chatterbox-hd)
- [Cline](https://spiral.ai/integrations/cline/chatterbox-hd)
- [Codex](https://spiral.ai/integrations/codex/chatterbox-hd)
- [Cursor](https://spiral.ai/integrations/cursor/chatterbox-hd)
- [Devin](https://spiral.ai/integrations/devin/chatterbox-hd)
- [dots](https://spiral.ai/integrations/dots/chatterbox-hd)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/chatterbox-hd)
- [Gemini](https://spiral.ai/integrations/gemini/chatterbox-hd)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/chatterbox-hd)
- [goose](https://spiral.ai/integrations/goose/chatterbox-hd)
- [Grok](https://spiral.ai/integrations/grok/chatterbox-hd)
- [Grok Build](https://spiral.ai/integrations/grok-build/chatterbox-hd)
- [Hermes](https://spiral.ai/integrations/hermes/chatterbox-hd)
- [Instinct](https://spiral.ai/integrations/instinct/chatterbox-hd)
- [Manus](https://spiral.ai/integrations/manus/chatterbox-hd)
- [Muse](https://spiral.ai/integrations/muse/chatterbox-hd)
- [Muse Code](https://spiral.ai/integrations/muse-code/chatterbox-hd)
- [n8n](https://spiral.ai/integrations/n8n/chatterbox-hd)
- [Notion](https://spiral.ai/integrations/notion/chatterbox-hd)
- [OpenClaw](https://spiral.ai/integrations/openclaw/chatterbox-hd)
- [opencode](https://spiral.ai/integrations/opencode/chatterbox-hd)
- [Perplexity](https://spiral.ai/integrations/perplexity/chatterbox-hd)
- [Raycast](https://spiral.ai/integrations/raycast/chatterbox-hd)
- [VS Code](https://spiral.ai/integrations/vscode/chatterbox-hd)
- [Windsurf](https://spiral.ai/integrations/windsurf/chatterbox-hd)
- [Zapier](https://spiral.ai/integrations/zapier/chatterbox-hd)

## More Gemini CLI guides

- [CassetteAI Sound Effects Generator](https://spiral.ai/integrations/gemini-cli/cassetteai-sound-effects-generator)
- [Chatterbox HD Speech to Speech](https://spiral.ai/integrations/gemini-cli/chatterbox-hd-speech-to-speech)
- [CassetteAI Music Generator](https://spiral.ai/integrations/gemini-cli/cassetteai-music-generator)
- [Chatterbox Multilingual](https://spiral.ai/integrations/gemini-cli/chatterbox-multilingual)
- [Canary Speech-to-Text Turbo](https://spiral.ai/integrations/gemini-cli/canary-speech-to-text-turbo)
- [Chatterbox Speech to Speech](https://spiral.ai/integrations/gemini-cli/chatterbox-speech-to-speech)

## Questions about Chatterbox HD in Gemini CLI

**Can Gemini CLI use Chatterbox HD?**

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

**How much does Chatterbox HD cost in Gemini CLI?**

Each item in `text` adds $0.052. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need a fal account to use Chatterbox HD in Gemini CLI?**

No. Spiral runs Chatterbox 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 Chatterbox HD in Gemini CLI?**

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

**Does Gemini CLI wait while Chatterbox HD runs?**

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

**Which languages does Chatterbox HD support?**

The HD documentation specifies English text only. Keep scripts in English.

**Does Chatterbox HD generate native 48 kHz audio?**

The higher-quality setting upscales the generated audio to 48 kHz. Without it, output is 24 kHz.

**What makes a good voice reference for Chatterbox HD?**

Use a clean recording of one speaker. Chatterbox HD can clone from short audio, so choose a clear excerpt without competing voices.

**How should I tune Chatterbox HD for dramatic dialogue?**

Try emotional exaggeration around 0.7 and guidance around 0.3. Compare the result with an ordinary read before increasing the intensity further.

**Why does a more expressive Chatterbox HD read sound faster?**

Higher exaggeration tends to accelerate speech. Lowering guidance can help restore slower, more deliberate pacing.

