Extensions/ComfyUI-JZL-MiniMax-H3
ComfyUI Extension

ComfyUI-JZL-MiniMax-H3

A ComfyUI extension with 31 custom nodes.

By wjluoxiao·Created 13 days ago·Updated 3 days ago· 57
wjluoxiao/ComfyUI-JZL-MiniMax-H3
Nodes31
On cloudLocal install
CategoryJZL/MiniMax
Stars57
Updated3 days ago

Nodes (31)

JZL - 🌊 海螺H3视频参数

The resolution calculator that does H3's grid math so you don't have to

JZL/MiniMax
JZL - 🌊 海螺H3视频参数Pro

Same H3 calculator, plus the one number the second-pass upscale needs

JZL/MiniMax
JZL - 📋 列表分发

Split your script into per-shot lines and route them to N outputs

JZL/MiniMax
JZL - 🚀 模型加载Pro

The GGUF loader with every sampling knob, and a backend that doesn't fight ComfyUI

JZL/MiniMax
JZL - 🌐 API 设置

Put your LLM API key in a dialog, not in your workflow JSON

JZL/MiniMax
MiniMax-H3生成管理器

The all-in-one that turns a script, some assets, and H3 into finished clips

JZL/MiniMax
JZL - 🎧 音频调度

Route the right reference audio to the right segment, dynamically

JZL/MiniMax
JZL - 🎧 音频调度2

The fixed-port audio router — eight named inputs, no surprises

JZL/MiniMax
JZL - 🌊 海螺H3二采条件同步

The node that keeps your first/last frames honest after a latent upscale

JZL/MiniMax
JZL - 🎬 MiniMax H3 二采编码

Encode both passes at once — first-pass latent plus a second-pass conditioning

JZL/MiniMax
JZL - 🎯 MiniMax H3 偏好设置

Tell the script LLM exactly what camera language you want

JZL/MiniMax
JZL - 📝 MiniMax H3 手写提示词

The scratchpad that inserts H3's six-segment prompt templates for you

JZL/MiniMax
JZL - 🔗 MiniMax H3 ref2va参考总线(解包)

Take a ref2va bus apart into the exact ports the encoder wants

JZL/MiniMax
JZL - 🔗 MiniMax H3 ref2va参考总线(打包)

Bundle the 18 ref2va ports into one bus that only fits where it should

JZL/MiniMax
JZL - 🔗 MiniMax H3 参考总线(解包)

Unpack one reference bus back into 48 named ports

JZL/MiniMax
JZL - 🔗 MiniMax H3 参考总线(打包)

Squeeze 48 reference assets into one wire

JZL/MiniMax
JZL - 🎬 MiniMax H3 参考编码

The ref2va encoder that's a 100% replica of ComfyUI's official H3 node — plus a boost

JZL/MiniMax
JZL - 🎬 MiniMax H3 参考编码2

Same ref2va encoder, fixed ports — for workflows that want a stable layout

JZL/MiniMax
JZL - 🎵 MiniMax Music3 提示词预设

Turn a stack of music dropdowns into a MiniMax Music3 structured caption

JZL/MiniMax
JZL - 🎵 MiniMax Music3 提示词预设(双人)

The same Music3 caption builder, but for two singers who need distinct parts

JZL/MiniMax
JZL - 🎵 MiniMax Music3 歌词编辑

It's a text box with buttons — and that's exactly what Music3 lyrics need

JZL/MiniMax
JZL - ✨ MiniMax-fl2va提示词预设

Point-and-click prompt engineering for MiniMax H3 — 39 visual styles, zero API keys

JZL/MiniMax
JZL - ✨ 提示词增强

A prompt enhancer that knows exactly what not to touch

JZL/MiniMax
JZL - ✨ MiniMax-ref2va提示词预设

The multi-reference H3 preset — where your reference images do the talking

JZL/MiniMax
JZL - 🎯 场景元素调度

It reads your node names and sorts your reference images for H3

JZL/MiniMax
JZL - 🎯 场景元素调度2

The no-magic scene dispatcher — 24 named ports instead of name-guessing

JZL/MiniMax
JZL - 🎬 剧本与镜头处理器

The one-call brain that turns a story into a full H3 shooting script

JZL/MiniMax
JZL - 📋 分段处理中心

The segment processor that turns an LLM's messy script into four clean lists

JZL/MiniMax
JZL - 🎬 视频调度

Feed it reference videos, and it pairs each one with its audio track

JZL/MiniMax
JZL - 🎬 视频调度2

The fixed-port video dispatcher — 8 named videos, each with its audio pre-paired

JZL/MiniMax
JZL - 💾 视频保存分配

The 24-port output sorter that hands your H3 clips to Video Combine

JZL/MiniMax
Readme

ComfyUI-JZL-MiniMax-H3

MiniMax H3 视频生成节点(基于 ComfyUI V3 io.Schema 机制)。

当前节点

| 节点 | node_id | 说明 | |------|---------|------| | 🎬 MiniMax H3 参考编码 | JZL_MiniMaxH3ReferenceToVideo | ref2va 参考条件编码,100% 复刻官方 MiniMaxH3ReferenceToVideo |

特性

  • V3 原生动态接口:参考图 / 参考视频 / 视频音轨 / 独立音频 四组端口用 io.Autogrow 实现「连接后自动长出下一个空槽」,与官方一致。
  • 参考值放大(JZL 扩展):仅 match 模式生效,ref_scale 范围 1.0~5.0,步长 0.1。最终像素面积 = 生成画布面积 × 倍率(面积倍率,非分辨率倍率)。1.0 = 官方行为。

提示词标签

| 标签 | 含义 | |------|------| | <Picture i> | 第 i 张参考图 | | <Video k> | 第 k 段参考视频 | | <Audio j> | 第 j 条参考音频(视频音轨会在其 <Video> 前单独成标签) |

安装

把本目录放入 ComfyUI 的 custom_nodes/ 下,或建立符号链接:

New-Item -ItemType Junction -Path "D:\...\ComfyUI\custom_nodes\ComfyUI-JZL-MiniMax-H3" -Target "D:\AI_JZL\ComfyUI-JZL-MiniMax-H3"

依赖

  • ComfyUI(含 comfy_api.latest,即官方 MiniMax H3 节点可用的较新版本)
  • torchtorchaudio

本地 LLM 运行时(llama-server)

「模型加载 Pro / 剧本与镜头处理器」的本地 LLM/VLM 推理不再依赖 llama-cpp-python,改用 llama-server 子进程(进程隔离、跑完即停、自动释放显存)。

首次使用本地模型前,请先运行安装器(仅用 Python 标准库,自动识别系统/架构/显卡,下载并校验固定 llama.cpp b10436 预编译运行时,零 pip 依赖):

  • Windows:双击 install_runtime.bat 一键安装(自动定位 Python)
  • 或手动执行:
cd custom_nodes\ComfyUI-JZL-MiniMax-H3
..\..\..\python_embeded\python.exe install_runtime.py   # Windows 便携包
# 或:python install_runtime.py
  • --dry-run 只看检测结果与计划,不下载
  • --list-backends 查看当前机器可用后端
  • --force 强制重装

已安装的 llama-cpp-python 无需卸载,也不会冲突(本节点已不再引用它);想省磁盘可自行 pip uninstall llama-cpp-python