Nodes/comfyui-helto-wan22/WAN 2.2 Image Guide Manager
ComfyUI Node

WAN 2.2 Image Guide Manager

Build a WAN 2.2 shot list without touching a sampler

By helto4real·Created 4 months ago·Updated 4 months ago· 0
WAN 2.2 Image Guide Manager
    • image_guides
    fps24.00
    timing_modeframe
    resize_modecontain
    duplicate_policyerror
    pad_color0,0,0
    global_strength1.00
    start_images_strength0.85
    structural_repulsion_boost1.00
    width1280
    height704
    length49
    guides_json{"version":1,"guides":[]}

    This is the node that lets you storyboard a WAN 2.2 video instead of hoping the prompt holds a scene together. WAN 2.2 I2V gives you one starting image and a whole video - getting it to hit shot two, shot three, and a coherent ending is where people fight the model. The Image Guide Manager turns that fight into a list: pick images, drop them on a frame timeline, and hand the whole plan downstream. It never touches a sampler, a VAE, or a pixel.

    It comes from the comfyui-helto-wan22 pack by helto4real, and it's the front half of a two-node split. The Manager only builds a reusable guide payload; its sibling WAN22ApplyImageGuides is what actually encodes it into WAN's conditioning. Think of this one as the spreadsheet and that one as the factory.

    How it works

    The node's real interface isn't the inputs you see on the canvas - it's a custom UI that ships with the pack. You get a folder browser (the pack's input folder is registered by default, and you can add more via the folder button), a thumbnail grid, a frame-position column per guide, a per-guide strength, and an enable toggle. Everything you arrange gets serialized into the hidden guides_json string widget, which is why your shot list survives saving and re-loading a workflow - it rides along in the graph itself, no external file needed. You can also save named guide sets, which live as JSON under the pack's config/guide_sets/ folder and reload from the UI.

    Under the hood each guide is just folder_alias + filename + a position and strength. The output image_guides (WAN22_IMAGE_GUIDES) is that data plus the shared settings below, passed as one payload.

    The inputs that matter

    A handful of these are worth knowing by name:

    • timing_mode - frame or seconds. In seconds mode, positions are multiplied by fps (default 24) to get a frame. Negative positions wrap backwards from the end of the clip, which is handy for pinning a final frame.
    • duplicate_policy - what to do when two images land in the same frame group. Default is error, which stops the run. That's a trap if you're being sloppy: flip it to keep_first, keep_last, or offset_next once you have overlapping shots.
    • global_strength - a master multiplier (0–1) applied to every guide's strength. Leave it at 1.0 while you set per-guide strengths, then use it as the "how hard do I want the whole storyboard to stick" knob.
    • resize_mode - contain (default), stretch, or crop. Contain preserves aspect ratio and pads, which is what you want for frames that don't match the output dimensions.
    • width, height, length - mostly used here for preview aspect-ratio warnings and timing math; the actual encoding happens at Apply time.

    The fps, start_images_strength, pad_color, and structural_repulsion_boost inputs all travel in the payload too, so the Apply node doesn't need its own copies of these settings.

    How to install

    The pack is a plain custom_nodes clone - no requirements.txt, no model downloads, nothing to pip. Into the custom_nodes directory:

    cd ComfyUI/custom_nodes
    git clone https://github.com/helto4real/comfyui-helto-wan22
    

    Then restart ComfyUI. You can also find it through ComfyUI Manager by searching "comfyui-helto-wan22". What the pack does not install are the WAN 2.2 models themselves - you still need a WAN 2.2 I2V checkpoint pair, the WAN VAE, and the umt5 text encoder in your models/ folders, same as any native WAN workflow.

    Where people get burned

    • Duplicate positions default to error. Two guides resolving to the same frame group (a group is 4 latent frames in this pack) will refuse to run until you change duplicate_policy or nudge a frame.
    • Guides reference files by path. If you move or rename a source image, the payload still points at the old alias/filename and the run fails with a file-not-found at Apply time. Keep your storyboard images in one configured folder.
    • The manager encodes nothing, which surprises people who expect a preview. You won't see conditioned output until you wire image_guides into WAN22ApplyImageGuides (or the all-in-one WAN22MultiImageI2VGuide) and run.

    The one-node alternative - WAN22MultiImageI2VGuide - folds this whole planner into a conditioning stage if you'd rather not keep the split. But for anything you'll re-use across workflows, building the payload once in the Manager is the cleaner habit.

    CategoryWAN 2.2

    Inputs (12)

    NameTypeDefaultDescription
    fpsFLOAT24.001–240Frames per second used when timing_mode is seconds.
    timing_modeCOMBOframeInterpret guide positions as frame indexes or seconds.
    resize_modeCOMBOcontainHow guide images are resized before VAE encoding. contain/pad preserves aspect ratio with padding.
    duplicate_policyCOMBOerrorHow to handle guide images that resolve to the same frame.
    pad_colorSTRING0,0,0RGB padding color for contain/pad resize mode. Accepts r,g,b or #rrggbb.
    global_strengthFLOAT1.000–1Multiplier applied to every guide strength and start image strength.
    start_images_strengthFLOAT0.850–1Strength for the optional start image sequence before global_strength is applied.
    structural_repulsion_boostFLOAT1.001–2High-noise structural repulsion boost between guide anchors. 1.0 disables the extra transition guidance.
    widthINT128032–16384Preview target width used for aspect-ratio warnings.
    heightINT70432–16384Preview target height used for aspect-ratio warnings.
    lengthINT491–16384Output video frame count used for guide timing.
    guides_jsonSTRING{"version":1,"guides":[]}Hidden serialized guide data used by the custom UI and saved in workflows.

    Outputs (1)

    NameTypeDescription
    image_guidesWAN22_IMAGE_GUIDES