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

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

Squeeze 48 reference assets into one wire

By wjluoxiao·Created 13 days ago·Updated 3 days ago· 57
JZL - 🔗 MiniMax H3 参考总线(打包)
  • 角色A
  • 角色B
  • 角色C
  • 角色D
  • 角色E
  • 角色F
  • 角色G
  • 角色H
  • 场景A
  • 场景B
  • 场景C
  • 场景D
  • 场景E
  • 场景F
  • 场景G
  • 场景H
  • 道具A
  • 道具B
  • 道具C
  • 道具D
  • 道具E
  • 道具F
  • 道具G
  • 道具H
  • 音频A
  • 音频B
  • 音频C
  • 音频D
  • 音频E
  • 音频F
  • 音频G
  • 音频H
  • 视频A
  • 视频B
  • 视频C
  • 视频D
  • 视频E
  • 视频F
  • 视频G
  • 视频H
  • 视频A(音频)
  • 视频B(音频)
  • 视频C(音频)
  • 视频D(音频)
  • 视频E(音频)
  • 视频F(音频)
  • 视频G(音频)
  • 视频H(音频)
  • 参考总线

"JZL - 🔗 MiniMax H3 参考总线(打包)" (Reference Bus Pack) is the tidy-up node for anyone whose H3 workflow has more reference assets than patience: it takes 48 fixed reference ports - 8 characters (角色A–H), 8 scenes (场景A–H), 8 props (道具A–H), 8 audios (音频A–H), 8 videos (视频A–H), and 8 video soundtracks (视频A–H(音频)) - and bundles them into a single JZL_REF_BUS dict on one output wire.

ComfyUI wires carry tensors; when you've got a dozen-plus reference images plus videos plus audio, the node graph becomes a rat's nest of colored spaghetti. A bus collapses that into a single custom type. The pack's sibling node "参考总线(解包)" (RefBusIn) unpacks it on the other side.

How it works

It's a dictionary packer, nothing more. Each input is optional, each is inferred by name (音频-containing ports take AUDIO, everything else IMAGE), and the pack method gathers whatever is connected into a dict keyed by the fixed port names. The custom JZL_REF_BUS type is the safety feature: because out and in share a bespoke type, ComfyUI will only let you connect this bus to the matching unpack node - you can't accidentally wire it into a JZL_REF2VA_BUS port and get silent type confusion.

Output: 参考总线 of type JZL_REF_BUS.

How it fits

The bus is pure transport - the docstring is explicit that it does no scheduling. You typically run it after your asset loading/scene/audio/video routing, and unpack right before the reference encoder. It's the older, manual-tidy alternative to the pack's wireless "global asset pool" (where the Generation Manager routes by name with no wire at all). If you're on the manager workflow, the pool usually makes the bus redundant; if you're hand-building, the bus keeps the graph readable.

How to install it

Part of the JZL-MiniMax-H3 pack - ComfyUI Manager, search "ComfyUI-JZL-MiniMax-H3", or:

cd ComfyUI/custom_nodes
git clone https://github.com/wjluoxiao/ComfyUI-JZL-MiniMax-H3

Restart. No dependencies; it's a pure pass-through node.

Common issues

Unconnected ports simply become None entries in the bus - which the unpack node hands back as None. If a segment silently ignores a character reference, check whether the port was actually connected at the pack end. And remember the two bus types are deliberately incompatible: JZL_REF_BUS (this one, 48 slots) vs JZL_REF2VA_BUS (18 slots, for the ref2va encoder). Mix them up and ComfyUI just won't let the wire connect.

CategoryJZL/MiniMax

Inputs (48)

NameTypeDefaultDescription
角色AoptIMAGE
角色BoptIMAGE
角色CoptIMAGE
角色DoptIMAGE
角色EoptIMAGE
角色FoptIMAGE
角色GoptIMAGE
角色HoptIMAGE
场景AoptIMAGE
场景BoptIMAGE
场景CoptIMAGE
场景DoptIMAGE
场景EoptIMAGE
场景FoptIMAGE
场景GoptIMAGE
场景HoptIMAGE
道具AoptIMAGE
道具BoptIMAGE
道具CoptIMAGE
道具DoptIMAGE
道具EoptIMAGE
道具FoptIMAGE
道具GoptIMAGE
道具HoptIMAGE
音频AoptAUDIO
音频BoptAUDIO
音频CoptAUDIO
音频DoptAUDIO
音频EoptAUDIO
音频FoptAUDIO
音频GoptAUDIO
音频HoptAUDIO
视频AoptIMAGE
视频BoptIMAGE
视频CoptIMAGE
视频DoptIMAGE
视频EoptIMAGE
视频FoptIMAGE
视频GoptIMAGE
视频HoptIMAGE
视频A(音频)optAUDIO
视频B(音频)optAUDIO
视频C(音频)optAUDIO
视频D(音频)optAUDIO
视频E(音频)optAUDIO
视频F(音频)optAUDIO
视频G(音频)optAUDIO
视频H(音频)optAUDIO

Outputs (1)

NameTypeDescription
参考总线JZL_REF_BUS