Extensions/H3 Mask Puppeteer
ComfyUI Extension

H3 Mask Puppeteer

Interactive video mask animation and preparation for MiniMax H3 and ComfyUI.

By Konstantin-Raw-Fantasy·Created about 21 hours ago·Updated about 20 hours ago· 0
Konstantin-Raw-Fantasy/ComfyUI-H3-MaskPuppeteer
Nodes—
On cloudLocal install
Stars0
Updatedabout 20 hours ago
Readme

ComfyUI H3 Mask Puppeteer

English · Русский · 简体中文

A video mask editor built for MiniMax H3 in ComfyUI. Animate regions in a clip and prepare it for H3 at 24 FPS with compatible dimensions and length.

  • MiniMax H3 Fun ControlNet — use mask_sequence for one combined inpainting mask, even when you draw several shapes.
  • MiniMax H3 Reference to Video — use reference_video for a clip with independently moving color markers. Refer to the colors in your prompt, for example “Replace the red square with a car.”

H3 Mask Puppeteer editor with three colored masks on a video frame

Watch the node’s output example (MP4)

Installation from GitHub

Run this command from ComfyUI/custom_nodes, then restart ComfyUI:

git clone https://github.com/Konstantin-Raw-Fantasy/ComfyUI-H3-MaskPuppeteer.git

ComfyUI Manager installation is planned once the node is listed in Comfy Registry. Use GitHub for now.

Quick start

  1. Add H3 Mask Puppeteer, upload a clip, press Run, then open Launch Mask Editor.
  2. Press Add mask, choose a color, and click the video to place it.
  3. Play — click the mask once and move the mouse without holding the button. Click again to release. Start Manual — choose a frame, hold the left button to drag the mask, then release.
  4. Use Preview to check the movement, then Save mask & return and press Run again.

Mouse wheel — scroll down to shrink the mask and suggest movement away from the viewer, or up to enlarge it and suggest movement toward the viewer.

Connection examples

Fun ControlNet — connect mask_sequence to mask and source_video to source_video. All shapes share one inpainting mask.

H3 Mask Puppeteer connected to Apply MiniMax H3 Fun ControlNet

Reference to Video — connect reference_video to ref_video_0 and match width, height, and length using the Puppeteer outputs. Refer to the colored markers in the prompt for <Video 1>.

H3 Mask Puppeteer connected to MiniMax H3 Reference to Video

Requirements

Use a ComfyUI build with native MiniMax H3 nodes and video loading. No extra Python packages or VHS are required for the editor. To generate or edit video, you still need the appropriate MiniMax H3 model files.

License

MIT. Fork of BISAM20/ComfyUI-AnimatedMaskEditor, with the original attribution preserved.