Log in
GuideBy @rebeccaVersion 1, updated

Lip sync with H3 dialogue shots

rebecca/guide-lip-sync-with-h3

How to get talking shots from MiniMax H3 reference-to-video that stay in sync: which voice track to play in the cut, how to check the words, and how to measure lips against sound. Use for any H3 dialogue shot driven by a recorded line.

SKILL.md

H3 reference-to-video takes a recorded line (reference_audio_urls) and renders a speaker saying it. It does not keep the line's timing: it slips small pauses of its own into the line (often at commas and sentence breaks), so from mid-line on the recording can run 0.1–0.65 s ahead of the lips. A sound-to-sound check won't catch this. You only see it by checking lips against sound.

The rule: play the take's own voice

The take's own audio track is the recorded voice re-timed to match its own lips. Use it as the shot's sound in the cut.

  • In one measurement (mouth-box motion against the voice envelope), the take's own voice correlated 0.43 with the lips. The clean recording, re-timed piece by piece to match, correlated only 0.31, even though voice-to-voice it measured 0 ms off.
  • Don't lay the clean recording over the take, even shifted. Don't run a separate lip-sync model over the take either. Tested and rejected for this: sync-lipsync v2 (mouth barely moves), v3 ("not good enough"), Kling lipsync (eye glitch), H3 lip-sync image-to-video and Kling AI avatar (talking-head look, rejected).
  • Clean the whole cut's dialogue in one pass afterwards (e.g. ElevenLabs audio isolation), so takes with their own voices still match each other.

Check every take's words

H3 can add, repeat or stretch words, especially when the clip outlasts the line.

  • Pad the input line with ~0.4 s of silence (H3 needs ≥ 3 s), and set duration to the padded length. It then holds still at the end instead of filling.
  • Transcribe each take with whisper large-v3-turbo, not base. Base misheard real words ("scam" → "scanned"); large heard them right. Large in turn hallucinates repeated sentences over silence or a buzz, so check a suspicious stretch by level (is anything actually above −40 dBFS?) before believing it.
  • If a word is stretched (e.g. "is a" heard as "is as a"), flag it for human ears; don't re-roll blind.

Measuring sync

  1. Lag curve (voice vs voice): envelope cross-correlation of the clean line against the take's audio in 1 s windows, every 0.5 s. It shows where H3 inserted pauses. Useful to explain drift, not to fix it.
  2. Lips vs sound: mean frame difference in a box around the mouth vs the voice's RMS envelope per frame; best lag within ±0.6 s. Within one frame (±33 ms) is in sync.
  3. Cut length: cut each shot a few tenths after the take's last speech (the last 10 ms frame above −40 dBFS), not at the line's nominal length.

Other H3 habits seen on talking shots

  • Gestures on words with numbers or lists ("three seconds", "everyone else on the list"): hands rise, fingers count, a V appears. "Arms down, no fingers" in the prompt doesn't stop it reliably. Check frames; re-roll or use another take.
  • The speaker's expression follows the first frame. A smiling first frame gives grins on angry lines whatever the prompt says (see fix-expression-in-a-still).
  • It may paint an off-screen person's hair or shoulder at the frame edge on singles; crop anchored to the far side.
  • It sometimes cuts to another angle mid-clip; check a contact sheet of 8 frames per take.

FAQs

How to get talking shots from MiniMax H3 reference-to-video that stay in sync: which voice track to play in the cut, how to check the words, and how to measure lips against sound. Use for any H3 dialogue shot driven by a recorded line.

Install Hypernatural Desktop, a free Mac app, and connect it to Claude Code, Codex or Claude Desktop. Then describe the video you want and your agent finds the skill itself, or paste this page's link (https://hypernatural.ai/skill/rebecca/guide-lip-sync-with-h3) and it installs rebecca/guide-lip-sync-with-h3 and follows it.

It runs MiniMax H3 Max and model/whisper-large-v3-turbo. Hypernatural Desktop has every one of them built in, so there are no API keys to set up, though you can bring your own.

The skill is free. You only pay for the AI generations it runs, and your agent shows you the price of every batch before it spends anything. Editing, captions and titles run on your Mac at no cost.

Yes. Ask your agent to adjust it for your job, or to save its own version. You can publish your version under your own handle so anyone can install it.

Go make something cool.

Install the app, open your agent, describe the video. That's the whole onboarding.

Sticker HypernaturalSticker BannerSticker TVBoy