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

Codex · VideoReleased 2026-04-14

How to Use HeyGen Lipsync Speed in Codex

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.

Prompts to try with HeyGen Lipsync Speed in Codex

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

Use HeyGen Lipsync Speed to pair assets/presenter.mp4 with assets/corrected-intro.wav and save a review cut under renders/.

HeyGen Lipsync SpeedCodex
Try asking
  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    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.

    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.

    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.

    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: Codex finds HeyGen Lipsync Speed on Spiral, shows the price and runs it.

HeyGen Lipsync Speed providers and prices

Spiral runs HeyGen Lipsync Speed through fal. Open a card for today's price, with every fee included.

falVideo
HeyGen Lipsync (Speed)
fal-ai/heygen/v3/lipsync/speed

Settings you can ask for

HeyGen Lipsync Speed works from your video URL and audio URL. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Enable captionon or offoff

Generate captions in the output video.

Enable dynamic durationon or offon

Allow duration adjustment to match the new audio.

Disable music trackon or offoff

Remove background music from the source video.

Enable speech enhancementon or offoff

Enhance the replacement audio quality.

Start timea number from 0

Start time in seconds for partial lipsync.

End timea number from 0

End time in seconds for partial lipsync.

Every API field of HeyGen Lipsync (Speed) is on its tool page: open its card above.

What can you do with HeyGen Lipsync Speed in Codex?

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.

Questions about HeyGen Lipsync Speed in Codex

Can Codex use HeyGen Lipsync Speed?

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

How much does HeyGen Lipsync Speed cost in Codex?

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 Codex plan is separate.

Do I need a fal account to use HeyGen Lipsync Speed in Codex?

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 Codex?

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

Does Codex wait while HeyGen Lipsync Speed runs?

HeyGen Lipsync Speed runs in the background. Codex 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.

Get started

Start using HeyGen Lipsync Speed in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options