Nodes/ComfyUI-JZL-MiniMax-H3/JZL - 📋 列表分发
ComfyUI Node

JZL - 📋 列表分发

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

By wjluoxiao·Created 13 days ago·Updated 3 days ago· 57
JZL - 📋 列表分发
    • 分段1
    • 分段2
    • 分段3
    • 分段4
    • 分段5
    • 分段6
    • 分段7
    • 分段8
    • 分段9
    • 分段10
    • 分段11
    • 分段12
    • 分段13
    • 分段14
    • 分段15
    • 分段16
    • 分段17
    • 分段18
    • 分段19
    • 分段20
    • 分段21
    • 分段22
    • 分段23
    • 分段24
    • 分段25
    • 分段26
    • 分段27
    • 分段28
    • 分段29
    • 分段30
    • 分段31
    • 分段32
    • 分段33
    • 分段34
    • 分段35
    • 分段36
    • 分段37
    • 分段38
    • 分段39
    • 分段40
    • 分段41
    • 分段42
    • 分段43
    • 分段44
    • 分段45
    • 分段46
    • 分段47
    • 分段48
    • 分段49
    • 分段50
    • 分段51
    • 分段52
    • 分段53
    • 分段54
    • 分段55
    • 分段56
    • 分段57
    • 分段58
    • 分段59
    • 分段60
    • 分段61
    • 分段62
    • 分段63
    • 分段64
    • 分段65
    • 分段66
    • 分段67
    • 分段68
    • 分段69
    • 分段70
    • 分段71
    • 分段72
    • 分段73
    • 分段74
    • 分段75
    • 分段76
    • 分段77
    • 分段78
    • 分段79
    • 分段80
    • 分段81
    • 分段82
    • 分段83
    • 分段84
    • 分段85
    • 分段86
    • 分段87
    • 分段88
    • 分段89
    • 分段90
    • 分段91
    • 分段92
    • 分段93
    • 分段94
    • 分段95
    • 分段96
    • 分段97
    • 分段98
    • 分段99
    文本输入
    调度类型H3提示词
    输出数量4

    "JZL - 📋 列表分发" is the workhorse that turns one giant script into many usable lines. In the JZL-MiniMax-H3 pack's pipeline, the "剧本与镜头处理器" (Script Processor) LLM writes a whole story as a block of [SHOT_START]…[SHOT_END] segments, and this node carves that block into per-segment chunks, pulls out one field from each, and pushes them to however many output ports you want. It's the node that makes "one story, six separate video generations" actually tractable.

    How it works

    The input is a 文本输入 (STRING, force-input) that comes straight off the script processor. The node splits it on [SHOT_START][SHOT_END] blocks, then inside each block looks for a field marker and extracts that field's full content - without breaking lines, per the source. Which field it pulls is decided by 调度类型:

    • H3提示词 - the H3_PROMPT field (default)
    • 场景调度 - SCENE_INSTRUCTION
    • 视频调度 - VIDEO_INSTRUCTION
    • 音频调度 - AUDIO_INSTRUCTION

    Then it fans the results out to the first 输出数量 of its up-to-99 STRING outputs, named 分段1分段99. One quirk worth knowing: if the input has no [SHOT_START] tags at all - say a downstream node already extracted the list - the node treats each incoming list element as one segment and passes it through, so it doubles as a generic list fan-out. It's declared INPUT_IS_LIST, so it accepts both a scalar string and a list.

    The inputs that matter

    • 调度类型 - which field to extract per segment. This is the one you'll actually change.
    • 输出数量 - number of populated outputs, 1–99, default 4.

    Everything else is plumbing. The outputs are plain STRINGs, so anything downstream that eats text will take them.

    How it fits

    You'll typically see it between the Script Processor (or the "分段处理中心" ShotFormatter) and the encoding/scheduling layer: extract H3 prompts per segment and feed each into a MiniMax H3 参考编码 or the asset manager, or extract the 场景调度/音频调度 fields to drive the scene and audio dispatchers. It's a pure text-formatting node - no model, no GPU, no weights.

    How to install it

    Part of the same pack as everything else - ComfyUI Manager, search "ComfyUI-JZL-MiniMax-H3", or:

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

    Restart ComfyUI. This node is pure Python stdlib (re), so it needs no extra dependencies at all - a nice contrast with the rest of the pack.

    Common issues

    The most common mistake is forgetting that the segment count you request has to match the actual number of [SHOT_START] blocks; leftover outputs just come out empty, and an empty STRING flowing into a video encoder gives you a confusing "no prompt" failure a few nodes later. Also, if your upstream script doesn't use the exact [SHOT_START]/[SHOT_END] markers the node scans for, you'll get the fallback passthrough instead of split segments - check the field markers if nothing comes out the way you expected.

    CategoryJZL/MiniMax

    Inputs (3)

    NameTypeDefaultDescription
    文本输入STRING
    调度类型COMBOH3提示词4 options: H3提示词, 场景调度, 视频调度, 音频调度
    输出数量INT41–99

    Outputs (99)

    NameTypeDescription
    分段1STRING
    分段2STRING
    分段3STRING
    分段4STRING
    分段5STRING
    分段6STRING
    分段7STRING
    分段8STRING
    分段9STRING
    分段10STRING
    分段11STRING
    分段12STRING
    分段13STRING
    分段14STRING
    分段15STRING
    分段16STRING
    分段17STRING
    分段18STRING
    分段19STRING
    分段20STRING
    分段21STRING
    分段22STRING
    分段23STRING
    分段24STRING
    分段25STRING
    分段26STRING
    分段27STRING
    分段28STRING
    分段29STRING
    分段30STRING
    分段31STRING
    分段32STRING
    分段33STRING
    分段34STRING
    分段35STRING
    分段36STRING
    分段37STRING
    分段38STRING
    分段39STRING
    分段40STRING
    分段41STRING
    分段42STRING
    分段43STRING
    分段44STRING
    分段45STRING
    分段46STRING
    分段47STRING
    分段48STRING
    分段49STRING
    分段50STRING
    分段51STRING
    分段52STRING
    分段53STRING
    分段54STRING
    分段55STRING
    分段56STRING
    分段57STRING
    分段58STRING
    分段59STRING
    分段60STRING
    分段61STRING
    分段62STRING
    分段63STRING
    分段64STRING
    分段65STRING
    分段66STRING
    分段67STRING
    分段68STRING
    分段69STRING
    分段70STRING
    分段71STRING
    分段72STRING
    分段73STRING
    分段74STRING
    分段75STRING
    分段76STRING
    分段77STRING
    分段78STRING
    分段79STRING
    分段80STRING
    分段81STRING
    分段82STRING
    分段83STRING
    分段84STRING
    分段85STRING
    分段86STRING
    分段87STRING
    分段88STRING
    分段89STRING
    分段90STRING
    分段91STRING
    分段92STRING
    分段93STRING
    分段94STRING
    分段95STRING
    分段96STRING
    分段97STRING
    分段98STRING
    分段99STRING