[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [HeyGen Video Translate Speed](https://spiral.ai/integrations/codex/heygen-video-translate-speed)

# How to Use HeyGen Video Translate Speed in Codex

HeyGen Video Translate Speed dubs existing videos while preserving the speaker's voice, with optional lip sync. Compared with HeyGen Video Translate Precision, it favors quick drafts over detailed mouth alignment.

|  |  |
| --- | --- |
| Model | HeyGen Video Translate Speed |
| Available through | fal |
| Category | Video |
| Price | Up to $4.875 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 Video Translate Speed in Codex

- Use HeyGen Video Translate Speed to dub docs/videos/overview.mp4 into Spanish. Check that the source is no longer than eight minutes, preserve the screen recording with audio-only translation, and save the translated video beside the source.
- Translate demos/release-update.mp4 into French with HeyGen Video Translate Speed. Enable lip sync and natural speech timing, and save a separate SRT caption file for review.
- Read docs/terminology.md and prepare translation rules for the product names. Use the approved glossary with HeyGen Video Translate Speed to dub the two-minute presenter video into German.
- Use HeyGen Video Translate Speed on the three-minute narrated walkthrough in tutorials/. Translate it into Japanese without changing the visuals, and list embedded English labels that still need editing.
- Create a Spanish localization draft of training/intro.mp4 with HeyGen Video Translate Speed. Keep the original runtime, include SRT captions, and flag any translated sections that sound rushed.

## How to set up HeyGen Video Translate Speed in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 Video Translate 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/v2/translate/speed",
    "input": {
      "video_url": "https://v3b.fal.media/files/b/0a9004c7/FM7Q5tK2b59x66Bl8HC0Z_vt-lang-en.mp4",
      "output_language": "English"
    }
  }'
```

Then paste one of the prompts above: Codex finds HeyGen Video Translate Speed on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## HeyGen Video Translate Speed tools and prices

- [HeyGen Video Translate (Speed)](https://spiral.ai/tools/fal/fal-ai/heygen/v2/translate/speed) (fal): $4.875 per minute.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| translate_audio_only |  | false | Translate only the audio, ignore the faces and only translate the voice track |
| speaker_num |  | — | Number of speakers in the video |
| enable_dynamic_duration |  | true | Enable dynamic duration to enhance conversational fluidity between languages with different speaking rates |
| brand_glossary_id |  | — | HeyGen brand glossary ID for custom term translations. |
| srt_url |  | — | Optional URL of a custom SRT subtitle file. |
| srt_role | input, output | — | Whether the custom SRT applies to the source or translated video. |

## What can you do with HeyGen Video Translate Speed in Codex?

Turn recorded project walkthroughs into translated videos and caption files for review. A coding agent can use project terminology to prepare glossary rules and check that source clips stay within eight minutes.

### Daily social updates

Dub short announcements into other languages. Use a close-up presenter and review the translated speech before posting.

### Employee announcements

Translate a manager's recorded update while retaining their voice. Keep each source clip within eight minutes.

### Product walkthrough narration

Translate the narration of an existing screen recording with audio-only dubbing. Update visible interface labels separately if the audience needs them translated.

### Customer support clips

Dub short troubleshooting videos and include a separate SRT caption file for review or later editing.

### Localization drafts

Create translated drafts for language reviewers. Check terminology and mouth alignment before choosing a final production version.

### Short training lessons

Translate brief lessons with a clearly framed presenter. Apply a glossary to keep technical vocabulary consistent across lessons.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Codex guides](https://spiral.ai/integrations/codex)

## HeyGen Video Translate Speed in other agents

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

## More Codex guides

- [HeyGen Video Translate Precision](https://spiral.ai/integrations/codex/heygen-video-translate-precision)
- [InfiniteTalk Image to Video](https://spiral.ai/integrations/codex/infinitetalk-image-to-video)
- [HeyGen Video Text to Video](https://spiral.ai/integrations/codex/heygen-video-text-to-video)
- [InfiniteTalk Video to Video](https://spiral.ai/integrations/codex/infinitetalk-video-to-video)
- [HeyGen Video Reference to Video](https://spiral.ai/integrations/codex/heygen-video-reference-to-video)
- [Kandinsky 6.0 Pro Image to Video](https://spiral.ai/integrations/codex/kandinsky-6-0-pro-image-to-video)

## Questions about HeyGen Video Translate Speed in Codex

**Can Codex use HeyGen Video Translate Speed?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run HeyGen Video Translate Speed like any built-in tool.

**How much does HeyGen Video Translate Speed cost in Codex?**

Up to $4.875 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 Codex plan is separate.

**Do I need a fal account to use HeyGen Video Translate Speed in Codex?**

No. Spiral runs HeyGen Video Translate 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 Video Translate Speed in Codex?**

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

**Does Codex wait while HeyGen Video Translate Speed runs?**

HeyGen Video Translate Speed runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.

**What footage works best with HeyGen Video Translate Speed?**

Start with a close-up speaker and few camera cuts. For side angles, covered mouths, or substantial facial movement, HeyGen Video Translate Precision is the stronger choice.

**How long can the source video be?**

HeyGen Video Translate Speed accepts source videos up to eight minutes long. Split longer recordings into shorter sections before translating.

**Will the translated voice still sound like the speaker?**

HeyGen Video Translate preserves the original speaker's voice while generating speech in the target language. Lip sync can also align mouth movements with that speech.

**Will the translated video have the same runtime?**

Dynamic duration can change the runtime to better fit the translated speech. Leave it enabled when natural pacing matters; disable it when a fixed runtime is required, then review the result for rushed speech.

**How can I keep product names and technical terms consistent?**

Apply a brand glossary with approved translations and terms that should stay unchanged. Review important terminology in the finished dub before publishing.

