ComfyUI>Workflows>FastH3 Digital Human | Lip-Synced Video Generator

FastH3 Digital Human | Lip-Synced Video Generator

Workflow Name: RunComfy/FastH3-Digital-Human
Workflow ID: 0000...1576
Bring your digital avatar to life from one portrait. Upload your dialogue to drive lip sync. Add the spoken lines to guide mouth movements. Generate video with a six-step adapter. Export an MP4 with your trimmed dialogue included.

ComfyUI FastH3 Digital Human Workflow

FastH3 Digital Human in ComfyUI | 6-Step Lip Sync
Want to run this workflow?
  • Fully operational workflows
  • No missing nodes or models
  • No manual setups required
  • Features stunning visuals

ComfyUI FastH3 Digital Human Examples

FastH3 Digital Human: Lip‑synced talking portraits from one photo and your voice#

FastH3 Digital Human turns a single reference portrait and an uploaded dialogue recording into a clean, lip‑synced talking video inside ComfyUI. It couples MiniMax H3 with the six‑step Pika H3 Flex Ref2VA adapter, builds audio‑aware video latents from your still image, and exports an MP4 that keeps the original voice track. It is designed for creators who need fast, reliable talking heads for tutorials, product explainers, character performances, and localized dialogue.

The workflow follows a compact six‑step schedule tuned for H3 Flex and automatically matches the visuals to your trimmed clip length. In practice, adding the exact spoken line to the prompt often improves consonant closures and vowel shapes, resulting in crisper lip motion for your FastH3 Digital Human.

Key models in Comfyui FastH3 Digital Human workflow#

  • MiniMax H3 hybrid diffusion model. Core generator that fuses visual and audio latents to synthesize a talking video from a single reference image. See the hybrid H3 weights and references on Hugging Face for background on the approach. MiniMax-H3-x-Z-Image-hybrid
  • Pika H3 Flex Ref2VA adapter. A Ref2VA LoRA that transfers identity and pose cues from a reference image into audio‑driven video latents and enables an efficient six‑step schedule. The ComfyUI usage notes describe how the adapter guides lip articulation and timing. Pika H3 Flex for ComfyUI
  • MiniMax H3 VAEs for video and audio. Paired decoders that map denoised latents back to RGB frames and reconstruct audio‑condition features used during generation. They ensure the frames and the soundtrack stay in sync through the pipeline.

How to use Comfyui FastH3 Digital Human workflow#

The graph is organized into five groups that hand off work from inputs to the final MP4. UserInput collects your assets, Model loads H3 and the Ref2VA adapter, Conditioning builds audio‑aware video latents at the target resolution and length, Sampling generates frames with the six‑step schedule, and Output muxes the frames with your original audio.

UserInput#

