
MiniMax H3 Role Swap Face Refine
This workflow is the flagship role swap / reference editing route in the MiniMax H3 swap episode. It replaces the character in a reference video with the character defined by a reference image, then runs an independent face refine pass over the generated clip to clean up facial detail and identity stability before the final video is exported. The inspected graph uses the MiniMax H3 hybrid FL2VA/Ref2VA INT8 base model (minimax_h3_hybrid_fl2va_ref2va_zs05_b25-49_int8.safetensors), Qwen3-VL 32B NVFP4/AWQ text encoding, MiniMax H3 video VAE (INT8 ConvRot) and audio VAE (FP32), and OpenVDN DMD8 execution planning with custom samplers. Depth control comes from Video Depth Anything ViT-S (518x1280 fp16, gray), subject tracking comes from SeC full-clip segmentation with feathered mask compositing, and the swap is driven by the MiniMaxH3ReferenceToVideo control node that combines the Picture 1 identity reference with the single reference video depth composite (768x768, 362-frame setting). Reference audio is encoded through the LTXV audio VAE and the final clip is packaged at a unified 24 FPS with a safe audio channel. On top of the base swap, the ADDON Face chain detects faces with YuNet (ONNX face detection), crops a 512 AV latent window around the tracked face, re-samples it with a separate minimax_h3_fl2va_int8_convrot model using a low-denoise 12-step schedule (0.45 denoise, dual_clock_euler / native_flow), and stitches the refined crop back into the full frame. The Stitch + Audit node is a diagnostic output and is not part of the final deliverable. This package is meant for ComfyUI and RunningHub users who want a ready-made character replacement graph with a built-in face correction stage, instead of wiring loaders, encoders, VAEs, depth, segmentation, and face refine nodes by hand. It is especially useful when the base swap works but facial detail or identity drift needs an extra pass. Main features: - Character replacement driven by a multi-view Picture 1 identity reference plus reference video depth composite - Video Depth Anything ViT-S whole-frame depth and SeC full-clip segmentation with feathered compositing - MiniMax H3 hybrid FL2VA/Ref2VA INT8 base with OpenVDN DMD8 execution planning - Independent face refine stage: YuNet detection, 512 AV latent crop, low-denoise 12-step re-sample, stitch back - Face tracking preview and refined crop preview outputs f






















