Nodes/comfy-h3md-director/H3MD Motion Control (pose / depth)
ComfyUI Node

H3MD Motion Control (pose / depth)

H3MD Loop motion control: pose skeleton (SDPose / DWPose) or depth (Depth Anything V2) + MiniMax H3 Fun ControlNet on the low-res stage. Connect to the Loop's depth_control input. Tick 'depth' on a video in the Director editor to use it as the motion source.

By 1113800942·Created 11 days ago·Updated a day ago· 17
H3MD Motion Control (pose / depth)
  • vae
  • motion_control
◄control_modelminimax_h3_fun_controlnet_union_pruned_int8_convrot.safetensors►
◄strength0.70►
◄start_percent0.000►
◄end_percent0.600►
◄control_kindpose►
◄pose_enginesdpose►
◄pose_handstrue►
◄pose_facefalse►
◄pose_feetfalse►
◄depth_modeldepth_anything_v2_vitl.pth►
◄depth_resolution512►
◄sam3_enabledfalse►
◄sam3_threshold0.30►
◄sam3_fill20►
◄sam3_grow2►
◄sam3_blur2►
◄sam3_outputsilhouette►
CategoryMiniMax H3/H3MD

Inputs (18)

NameTypeDefaultDescription
control_modelCOMBOminimax_h3_fun_controlnet_union_pruned_int8_convrot.safetensorsMiniMax H3 Fun ControlNet file in models/model_patches (int8). Loaded by the Loop only for segments with a depth video, released after their low-res stage.
vaeVAEVideo VAE used by core's Fun ControlNet to encode the control video (passed through as a reference, nothing is loaded here).
strengthFLOAT0.700–10—
start_percentFLOAT0.0000–1—
end_percentFLOAT0.6000–1—
control_kindCOMBOposepose = skeleton (body motion only, any character / outfit; Fun ControlNet 2.0 recommended). depth = Depth Anything V2, same as H3MD Depth Control.
pose_engineCOMBOsdposepose only. sdpose = ComfyUI core SDPose wholebody (models/checkpoints/sdpose_wholebody_fp16.safetensors). dwpose = comfyui_controlnet_aux DWPose (yolox_l.onnx + dw-ll_ucoco_384_bs5.torchscript.pt; uses depth_resolution).
pose_handsBOOLEANtruepose only: draw hands / fingers.
pose_faceBOOLEANfalsepose only: draw face points (off: the prompt / reference decides the face).
pose_feetBOOLEANfalsepose only (sdpose): draw feet points.
depth_modelCOMBOdepth_anything_v2_vitl.pthDepth Anything V2 checkpoint (comfyui_controlnet_aux). Loaded per depth segment, unloaded right after.
depth_resolutionINT51264–2048Depth inference short side (aux keeps the aspect, no crop).
sam3_enabledBOOLEANfalseSAM3 mask on depth videos that have a SAM3 prompt (Director editor): only the prompted objects keep their depth, the rest is black. Empty prompt = full depth. The SAM3 prompt never enters the H3 prompt.
sam3_thresholdFLOAT0.300–1SAM3 detection score threshold (core SAM3_VideoTrack detection_threshold).
sam3_filloptINT200–256SAM3 mask: fill enclosed holes up to this size (px of the source video). Open gaps between legs / arm and body are never filled.
sam3_growoptINT20–256SAM3 mask: grow outward (px of the source video). Keep small: a silhouette wider than the body leaves a translucent ghost (e.g. on the floor). Default 2.
sam3_bluroptINT20–256SAM3 mask: gaussian feather radius (px of the source video). Default 2.
sam3_outputoptCOMBOsilhouetteWith SAM3: silhouette = the cleaned mask as a white figure on black (author's workflow) feeds the ControlNet AND <Video N> - only shape and motion, no depth shading, so the reference video carries no picture at all. masked_depth = the depth inside the mask (grey figure).

Outputs (1)

NameTypeDescription
motion_controlH3MD_DEPTH—