YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
mslc LoRA 使用指南(multi_scale_layered_composition 多尺度分层构图)
基于 MiniMax-H3(Hunyuan3 视频)训练的视频 LoRA,核心能力:在单个镜头内构建"特写→近景→中景→远景→超远景"五层纵深构图,配合大气透视(atmospheric perspective),生成电影感的层次画面。
一、这个 LoRA 是什么
| 项目 | 内容 |
|---|---|
| 模型底座 | Comfy-Org/MiniMax-H3(Hunyuan3 视频模型) |
| LoRA 结构 | rank 32 / alpha 32(高容量,构图细节丰富),float16 |
| 训练数据 | 30 段视频,10 类构图 × 3 段(本地目录 H:\景深\multi_scale_lora_dataset) |
| 训练规格 | 3000 步 / lr 1e-4 / 512px / 90帧 / 24fps,8小时43分钟完成 |
| 采样口径 | 384×576 / 90帧 / 24fps / flowmatch 8步(turbo)/ guidance 1 |
| 触发词 | **multi_scale_layered_composition**(必须带) |
| 训练完成 | ✅ 2026-08-22 12:38,3000/3000 步,最终 loss ≈ 0.26 |
它擅长什么:五层纵深构图(前景框景/过肩/第一人称/浅景深/人物融入大风景/低机位/天空倒影/室内看窗外/雨雾透视/建筑走廊 10 类)、镜头层次感、大气透视。
它不负责什么:物体物理运动、人物动作、剧情(交给其他 LoRA/提示词)。
**有想法就着手训练的一个LORA,主要想增强画面的立体感和层次感,有需要的可以下载试下。
测试视频
测试视频1
测试视频2
二、权重文件说明(本地已就绪)
| 文件 | 大小 | 用途 |
|---|---|---|
mslc_h3_lora_v1_pruned.safetensors |
310MB | ✅ ComfyUI 推理用(推荐) |
三、ComfyUI 加载方法
- 将
mslc_h3_lora_v1_pruned.safetensors复制到ComfyUI/models/loras/ - 工作流节点:
- 加载 MiniMax-H3 底座(Checkpoint/Diffusion Model 节点)
- LoraLoader 节点加载本 LoRA,
strength_model推荐 0.8~1.0 - 采样器选 flowmatch 系,接 VAE Decode
- 本 LoRA 架构标记
minimax_h3,只能配 H3 底座 - 建议分辨率 384×576(训练采样口径)或 768×1152(2倍)
四、参数推荐表
| 参数 | 训练/采样口径 | 推荐范围 | 说明 |
|---|---|---|---|
| LoRA 强度 | 1.0 | 0.8 ~ 1.0 | 构图层次弱→调高;过强构图僵硬→调低 |
| 分辨率 | 采样384×576 | 384×576 / 768×1152 | 竖构图为主(高>宽) |
| 帧数 | 90 | 49 ~ 97 | 90帧≈3.75秒 |
| fps | 24 | 24 | 与训练一致 |
| 采样步数 | 8(turbo) | 8 ~ 16 | 训练用turbo,16步画质更稳 |
| guidance | 1(turbo) | 1 ~ 3 | 训练是 turbo 低引导,别用5 |
| seed | 42 | 固定找构图再换 | 同seed可复现 |
| 负面提示词 | 空 | 建议加画质负向 | 见 5.4 |
五、提示词完整教学
5.1 核心模板(五层结构)
本 LoRA 的 caption 全部是固定五段式结构,照此写效果最佳:
multi_scale_layered_composition, 特写是【最近处物体】, 近景是【第二层】, 中景是【第三层】, 远景是【第四层】, 超远景是【最远处+天空】, single continuous camera, atmospheric perspective
关键规则:
- 必须以
multi_scale_layered_composition开头(触发词) - 五层依次为:特写→近景→中景→远景→超远景,每层都要写
- 结尾固定
single continuous camera, atmospheric perspective - 语言:中文描述层次,效果最好(训练caption就是中文结构)
5.2 十类构图模板(直接套用)
① 前景框景(特写树枝/物体作前景框)
multi_scale_layered_composition, 特写是近处樱花枝, 近景是土路与草坡, 中景是湖面与栈桥, 远景是对岸村镇, 超远景是富士山与天空, single continuous camera, atmospheric perspective
② 过肩远眺(人物肩背作前景)
multi_scale_layered_composition, 特写是帽檐与背身, 近景是人物肩头, 中景是建筑楼宇, 远景是远处高楼, 超远景是天际线, single continuous camera, atmospheric perspective
③ 第一人称伸手(手/手持物作特写)
multi_scale_layered_composition, 特写是伸出的手与手臂, 近景是近处水面反射, 中景是海鸥群, 远景是山峦, 超远景是落日与云层, single continuous camera, atmospheric perspective
④ 浅景深物体(前景物体虚化特写)
multi_scale_layered_composition, 特写是前景花束, 近景是花丛, 中景是花园, 远景是树影, 超远景是天空, single continuous camera, atmospheric perspective
⑤ 人物融入大风景
multi_scale_layered_composition, 特写是前景树叶, 近景是人物背影, 中景是奔跑的人影, 远景是层叠山峦, 超远景是云海, single continuous camera, atmospheric perspective
⑥ 低机位城市(仰拍街景)
multi_scale_layered_composition, 特写是鞋与裙摆, 近景是低角度台阶, 中景是近处楼宇, 远景是更高楼群, 超远景是云层与飞鸟, single continuous camera, atmospheric perspective
⑦ 戏剧天空倒影(水面倒影)
multi_scale_layered_composition, 特写是前景水面涟漪, 近景是水面倒影, 中景是湖岸, 远景是山影, 超远景是晚霞与天空, single continuous camera, atmospheric perspective
⑧ 室内看窗外
multi_scale_layered_composition, 特写是窗台植物与窗框, 近景是桌上的物品, 中景是窗外庭院, 远景是远山与房屋, 超远景是云层, single continuous camera, atmospheric perspective
⑨ 雨雾空气透视
multi_scale_layered_composition, 特写是滴水与树叶, 近景是湿润的路, 中景是街道, 远景是雾中楼房, 超远景是晨雾天空, single continuous camera, atmospheric perspective
⑩ 建筑走廊(纵深柱廊/透视)
multi_scale_layered_composition, 特写是最近的石柱, 近景是相邻石柱, 中景是廊道地面, 远景是更远的柱列, 超远景是廊尽头的庭院光, single continuous camera, atmospheric perspective
5.3 自由发挥模板
替换任意层次的描述即可创作新构图,保持五层结构:
multi_scale_layered_composition, 特写是【A】, 近景是【B】, 中景是【C】, 远景是【D】, 超远景是【E】, single continuous camera, atmospheric perspective
层次词汇库:
- 特写层:近处樱花枝 / 帽檐 / 伸出的手 / 前景花束 / 窗台植物 / 石柱 / 鞋与裙摆 / 水面涟漪 / 滴水树叶
- 近景层:人物肩头 / 花丛 / 湿润的路 / 土路草坡 / 低角度台阶 / 水面倒影 / 桌上的物品
- 中景层:湖面栈桥 / 街道 / 廊道地面 / 花园 / 奔跑的人影 / 近处楼宇 / 湖岸 / 窗外庭院
- 远景层:对岸村镇 / 山峦 / 更高楼群 / 层叠山峦 / 山影 / 雾中楼房 / 更远的柱列
- 超远景层:富士山与天空 / 天际线 / 落日云层 / 云海 / 晚霞天空 / 晨雾 / 廊尽头庭院光
### 5.4 调参技巧
| 现象 | 调整 |
|---|---|
| 层次感弱/像平片 | LoRA 强度提到 1.0;确认五层都写了 |
| 构图太满/僵硬 | 强度降到 0.7,换 seed |
| 画面糊 | 采样步数 8→16,guidance 提到 2~3 |
| 竖构图变形 | 用 384×576 或 768×1152(保持 2:3) |
| 想更像官方效果 | 直接用 5.2 的官方模板 + guidance 1 + 8步 |