Provide a sharp, front‑facing portrait with neutral expression and consistent lighting, then upload your dialogue audio. Optionally paste a short creative brief plus the verbatim transcript into the prompt block to improve mouth shapes. If needed, set a start time and duration for the clip to trim breaths or silence. Key entry points here are LoadImage (#137), LoadAudio (#171), Trim Source Audio | Start Time + Duration (Seconds) (#219), and the prompt editor General Dialogue Prompt | Follows Reference Image and Trimmed Audio (#138).

Model#

This group loads the MiniMax H3 UNet and applies the Pika H3 Flex Ref2VA LoRA so the model respects identity while responding to your audio. A small sigma shift prepares the network for audio‑aware denoising, and the attention backend is set for stable performance on common GPUs. An optional block‑sparse attention path is provided for SOL acceleration; it is bypassed by default and should be enabled only if you know your hardware supports it. Together these pieces establish the FastH3 Digital Human’s core generation behavior.

Conditioning#

The reference portrait, prompt, resolution, and audio are fused to create audio‑driven video latents. The workflow measures the trimmed audio duration and converts it to a frame count that follows the original H3 alignment rule, so visual timing tracks the speech naturally. MiniMaxH3ReferenceToVideo (#226) produces the positive conditioning and an AV latent from your inputs, while ResolutionSelector (#221) sets width and height. The source audio is then locked for reuse so the exported file preserves your exact recording.

Sampling#

A lightweight sampler with the official six‑step schedule denoises the AV latent into a sequence of frames. Guidance from the conditioning stage keeps identity stable and ensures lip motion follows syllable timing. The schedule is chosen for speed without giving up temporal coherence, which is well suited for short talking clips. After denoising, frames are decoded through the video VAE for delivery to the encoder.

Output#

The video helper combines the decoded frames with the original, unmodified audio and writes an MP4. It trims the timeline to your audio automatically, preventing extra black frames or cut‑off speech. You can change the filename prefix and container if desired. The result is a clean FastH3 Digital Human clip ready to preview or publish.

Key nodes in Comfyui FastH3 Digital Human workflow#

MiniMaxH3ReferenceToVideo (#226)#

Builds the audio‑aware video latent and positive conditioning from the reference portrait, prompt, VAEs, and CLIP‑style text features. Adjust prompt to include both a concise scene description and the exact spoken line for clearer articulation. Use width, height, and length to target framing and clip duration; these are typically fed by the resolution and audio‑length helpers. Keep ref_image_size aligned with your intent to preserve composition from the portrait.

LOCK SOURCE AUDIO / GENERATE VIDEO ONLY (#227)#

Drives the AV latent with your trimmed source_audio while passing the original recording forward for muxing. This ensures the model follows syllable timing but the final MP4 keeps your exact voice without regeneration artifacts. If you update the trim or swap the take, requeue to refresh both the drive and the export. Reference implementation and behavior are documented in the VRGDG custom node. VRGDG MiniMax H3 Audio Drive

Trim Source Audio | Start Time + Duration (Seconds) (#219)#

Lets you crop the input recording to the phrase you want animated. Use it to remove leading silence, breaths, or pickup noise so the computed frame count matches spoken content. Shorter, well‑timed clips generally yield tighter, more readable mouth motion.

Official Resolution Selector | Aspect Ratio + Pixel Count + Alignment (#221)#

Picks an aspect ratio and pixel budget that match the model’s latent grid alignment. Choose portrait, square, or landscape according to delivery needs, then refine until the preview dimensions look right for your subject’s framing. Higher settings increase detail and memory cost; choose conservatively for long recordings.

Official Pika 6-Step Sigma Schedule (with LCM) (#203)#

Locks in the six‑step sigma schedule recommended by the Pika H3 Flex docs so you get fast, stable talking heads. Keep this as is for best speed and consistency; changes here can desynchronize timing or soften lip detail. See the adapter notes for rationale and tuning context. Pika H3 Flex for ComfyUI

VHS_VideoCombine (#214)#

Muxes decoded frames with original_audio into a final MP4. filename_prefix controls how outputs are named, and format selects the container and codec. Enable audio trimming in this node to ensure the video length matches your crop exactly.

Optional extras#

  • For the most convincing FastH3 Digital Human, use a sharp, front‑facing portrait with neutral lips and eyes in focus.
  • Paste the exact transcript into the prompt along with a one‑line scene description; this commonly improves lip closures and vowel rounding.
  • Trim to the phrase you care about rather than feeding long takes; shorter clips usually produce steadier identity and articulation.
  • If you change aspect ratio later, revisit the crop on your portrait so eyes and mouth stay near the frame center.
  • Enable the SOL attention path only if your GPU supports it and you have tested visual parity.

Acknowledgements#

This workflow implements and builds upon the following works and resources. We gratefully acknowledge RunningHub for the original workflow, taurusduan for the MiniMax-H3-x-Z-Image-hybrid model, Pika-Labs for the Pika-H3-Flex Ref2VA adapter for ComfyUI, and vrgamegirl19 for the VRGDG MiniMax H3 Audio Drive node for their contributions and maintenance. For authoritative details, please refer to the original documentation and repositories linked below.

Resources#

Note: Use of the referenced models, datasets, and code is subject to the respective licenses and terms provided by their authors and maintainers.

RunComfy
Copyright 2026 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.