MiniMax-H3-Person-Remover-LoRA
Remove People from Videos with Background Restoration
2 min readupdated
This LoRA (a small add-on for a base model) for the MiniMax H3 video model is designed to remove selected people from video footage followed by intelligent background reconstruction. Paired with a specialized ComfyUI workflow, the tool uses the SAM 3.1 segmenter for precise object tracking and fills in the resulting gaps across overlapping frames. The model is useful for video editors, content creators, and researchers working with generative video based on ComfyUI and heavy base architectures.
Key features
- Specialized LoRA for targeted removal of objects and people from video sequences.
- Full integration with a comprehensive ComfyUI workflow (H3 Relay 2.0) for frame-by-frame processing.
- Use of the SAM 3.1 segmentation model for automatic mask tracking.
- Training on a hybrid dataset of static pairs and dynamic scenes while preserving original timing.
What you can do
- Remove accidental passersby or extra characters from short video clips.
- Recreate a realistic background based on a clean first frame and a text prompt.
- Configure frame-by-frame regeneration and rerolls for complex video segments in ComfyUI.
Example
Example of using the workflow in ComfyUI with a basic prompt for object removal:Remove the green-masked person and reconstruct the background. Preserve the rest of the video, including its camera motion and frame timing.
Read more
DetailsArchitecture: minimax_h3_ref2va (pruned)
Training: 2000 optimizer steps, rank/alpha 16/16
Hardware: tested on an RTX 4090, significant VRAM and offloading required
Limitations: uncompensated camera movements and first-frame errors can accumulate across windows














Comments