Downloads · 30 days
0
Jojocodex/mslc-h3-lora
mslc-h3-lora is a machine learning model from Jojocodex. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
基于 MiniMax-H3(Hunyuan3 视频)训练的视频 LoRA,核心能力:在单个镜头内构建"特写→近景→中景→远景→超远景"五层纵深构图,配合大气透视(atmospheric perspective),生成电影感的层次画面。
Downloads · 30 days
0
Access
Public
Updated Aug 22, 2026
Repo size
310 MB
Likes
5
Public
Click a slice to open those files.
.safetensors310 MB · 100%
From the Hugging Face model README
基于 MiniMax-H3(Hunyuan3 视频)训练的视频 LoRA,核心能力:在单个镜头内构建"特写→近景→中景→远景→超远景"五层纵深构图,配合大气透视(atmospheric perspective),生成电影感的层次画面。
| 项目 | 内容 |
|---|---|
| 模型底座 | 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 <video controls width="40%" src="https://cdn-uploads.huggingface.co/production/uploads/6a6748afef317ed5adb30050/42Qyt4lhXq8eDPHM2W1gk.mp4"></video>
测试视频2 <video controls width="40%" src="https://cdn-uploads.huggingface.co/production/uploads/6a6748afef317ed5adb30050/sBIR8_pvGlMUi-71ke_bi.mp4"></video>
| 文件 | 大小 | 用途 |
|---|---|---|
mslc_h3_lora_v1_pruned.safetensors | 310MB | ✅ ComfyUI 推理用(推荐) |
mslc_h3_lora_v1_pruned.safetensors 复制到 ComfyUI/models/loras/strength_model 推荐 0.8~1.0minimax_h3,只能配 H3 底座| 参数 | 训练/采样口径 | 推荐范围 | 说明 |
|---|---|---|---|
| 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 |
本 LoRA 的 caption 全部是固定五段式结构,照此写效果最佳:
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
⑨ 雨雾空气透视
multi_scale_layered_composition, 特写是滴水与树叶, 近景是湿润的路, 中景是街道, 远景是雾中楼房, 超远景是晨雾天空, single continuous camera, atmospheric perspective
⑩ 建筑走廊(纵深柱廊/透视)
multi_scale_layered_composition, 特写是最近的石柱, 近景是相邻石柱, 中景是廊道地面, 远景是更远的柱列, 超远景是廊尽头的庭院光, single continuous camera, atmospheric perspective
替换任意层次的描述即可创作新构图,保持五层结构:
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步 |