JZL - 🔗 MiniMax H3 参考总线(打包)
Squeeze 48 reference assets into one wire
- 角色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.
Inputs (48)
| Name | Type | Default | Description |
|---|---|---|---|
| 角色Aopt | IMAGE | — | |
| 角色Bopt | IMAGE | — | |
| 角色Copt | IMAGE | — | |
| 角色Dopt | IMAGE | — | |
| 角色Eopt | IMAGE | — | |
| 角色Fopt | IMAGE | — | |
| 角色Gopt | IMAGE | — | |
| 角色Hopt | IMAGE | — | |
| 场景Aopt | IMAGE | — | |
| 场景Bopt | IMAGE | — | |
| 场景Copt | IMAGE | — | |
| 场景Dopt | IMAGE | — | |
| 场景Eopt | IMAGE | — | |
| 场景Fopt | IMAGE | — | |
| 场景Gopt | IMAGE | — | |
| 场景Hopt | IMAGE | — | |
| 道具Aopt | IMAGE | — | |
| 道具Bopt | IMAGE | — | |
| 道具Copt | IMAGE | — | |
| 道具Dopt | IMAGE | — | |
| 道具Eopt | IMAGE | — | |
| 道具Fopt | IMAGE | — | |
| 道具Gopt | IMAGE | — | |
| 道具Hopt | IMAGE | — | |
| 音频Aopt | AUDIO | — | |
| 音频Bopt | AUDIO | — | |
| 音频Copt | AUDIO | — | |
| 音频Dopt | AUDIO | — | |
| 音频Eopt | AUDIO | — | |
| 音频Fopt | AUDIO | — | |
| 音频Gopt | AUDIO | — | |
| 音频Hopt | AUDIO | — | |
| 视频Aopt | IMAGE | — | |
| 视频Bopt | IMAGE | — | |
| 视频Copt | IMAGE | — | |
| 视频Dopt | IMAGE | — | |
| 视频Eopt | IMAGE | — | |
| 视频Fopt | IMAGE | — | |
| 视频Gopt | IMAGE | — | |
| 视频Hopt | IMAGE | — | |
| 视频A(音频)opt | AUDIO | — | |
| 视频B(音频)opt | AUDIO | — | |
| 视频C(音频)opt | AUDIO | — | |
| 视频D(音频)opt | AUDIO | — | |
| 视频E(音频)opt | AUDIO | — | |
| 视频F(音频)opt | AUDIO | — | |
| 视频G(音频)opt | AUDIO | — | |
| 视频H(音频)opt | AUDIO | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| 参考总线 | JZL_REF_BUS | — |