---
title: ReFrameVideo-LoRA
canonical_url: "https://www.modelscope.cn/models/VoidEclipseAI/ReFrameVideo-LoRA"
md_url: "https://www.modelscope.cn/models/VoidEclipseAI/ReFrameVideo-LoRA.md"
repository: VoidEclipseAI/ReFrameVideo-LoRA
last_updated: 2026-11-20
license: other
base_model:
  - MiniMaxAI/MiniMax-H3
base_model_relation: adapter
parameters: 149.1M
tensor_type:
  - F32
library_name:
  - lora
  - safetensors
  - pytorch
frameworks:
  - Pytorch
downloads: 8
stars: 0
tags:
  - lora
  - video-editing
  - video-inpainting
  - minimax-h3
  - comfyui
  - reframe
  - reframevideo
---

# ReFrameVideo-LoRA

> ReFrameVideo-LoRA - VoidEclipseAI 在 ModelScope 开源的模型。ReFrameVideo H3 LoRA

VoidEclipseAI/ReFrameVideo-LoRA 是 ModelScope 魔搭社区上的 149.1M 参数机器学习模型，采用 other 许可，基于 MiniMaxAI/MiniMax-H3 构建。

- **Repository**: VoidEclipseAI/ReFrameVideo-LoRA
- **License**: other
- **Parameters**: 149.1M
- **Base model**: MiniMaxAI/MiniMax-H3
- **Tags**: lora, video-editing, video-inpainting, minimax-h3, comfyui, reframe, reframevideo
- **Downloads**: 8
- **Stars**: 0
- **Last updated**: 2026-11-20

Source: https://www.modelscope.cn/models/VoidEclipseAI/ReFrameVideo-LoRA

---

# ReFrameVideo H3 LoRA

<video controls src="https://modelscope.cn/models/VoidEclipseAI/ReFrameVideo-LoRA/resolve/master/assets/reframevideo_promo.mp4"></video>

一个 **MiniMax H3（Ref2VA）** LoRA，把粗剪编辑过的视频重新生成为完整的成片。

