Long-form chunk chaining on Wan 2.2 TI2V-5B: renders the NEXT segment of a longer film conditioned on the previous segment's tail frame, color-locks the result against a canonical reference frame (cross-segment drift is the documented FLF failure mode), and emits both the segment video and its own tail frame for the next link in the chain
Tags: flagshipwan2.2videosegment-chainlong-formcolor-lock2026-sota
Inputs (12)#
The typed parameter surface callers bind when they request this workflow. Enum options and numeric bounds are the values the workflow document declares.
promptstringrequiredprevious_tail_frameimagerequiredreference_frameimagecolor_lockbooleandefault trueresolutionenumdefault 720p_landscape720p_landscape720p_portraitframesintegerdefault 121min 25max 121fpsintegerdefault 24min 24max 24stepsintegerdefault 20min 10max 30guidancefloatdefault 5.0min 1.0max 10.0shiftfloatdefault 8.0min 1.0max 12.0fast_modebooleandefault trueseedintegerdefault -1ComfyUI node graph (17)#
The executable ComfyUI prompt graph: 17 nodes across 15 distinct node classes, wired by 18 data dependencies. Nodes tinted green come from a custom node pack this workflow declares; the rest are ComfyUI core / baked-community classes.
Nodes (17)#
1UNETLoadercoreunet_name = wan2.2_ti2v_5B_fp16.safetensorsweight_dtype = defaultMODEL2CLIPLoadercoreclip_name = umt5_xxl_fp8_e4m3fn_scaled.safetensorstype = wanCLIP3VAELoadercorevae_name = wan2.2_vae.safetensorsVAEturbo_loraLoraLoaderModelOnlycoremodel = ◂ node 1 · out[0]lora_name = Wan22_TI2V_5B_Turbo_lora_rank_64_fp16.safetensorsstrength_model = 1.0MODEL4ModelSamplingSD3coremodel = ◂ node turbo_lora · out[0]shift = {{shift}} tmplMODEL5CLIPTextEncodecoretext = {{constructed_prompt}} tmplclip = ◂ node 2 · out[0]CONDITIONING6CLIPTextEncodecoretext = overexposed, static motion, blurry details, subtitles, watermark, jpeg artifacts, deformed limbs, fused fingers, color shift, brightness flicker, scene cutclip = ◂ node 2 · out[0]CONDITIONING7LoadImagecoreimage = {{previous_tail_frame}} tmplIMAGEMASK8Wan22ImageToVideoLatentcorevae = ◂ node 3 · out[0]width = {{resolution_map[resolution].width}} tmplheight = {{resolution_map[resolution].height}} tmpllength = {{frames}} tmplbatch_size = 1start_image = ◂ node 7 · out[0]LATENT9KSamplercoremodel = ◂ node 4 · out[0]positive = ◂ node 5 · out[0]negative = ◂ node 6 · out[0]latent_image = ◂ node 8 · out[0]seed = {{seed}} tmplsteps = {{4 if fast_mode else steps}} tmplcfg = {{1.0 if fast_mode else guidance}} tmplsampler_name = uni_pcscheduler = simpledenoise = 1.0LATENT10VAEDecodecoresamples = ◂ node 9 · out[0]vae = ◂ node 3 · out[0]IMAGEref_frameLoadImagecoreimage = {{reference_frame}} tmplIMAGEMASKcolor_lock_nodeColorTransfercustom packcontent_image = ◂ node 10 · out[0]style_image = ◂ node ref_frame · out[0]mode = reinhardIMAGE11CreateVideocoreimages = ◂ node color_lock_node · out[0]fps = {{fps}} tmplVIDEO12SaveVideocorevideo = ◂ node 11 · out[0]filename_prefix = wan_segmentformat = autocodec = autotail_pickImageFromBatchcoreimage = ◂ node color_lock_node · out[0]batch_index = -1length = 1IMAGE13SaveImagecoreimages = ◂ node tail_pick · out[0]filename_prefix = wan_segment_tailPrompt construction#
template{base_prompt}. Continuous take, seamless continuation of the previous shot, consistent lighting and color grade, smooth cinematic camera movement.Variables (1)#
base_prompt{{prompt}} tmplParameter banks (1)#
The prompt / configuration lookup tables this workflow keys into from its inputs — the vocabulary that turns a style / palette / preset selection into graph parameters.
resolution_map (2)#
720p_landscape{"width": 1280, "height": 704}720p_portrait{"width": 704, "height": 1280}Models & dependencies#
Custom node packs (1)#
The non-core ComfyUI node classes this graph requires; the RunPod worker image the workflow runs on must bake or install a pack that provides every one of them.
ColorTransferModels required (4)#
Wan22_TI2V_5B_Turbo_lora_rank_64_fp16.safetensorsumt5_xxl_fp8_e4m3fn_scaled.safetensorswan2.2_ti2v_5B_fp16.safetensorswan2.2_vae.safetensorsOutput contract#
What a successful run of this workflow returns.
typevideoformatmp4descriptionSegment MP4 plus the tail-frame PNG used to condition the next chain linkTaxonomy & routing#
How the control plane classifies this workflow — from the committed workflow-taxonomy-registry.json. It drives the consistency / control surface the agentic director can exercise over the workflow.
assetFamilylong-form-segmentoutputPackageProfilevideo-master-profilecontrolModalitieskeyframe-anchor-lockcolor-script-lockseed-lockmodel-locksampler-scheduler-locktemporal-lockconsistencyDimensionsmotioncolor-scriptenvironmentlightingnotesL4 chunk chaining: previous tail frame anchors the next Wan 2.2 segment; Reinhard color-lock against the canonical reference frame; emits its own tail frame for the next link. fast_mode = TI2V-5B Turbo distill (4 steps, no CFG).