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

Codex · Video

How to Use Sync Lipsync 2.0 Pro in Codex

Sync Lipsync 2.0 Pro matches talking footage to replacement audio with extra attention to facial detail. Compared with Sync Lipsync 2.0, it adds diffusion-based super resolution to preserve beards, teeth, and features around the mouth.

Prompts to try with Sync Lipsync 2.0 Pro in Codex

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

Use Sync Lipsync 2.0 Pro for the presenter close-up in assets/intro.mp4 with assets/new-intro.wav. Save the result beside the source so I can inspect the teeth and beard detail.

Sync Lipsync 2.0 ProCodex
Try asking
  • Use Sync Lipsync 2.0 Pro to match assets/animated-host.mp4 to assets/host-dialogue.wav. Check that the character has a human-like face and visible speaking motion first.

  • Make a talking-head video with Sync Lipsync 2.0 Pro from this headshot and this 20-second voiceover. Save the result in ./assets.

  • Create a 15-second founder intro with Sync Lipsync 2.0 Pro using the photo and script I attach.

  • Turn this audio clip into a lip-synced avatar video with Sync Lipsync 2.0 Pro.

How to set up Sync Lipsync 2.0 Pro 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 Sync Lipsync 2.0 Pro

    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/sync-lipsync/v2/pro",
        "input": {
          "video_url": "https://storage.googleapis.com/falserverless/example_inputs/sync_v2_pro_video_input.mp4",
          "audio_url": "https://storage.googleapis.com/falserverless/example_inputs/sync_v2_pro_audio_input.mp3"
        }
      }'

Then paste one of the prompts above: Codex finds Sync Lipsync 2.0 Pro on Spiral, shows the price and runs it.

Sync Lipsync 2.0 Pro providers and prices

Spiral runs Sync Lipsync 2.0 Pro through fal. Open a card for today's price, with every fee included.

falVideo
Sync Lipsync
fal-ai/sync-lipsync/v2/pro

Settings you can ask for

Sync Lipsync 2.0 Pro works from your video URL and audio URL. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sync modecut_off, loop, bounce, silence, or remapcut_off

Lipsync mode when audio and video durations are out of sync.

Every API field of Sync Lipsync is on its tool page: open its card above.

What can you do with Sync Lipsync 2.0 Pro in Codex?

Turn recorded presenters and animated talking shots in your project into videos with replacement dialogue. Your coding agent can prepare the media, run Sync Lipsync 2, and organize previews for review.

Localize instructor-led lessons

Match an instructor’s talking footage to separately recorded translations for learners in other languages.

Dub creator videos

Give a talking-head video a translated speech track with mouth movements that follow the new recording.

Personalize sales greetings

Reuse a recorded presenter with separately prepared greetings for individual prospects.

Adapt customer onboarding videos

Match a presenter’s footage to new onboarding messages for different customers or audiences.

Replace a recorded line

Pair an existing talking shot with a corrected audio take, then review whether the mouth movement fits the replacement dialogue.

Add dialogue to generated humans

Match an AI-generated human’s visible speaking motion to a finished voice recording.

Localize animated dialogue

Use an existing animated talking shot with a human-like face and a translated dialogue recording.

Questions about Sync Lipsync 2.0 Pro in Codex

Can Codex use Sync Lipsync 2.0 Pro?

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

How much does Sync Lipsync 2.0 Pro cost in Codex?

Up to $6.50 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 Sync Lipsync 2.0 Pro in Codex?

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

How long does it take to set up Sync Lipsync 2.0 Pro in Codex?

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

Does Codex wait while Sync Lipsync 2.0 Pro runs?

Sync Lipsync 2.0 Pro runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.

What does Sync Lipsync 2 change in a video?

It changes the speaker’s lip movements to match a replacement audio track. Use it to dub talking footage or change dialogue while retaining the speaker’s visual speaking style.

Can Sync Lipsync 2 work with different languages?

Yes. Supply the translated speech as audio, and it can match the speaker’s lips to that recording in any language.

Can I start with a still photo?

Use video that already shows natural speaking motion. Still frames and inactive mouths do not provide the motion Sync Lipsync 2 needs for reliable results.

Is the finished video only 512×512?

The 512×512 limit describes the generated face region. The face is placed back into the original frame, and the output retains the source video’s dimensions and orientation.

Does Sync Lipsync 2 work on animated characters?

It can work on animated characters with human-like faces. Animals and non-humanoid characters are unsupported, so start with a short test before processing a longer scene.

Get started

Start using Sync Lipsync 2.0 Pro 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