---
license: other
license_name: minimax-h3-community-license-agreement
license_link: LICENSE
base_model: MiniMaxAI/MiniMax-H3
pipeline_tag: video-to-video
tags:
- lora
- video-editing
- video-inpainting
- minimax-h3
- comfyui
- reframe
- reframevideo
---
# ReFrameVideo H3 LoRA
A LoRA for **MiniMax H3 (Ref2VA)** that turns a roughly edited video into a finished clip. It is the model half of **[ReFrameVideo](https://github.com/VoidEclipseAI/ReFrameVideo)**, an experimental open-source toolkit for free-form video editing: you move, remove, resize or reframe the people in a shot with a layer-based editor, and this LoRA lets H3 regenerate the clip so the edit blends in.
> Powered by MiniMax H3. This LoRA is a modification of MiniMax H3 and is distributed under the MiniMax H3 Community License Agreement (see [License](#license)).
## What it does
ReFrameVideo prepares two inputs from your edit:
- a **rough cut**: every subject is placed in its new position, and the areas left empty are painted flat **grey (RGB 128)**;
- a **per-pixel redraw mask**: the empty areas plus a thin blending band.
Without this LoRA, H3 tends to treat the grey areas as part of the picture and keeps or copies them. **The LoRA teaches H3 that grey 128 means "empty, fill me"**: it fills those areas with background or scene content that fits the surrounding shot, keeps the moved subjects, and blends their edges into their new surroundings.
A first-frame reference image is optional. The LoRA works without one, but the background can sometimes drift during the clip; a clean first frame keeps it much more stable.
## Files
| File | Description |
|---|---|
| `ReFrameVideo-H3-LoRA-v1.safetensors` | The LoRA (v1). Put it in `ComfyUI/models/loras/`. |
| `LICENSE` | MiniMax H3 Community License Agreement (applies to this LoRA). |
| `NOTICE` | Required notice for MiniMax H3 derivatives. |
## Recommended setup
| Setting | Value |
|---|---|
| Base model | `minimax_h3_ref2va_int8_convrot.safetensors` (MiniMax H3 Ref2VA) |
| ReFrameVideo LoRA | `ReFrameVideo-H3-LoRA-v1.safetensors` @ **1.0** |
| Speed-up LoRA | `pika_h3_flex_ref2va_v1_bf16.safetensors` @ **1.0** ([Pika H3 Flex](https://huggingface.co/Pika-Labs/Pika-H3-Flex); a ComfyUI copy is in [Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)) |
| Steps | **6** (with the speed-up LoRA) |
| Resolution | 768p (short side 768, e.g. 1344×768 for 16:9) |
On an RTX 4090 a ~5 s clip takes roughly 4–5 minutes with these settings.
## How to use
### With ReFrameVideo (recommended)
ReFrameVideo builds every input this LoRA expects: the rough cut, the pixel mask, the reference images and the prompt. It then queues the workflow in ComfyUI for you.
1. Install ReFrameVideo and its ComfyUI node pack ([installation guide](https://github.com/VoidEclipseAI/ReFrameVideo/blob/main/docs/安装.md)).
2. Download this LoRA into `ComfyUI/models/loras/`.
3. In ReFrameVideo's **Generate** panel, add the LoRA (and the speed-up LoRA) and set the steps.
4. Edit your shot and click **Generate video**.
### In your own ComfyUI workflow
The LoRA was trained on inputs prepared the same way ReFrameVideo prepares them, so results are best when you match that setup:
- **Rough cut** as the noised base video: subjects in their new positions, empty areas exactly RGB 128.
- **Redraw mask** converted to H3's latent grid with the `ReframeH3InpaintMask` node from ReFrameVideo's `ComfyUI-Reframe` node pack (store the mask losslessly, e.g. PNG-encoded `.mov`, so 255 stays 255).
- **`