[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [HeyGen Lipsync Speed](https://spiral.ai/integrations/gemini-cli/heygen-lipsync-speed)

# How to Use HeyGen Lipsync Speed in Gemini CLI

HeyGen Lipsync Speed matches a filmed speaker's mouth to replacement audio for dubbing, dialogue fixes, and previews. Compared with HeyGen Lipsync Precision, it favors faster output over lip-sync fidelity and suits front-facing footage.

|  |  |
| --- | --- |
| Model | HeyGen Lipsync Speed |
| Available through | fal |
| Category | Video |
| Price | Up to $5.85 per run at the default inputs for 60 seconds of input. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with HeyGen Lipsync Speed in Gemini CLI

- Use HeyGen Lipsync Speed to pair assets/presenter.mp4 with assets/corrected-intro.wav and save a review cut under renders/.
- Use HeyGen Lipsync Speed to make Spanish and French review cuts from assets/welcome.mp4 and the approved recordings in assets/dubs/.
- Use HeyGen Lipsync Speed on assets/demo.mp4 with assets/new-dialogue.wav, targeting seconds 12 through 20 for partial lip sync.
- Use HeyGen Lipsync Speed to compare assets/hook-a.wav and assets/hook-b.wav against assets/spokesperson.mp4; label the two review cuts clearly.
- Use HeyGen Lipsync Speed with assets/training.mp4 and assets/revised.wav, allowing duration adjustment; report the finished runtime beside the original.

## How to set up HeyGen Lipsync Speed 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 HeyGen Lipsync Speed**: 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": "fal-ai/heygen/v3/lipsync/speed",
    "input": {
      "video_url": "https://v3b.fal.media/files/b/0a9004c7/FM7Q5tK2b59x66Bl8HC0Z_vt-lang-en.mp4",
      "audio_url": "https://v3b.fal.media/files/b/example/new_audio.mp3"
    }
  }'
```

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

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

## HeyGen Lipsync Speed tools and prices

- [HeyGen Lipsync (Speed)](https://spiral.ai/tools/fal/fal-ai/heygen/v3/lipsync/speed) (fal): $5.85 per minute.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| title |  | — | Optional title for the lipsync job. |
| enable_caption |  | false | Generate captions in the output video. |
| enable_dynamic_duration |  | true | Allow duration adjustment to match the new audio. |
| disable_music_track |  | false | Remove background music from the source video. |
| enable_speech_enhancement |  | false | Enhance the replacement audio quality. |
| start_time | 0 to … | — | Start time in seconds for partial lipsync. |

## What can you do with HeyGen Lipsync Speed in Gemini CLI?

Update filmed project walkthroughs and compare replacement dialogue without recording another camera take. A coding agent can pair project video assets with approved audio and organize review cuts.

### Dubbing previews

Match a front-facing presenter to an approved translated recording before reviewing the localized cut.

### Training dialogue corrections

Pair an existing instructor video with a corrected recording when a policy or instruction changes.

### Ad hook testing

Produce review cuts of a filmed spokesperson delivering several prerecorded opening lines.

### Product demo updates

Replace a presenter's outdated explanation with newly recorded dialogue for the next release.

### Personalized sales introductions

Sync a filmed introduction to prepared recordings that address different prospects by name.

### Creator video localization

Reuse a talking-head clip with separately prepared Spanish, French, or Japanese audio.

### Replacement recording reviews

Compare a filmed speaker with alternate dialogue takes before choosing the recording for the final edit.

## Overview

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

## HeyGen Lipsync Speed in other agents

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

## More Gemini CLI guides

- [HeyGen Lipsync Precision](https://spiral.ai/integrations/gemini-cli/heygen-lipsync-precision)
- [HeyGen Video Agent v2](https://spiral.ai/integrations/gemini-cli/heygen-video-agent-v2)
- [HeyGen Filler Word Removal](https://spiral.ai/integrations/gemini-cli/heygen-filler-word-removal)
- [HeyGen Video Agent v3](https://spiral.ai/integrations/gemini-cli/heygen-video-agent-v3)
- [HeyGen Avatar V Digital Twin](https://spiral.ai/integrations/gemini-cli/heygen-avatar-v-digital-twin)
- [HeyGen Video Image to Video](https://spiral.ai/integrations/gemini-cli/heygen-video-image-to-video)

## Questions about HeyGen Lipsync Speed in Gemini CLI

**Can Gemini CLI use HeyGen Lipsync Speed?**

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

**How much does HeyGen Lipsync Speed cost in Gemini CLI?**

Up to $5.85 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 Gemini CLI plan is separate.

**Do I need a fal account to use HeyGen Lipsync Speed in Gemini CLI?**

No. Spiral runs HeyGen Lipsync Speed on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up HeyGen Lipsync Speed in Gemini CLI?**

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

**Does Gemini CLI wait while HeyGen Lipsync Speed runs?**

HeyGen Lipsync Speed runs in the background. Gemini CLI starts the run, checks on it and gives you the video when it's ready.

**What is HeyGen Lipsync Speed best for?**

Use it for dubbing previews, replacement dialogue, and repeated edits to presenter footage. Mostly front-facing speakers with unobstructed mouths are the safest starting point.

**How does Speed differ from Precision?**

Speed favors faster output, while Precision uses avatar inference for higher-quality lip sync. Speed is a useful first pass when you are still reviewing dialogue.

**Does HeyGen Lipsync Speed translate or create the voice?**

No. Prepare the translated or corrected recording first; lip sync matches the filmed mouth to that supplied audio.

**Which languages can I use?**

HeyGen says supplied-audio lip sync works with any language, dialect, or accent because it follows sounds rather than words. That does not include translating or recording the dialogue.

**Can the finished video change length?**

Yes. Dynamic duration lets the output adjust to the replacement recording, so review the resulting timing before placing it in a larger edit.