**[ReFrameVideo](https://github.com/VoidEclipseAI/ReFrameVideo)** 是一个个人制作的开源项目，包括这个 LoRA 和配套的视频编辑器。在编辑器里，视频中的元素变成一个个图层，可以像在 Photoshop 里一样移动、缩放、删除，或者改变视频画幅，并用参考图控制最终画面；之后由这个 LoRA 让 H3 重新生成整段视频，补全编辑留下的空缺。

> Powered by MiniMax H3。本 LoRA 是 MiniMax H3 的修改版本，按 MiniMax H3 Community License Agreement 分发（见 [许可](#许可)）。

## 作用

ReFrameVideo 根据你的编辑准备两样输入：

- **粗剪**：每个主体摆到新位置，空出来的地方涂成纯**灰色（RGB 128）**；
- **逐像素重绘蒙版**：空区加一圈很窄的融合带。

不加这个 LoRA 时，H3 往往把灰色当成画面的一部分，原样保留或照抄。**这个 LoRA 让 H3 学会把灰色 128 当成「空的，需要补」**：用和周围镜头相符的背景或场景内容填满这些地方，保留移动过的主体，并让它们的边缘自然融入新位置。

首帧参考图是可选的。不给也能生成，但背景偶尔会在片段中途变化；给一张干净的首帧会稳定很多。

## 文件

| 文件 | 说明 |
|---|---|
| `ReFrameVideo-H3-LoRA-v1.safetensors` | LoRA（v1），放到 `ComfyUI/models/loras/`。 |
| `LICENSE` | MiniMax H3 Community License Agreement（适用于本 LoRA）。 |
| `NOTICE` | MiniMax H3 衍生模型要求附带的声明。 |

本仓库是 Hugging Face 上 [VoidEclipseAI/ReFrameVideo-LoRA](https://huggingface.co/VoidEclipseAI/ReFrameVideo-LoRA) 的镜像。下载命令：

```bash
modelscope download --model VoidEclipseAI/ReFrameVideo-LoRA ReFrameVideo-H3-LoRA-v1.safetensors --local_dir ComfyUI/models/loras
```

## 推荐设置

| 设置 | 值 |
|---|---|
| 主模型 | `minimax_h3_ref2va_int8_convrot.safetensors`（MiniMax H3 Ref2VA） |
| ReFrameVideo LoRA | `ReFrameVideo-H3-LoRA-v1.safetensors`，强度 **1.0** |
| 加速 LoRA | `pika_h3_flex_ref2va_v1_bf16.safetensors`，强度 **1.0**（[Pika H3 Flex](https://huggingface.co/Pika-Labs/Pika-H3-Flex)；ComfyUI 版在 [Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)） |
| 步数 | **6**（配合加速 LoRA） |
| 分辨率 | 768p（短边 768，例如 16:9 为 1344×768） |

按这套设置，RTX 4090 上 5 秒左右的片段约需 4–5 分钟。

## 使用方法

### 配合 ReFrameVideo（推荐）

ReFrameVideo 会准备好这个 LoRA 需要的全部输入：粗剪、像素蒙版、参考图和提示词，再自动把工作流提交给 ComfyUI。

1. 安装 ReFrameVideo 和它的 ComfyUI 节点包（[安装指南](https://github.com/VoidEclipseAI/ReFrameVideo/blob/main/docs/安装.md)）。
2. 把这个 LoRA 下载到 `ComfyUI/models/loras/`。
3. 在 ReFrameVideo 的「生成」面板里加上这个 LoRA（和加速 LoRA），设好步数。
4. 编辑画面，点「生成视频」。GitHub 首页的 [README](https://github.com/VoidEclipseAI/ReFrameVideo#readme) 有一个带截图的完整例子。

### 在自己的 ComfyUI 工作流里使用

这个 LoRA 的训练输入和 ReFrameVideo 准备的方式一样，按同样的方式准备效果最好：

- **粗剪**作为加噪的底视频：主体在新位置，空区严格为 RGB 128。
- **重绘蒙版**用 ReFrameVideo 的 `ComfyUI-Reframe` 节点包里的 `ReframeH3InpaintMask` 节点换算到 H3 的潜空间格子（蒙版要无损保存，例如 png 编码的 `.mov`，保证 255 还是 255）。
- **`<Video 1>`**：同一段粗剪缩到 768 像素宽，作为参考视频。
- **`<Picture N>`**（可选）：干净的首帧、背景图或人物参考图。
- **提示词**用 H3 的 Ref2VA 六段格式。

最简单的办法是用 ReFrameVideo 的「导出」功能：把实际用到的 `workflow_api.json`、粗剪、蒙版、参考图和提示词打包成 zip，直接拿到 ComfyUI 里用。

## 已知限制

- **不真正理解三维空间。** 镜头运动强烈时空区能补上，但前后关系、遮挡和接触可能不对（例如本该从移动后的人前面经过的物体，留在了人后面）。静止或轻微运动的镜头效果最好。
- **只用真人实拍素材训练**（不含 AI 生成的画面），对动画、卡通、三维渲染等风格化画面的效果可能较弱。
- 人形的大块空区偶尔会被补出一个新的人；手部和细节可能变差；没有首帧参考时背景可能漂移。
- 成片是模型输出的整幅画面，蒙版以外的区域也可能和原视频有细微差别。
- 这是个人项目的 v1，仍处于实验阶段。

## 许可

本 LoRA 是 **MiniMax H3 的衍生模型（Model Derivative）**，按 **[MiniMax H3 Community License Agreement](LICENSE)** 分发，条款与基础模型相同。下载或使用即表示同意这些条款，包括可接受使用政策（附件 A）。重点：

- **适用地区**：目前只适用于**排除地区（欧盟、英国、韩国、美国）以外**。这些地区的用户不在本协议授权范围内，MiniMax 请他们在 https://platform.minimax.io/h3-license 申请授权。
- **商业使用**：协议允许。年收入超过 2000 万美元的产品需要另外取得 MiniMax 的书面授权；使用 MiniMax H3 作品的商业产品必须在用户界面上显著标注「MiniMax H3」。
- **输出**不得用于改进其他 AI 模型（第 V.3 条）。

见 [`NOTICE`](NOTICE)：

> MiniMax H3 is licensed under the MiniMax H3 Community License Agreement, Copyright © 2026 MiniMax. All Rights Reserved.

ReFrameVideo 软件（编辑器、后端和 ComfyUI 节点）是独立的作品，采用 AGPL-3.0，并可另购商业授权，见 [GitHub 仓库](https://github.com/VoidEclipseAI/ReFrameVideo)。

以上只是方便阅读的摘要，以 [LICENSE](LICENSE) 原文为准。

## 致谢

- [MiniMax H3](https://huggingface.co/MiniMaxAI/MiniMax-H3)（MiniMax）：本 LoRA 的基础模型。
- [Pika H3 Flex](https://huggingface.co/Pika-Labs/Pika-H3-Flex)（Pika）：加速 LoRA，6 步出片。
- [ComfyUI](https://github.com/Comfy-Org/ComfyUI) 和 Comfy-Org 整理的 [MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3) 模型文件：本 LoRA 在 ComfyUI 里运行。
- ReFrameVideo 编辑器还用到 [SAM 3](https://github.com/facebookresearch/sam3)、[Qwen Image](https://github.com/QwenLM/Qwen-Image)、[Qwen3-VL](https://github.com/QwenLM/Qwen3-VL) 和 [MatAnyone 2](https://github.com/pq-yang/MatAnyone2)，完整列表见 [GitHub README](https://github.com/VoidEclipseAI/ReFrameVideo#致谢)。

## 关于

ReFrameVideo 由我一个人开发：构想、LoRA 训练、交互设计和测试由我完成，编辑器的代码在 AI 编程助手（Claude Code）协助下编写。它还比较粗糙，非常欢迎反馈、失败案例和参与改进：请在 [GitHub](https://github.com/VoidEclipseAI/ReFrameVideo) 提 Issue 或讨论。
