diff --git a/README.md b/README.md new file mode 100644 index 0000000..860189e --- /dev/null +++ b/README.md @@ -0,0 +1,199 @@ +# comfyUI-LongLook + +**Consistent motion and prompt adherence for Wan 2.2 video generation.** + +**TL;DR:** +- **Chunked generation (best use case)**: Stable motion provides clean anchors AND makes the next chunk far more likely to correctly continue the direction of a given action +- **Single generation**: Smooths motion reversal and "ping-pong" in 81+ frame generations + +See Demo Workflows in Folder and [demo clip here](https://youtu.be/wZgoklsVplc) + +If you find this useful: + + + Buy Me A Coffee + + +## What It Does + +### The Core: FreeLong Spectral Blending + +Based on [FreeLong (NeurIPS 2024)](https://arxiv.org/abs/2407.19918), this implements frequency-aware attention blending that dramatically improves motion consistency: + +| Without FreeLong | With FreeLong | +|------------------|---------------| +| Motion reverses mid-video ("ping-pong") | Stable directional motion throughout | +| Subject drifts between "scenes" | Consistent subject appearance | +| Prompt partially ignored for motion | Motion follows prompt intent | +| 2-3 distinct "scenes" per generation | Single coherent sequence | + +**How it works:** +- **Global stream**: Full-sequence attention captures overall motion direction +- **Local stream**: Windowed attention preserves sharp details +- **Spectral blend**: FFT combines low frequencies (motion) from global + high frequencies (detail) from local + +This is essentially **motion-level prompt enforcement** - the model maintains its initial motion intent rather than "forgetting" mid-generation. + +### The Bonus: Unlimited Length via Chunking + +FreeLong's stable motion interpretation is what makes reliable chunk chaining possible: + +``` +[Chunk 1: 81 frames] → last frame → [Chunk 2: 81 frames] → last frame → [Chunk 3...] → ∞ +``` + +**Why this works:** + +Without FreeLong, chunk boundaries can often fail because: +- Motion may have reversed mid-chunk → last frame has wrong direction +- Subject drifted → last frame doesn't match earlier frames +- Ambiguous anchor → next chunk likely misinterprets intended motion + +With FreeLong, each chunk has: +- Consistent motion direction throughout → last frame shows correct direction +- Stable subject interpretation → clean visual handoff +- Clear motion cues → next chunk far more likely to correctly continue + +**Two-sided benefit:** FreeLong provides clean anchor frames AND makes the next generation far more likely to correctly interpret the motion direction. Clear input signals lead to better continuation. + +**Additional chunking benefits:** +- Different prompts per chunk (scene evolution) +- Constant VRAM (no scaling with length) +- Fresh anchor resets any accumulated drift + + + +Wan 2.2's attention mechanism struggles with temporal coherence: +- Native context is 81 frames (~5 seconds) +- Motion often reverses or drifts within that window +- Extending beyond 81 frames compounds these issues + +## Installation + +1. Clone into ComfyUI custom_nodes: +```bash +cd ComfyUI/custom_nodes +git clone https://github.com/shootthesound/comfyUI-LongLook.git +``` + +2. Restart ComfyUI + +3. Load example workflow from `examples/Car-Racing-Example.json` and Single-Shot-Example.json + +## Quick Start + +### Single Generation (Improved Motion) +Just add `WanFreeLong` before your sampler: +``` +Load Model → WanFreeLong → KSampler → VAE Decode +``` +Even without chunking, you get more consistent motion within 81 frames. + +### Chained Generation (Unlimited Length) +``` +[Chunk 1] +Image → WanImageToVideo → FreeLong → Sampler → VAE Decode + ↓ + [Last Frame] + ↓ +[Chunk 2] +FreeLong → WanContinuationConditioning → Sampler → VAE Decode + ↑ ↓ + [New Prompt] [Last Frame] + ↓ +[Chunk 3...] [Repeat] +``` + +## Nodes + +### WanFreeLong (Spectral Blend) +Patches Wan model for FreeLong spectral blending. + +| Parameter | Default | Description | +|-----------|---------|-------------| +| enabled | true | Toggle for A/B testing | +| blend_strength | 0.7 | Spectral blend strength (0=off, 1=full) | +| low_freq_ratio | 0.5 | Portion of spectrum from global stream | +| local_window_frames | 33 | Video frames for detail window (~40% of total recommended) | +| blend_start_block | 0 | First transformer block to apply | +| blend_end_block | -1 | Last block (-1 = all) | + +**Optimal settings**: `blend_strength=0.8`, `low_freq_ratio=0.8`, `local_window_frames=33` for 81-frame videos + +### WanContinuationConditioning +Creates i2v conditioning from previous chunk's last frame. + +| Parameter | Default | Description | +|-----------|---------|-------------| +| width | 512 | Output video width | +| height | 512 | Output video height | +| video_frames | 81 | Frames to generate | + +**Inputs**: `positive`, `negative`, `anchor_images` (from previous VAE decode), `vae` + +## Workflows + +### Basic Continuation (`anchor_blend_workflow.json`) +Two chunks, shared prompts. Extends a single scene. + +### Multi-Prompt (`multi_prompt_workflow.json`) +Different prompt per chunk for scene evolution: +- Chunk 1: "car driving on highway" +- Chunk 2: "car enters city streets" +- Chunk 3: "car parks at destination" + +Same car, smooth motion, continuous narrative. + +## Parameter Tuning + +| Goal | Adjustment | +|------|------------| +| More motion consistency | Increase `blend_strength` (0.7-0.9) | +| More detail/sharpness | Decrease `blend_strength` (0.4-0.6) | +| Smoother motion | Increase `low_freq_ratio` (0.5-0.7) | +| More dynamic motion | Decrease `low_freq_ratio` (0.3-0.4) | +| Less morphing | Increase `local_window_frames` (49-65) | + +## Technical Details + +### FreeLong Implementation +- Dual-stream processing at transformer block level +- 50% overlapping windows with cosine crossfade +- Complementary FFT filters (low + high = 1.0) +- RoPE embeddings properly sliced per window +- Float32 FFT operations for numerical stability + +### Continuation Conditioning +- Last frame extracted from decoded video (float32, no 8-bit quantization) +- Re-encoded as i2v conditioning via VAE +- Proper mask format for Wan's conditioning system + +### Memory Efficiency +- Each chunk processes independently +- Only last frame passed between chunks +- No VRAM accumulation across chains +- Unlimited chunk count +- 8GB+ VRAM compatible + +## Experimental: Beyond 81 Frames + +FreeLong was designed to extend beyond training length. You may be able to generate 97, 113, or more frames in a single pass. Trade-offs: +- VRAM scales with frame count +- Quality may degrade at extreme lengths +- Chunking approach is proven stable + +## Requirements + +- ComfyUI +- Wan 2.2 models (i2v recommended) +- VideoHelperSuite (for video output) + +## Credits + +- FreeLong paper: [arxiv.org/abs/2407.19918](https://arxiv.org/abs/2407.19918) +- Wan 2.2: Alibaba +- Implementation: Collaborative human-AI development + +## License + +MIT diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..068a2f5 --- /dev/null +++ b/__init__.py @@ -0,0 +1,27 @@ +""" +comfyUI-LongLook: FreeLong for Wan 2.2 Video Generation + +Implements FreeLong (NeurIPS 2024) spectral blending for: +1. Better motion consistency within each generation +2. Reliable chunk chaining for unlimited length videos +""" + +from .nodes import ( + WanContinuationConditioning, + WanFreeLong, +) + +NODE_CLASS_MAPPINGS = { + "WanContinuationConditioning": WanContinuationConditioning, + "WanFreeLong": WanFreeLong, +} + +NODE_DISPLAY_NAME_MAPPINGS = { + "WanContinuationConditioning": "Wan Continuation Conditioning", + "WanFreeLong": "Wan FreeLong", +} + +__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"] + +WEB_DIRECTORY = None +__version__ = "3.0.0" diff --git a/examples/20241210133335-d9f5de77.jpg b/examples/20241210133335-d9f5de77.jpg new file mode 100644 index 0000000..6ce4e82 Binary files /dev/null and b/examples/20241210133335-d9f5de77.jpg differ diff --git a/examples/Car-Racing-Example.json b/examples/Car-Racing-Example.json new file mode 100644 index 0000000..5c30c27 --- /dev/null +++ b/examples/Car-Racing-Example.json @@ -0,0 +1,11686 @@ +{ + "id": "7de7f99a-a2fa-45bd-8976-cb3dc53eda69", + "revision": 0, + "last_node_id": 238, + "last_link_id": 529, + "nodes": [ + { + "id": 35, + "type": "KSamplerAdvanced", + "pos": [ + 3251.3209897487254, + 171.51042266187523 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 76, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 512 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 527 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 528 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 206 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 125 + ] + } + ], + "title": "Sampler 1A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 423527643182539, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 22, + "type": "CLIPLoader", + "pos": [ + 2012.8530971905464, + 346.6812756809476 + ], + "size": [ + 350, + 106 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 96 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "default" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 76, + "type": "UNETLoader", + "pos": [ + 2038.312916531085, + 491.5880646483075 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 171 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "UNETLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors", + "default" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 77, + "type": "UNETLoader", + "pos": [ + 2026.3805183148684, + 624.9536247536935 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 172 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "UNETLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors", + "default" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 36, + "type": "KSamplerAdvanced", + "pos": [ + 3551.3209897487254, + 171.51042266187523 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 77, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 511 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 526 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 529 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 125 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 126, + 440 + ] + } + ], + "title": "Sampler 1B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 1234567987, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 85, + "type": "LoadImage", + "pos": [ + 2001.9001118481249, + -488.41636506980615 + ], + "size": [ + 283, + 314 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 234 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "LoadImage", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "20241210133335-d9f5de77.jpg", + "image" + ] + }, + { + "id": 150, + "type": "VHS_VideoCombine", + "pos": [ + 8232.16771498972, + 57.96750285334016 + ], + "size": [ + 1152.8778696051359, + 977.3765942250755 + ], + "flags": {}, + "order": 107, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 387 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 1 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "16fpsPreview", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "16fpsPreview_00026.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "16fpsPreview_00026.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\16fpsPreview_00026.mp4" + } + } + } + }, + { + "id": 108, + "type": "RIFE VFI", + "pos": [ + 9468.41766917821, + 93.5617432113997 + ], + "size": [ + 362.91953125, + 198 + ], + "flags": {}, + "order": 106, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 345 + }, + { + "name": "optional_interpolation_states", + "shape": 7, + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 332 + ] + } + ], + "properties": { + "cnr_id": "comfyui-frame-interpolation", + "ver": "1.0.7", + "Node name for S&R": "RIFE VFI", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + "rife47.pth", + 10, + 2, + true, + true, + 1 + ], + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 29, + "type": "LoraLoader", + "pos": [ + 2463.0511893264884, + 343.22451424884855 + ], + "size": [ + 350, + 126 + ], + "flags": {}, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 171 + }, + { + "name": "clip", + "type": "CLIP", + "link": 96 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 224 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 447 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "LoraLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan\\lightning\\wan2.2_i2v_A14b_high_noise_lora_rank64_lightx2v_4step_1022.safetensors", + 1, + 1 + ], + "color": "#232", + "bgcolor": "#353", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 8, + "type": "VAELoader", + "pos": [ + 2039.442355344832, + 755.0755964472119 + ], + "size": [ + 250, + 60 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 470 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAELoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ], + "color": "#323", + "bgcolor": "#535", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 44, + "type": "LoraLoaderModelOnly", + "pos": [ + 2457.1376333761777, + 638.4853513971366 + ], + "size": [ + 350, + 82 + ], + "flags": {}, + "order": 60, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 172 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 481 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "LoraLoaderModelOnly", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan\\lightning\\wan2.2_i2v_A14b_low_noise_lora_rank64_lightx2v_4step_1022.safetensors", + 1 + ], + "color": "#232", + "bgcolor": "#353", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 160, + "type": "698e36df-48d4-4287-b2d0-dcc52b061095", + "pos": [ + 4931.968754001209, + -170.08863889478778 + ], + "size": [ + 210, + 290 + ], + "flags": {}, + "order": 79, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "VAE", + "link": 474 + }, + { + "name": "model", + "type": "MODEL", + "link": 463 + }, + { + "name": "model_1", + "type": "MODEL", + "link": 482 + }, + { + "name": "clip", + "type": "CLIP", + "link": 448 + }, + { + "name": "anchor_images", + "type": "IMAGE", + "link": 437 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 494 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 501 + }, + { + "name": "anchor_latent", + "type": "LATENT", + "link": 440 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 442, + 443, + 490 + ] + } + ], + "properties": { + "proxyWidgets": [ + [ + "-1", + "width" + ], + [ + "-1", + "height" + ], + [ + "157", + "text" + ], + [ + "158", + "text" + ] + ], + "cnr_id": "comfy-core", + "ver": "0.5.1", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 512, + 512 + ] + }, + { + "id": 61, + "type": "VAEDecode", + "pos": [ + 3851.3209897487254, + 171.51042266187523 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 78, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 126 + }, + { + "name": "vae", + "type": "VAE", + "link": 510 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 232, + 437, + 491 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 220, + "type": "GetNode", + "pos": [ + 6925.789958330874, + 67.61308393613483 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 508 + ] + } + ], + "title": "Get_HEIGHT", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 213, + "type": "GetNode", + "pos": [ + 6929.529352236293, + 26.794606750102226 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 499 + ] + } + ], + "title": "Get_WIDTH", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 171, + "type": "GetNode", + "pos": [ + 6929.9367940849215, + -17.531037146548528 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 453 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 204, + "type": "GetNode", + "pos": [ + 6901.587933187449, + -61.195571226055506 + ], + "size": [ + 214.7121957596937, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 487 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 185, + "type": "GetNode", + "pos": [ + 6909.733685501829, + -103.68011933872491 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 468 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 196, + "type": "GetNode", + "pos": [ + 6931.947463966244, + -136.9194349915978 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 479 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 221, + "type": "GetNode", + "pos": [ + 7348.643009851601, + 45.56991340732491 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 509 + ] + } + ], + "title": "Get_HEIGHT", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 214, + "type": "GetNode", + "pos": [ + 7346.238683877187, + 5.6473125112826095 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 500 + ] + } + ], + "title": "Get_WIDTH", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 205, + "type": "GetNode", + "pos": [ + 7316.939768682733, + -82.85632571732266 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 488 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 172, + "type": "GetNode", + "pos": [ + 7352.823321939547, + -33.38375768847292 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 454 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 186, + "type": "GetNode", + "pos": [ + 7319.622217256697, + -122.42589159424516 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 469 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 197, + "type": "GetNode", + "pos": [ + 7334.680852016822, + -165.50171435193624 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 480 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 212, + "type": "GetNode", + "pos": [ + 6475.180883044972, + 32.84195439311758 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 498 + ] + } + ], + "title": "Get_WIDTH", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 170, + "type": "GetNode", + "pos": [ + 6480.18489831374, + -10.25611792396317 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 452 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 203, + "type": "GetNode", + "pos": [ + 6460.29028294249, + -52.0522656708984 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 486 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 184, + "type": "GetNode", + "pos": [ + 6464.489168788575, + -96.24650569235754 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 467 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 195, + "type": "GetNode", + "pos": [ + 6492.256737607552, + -140.5238761786909 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 478 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 218, + "type": "GetNode", + "pos": [ + 6069.042593677559, + 70.09545470507922 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 506 + ] + } + ], + "title": "Get_HEIGHT", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 211, + "type": "GetNode", + "pos": [ + 6067.97101365278, + 25.3587443261069 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 497 + ] + } + ], + "title": "Get_WIDTH", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 194, + "type": "GetNode", + "pos": [ + 6079.633591386293, + -159.2808050563369 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 477 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 217, + "type": "GetNode", + "pos": [ + 5638.918323428706, + 77.67274933840451 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 25, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 505 + ] + } + ], + "title": "Get_HEIGHT", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 210, + "type": "GetNode", + "pos": [ + 5641.405017461378, + 36.34003883895834 + ], + "size": [ + 210.64369862163676, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 496 + ] + } + ], + "title": "Get_WIDTH", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 168, + "type": "GetNode", + "pos": [ + 5648.728015550561, + -5.316930430957518 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 450 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 201, + "type": "GetNode", + "pos": [ + 5610.552368929492, + -49.233876455464475 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 28, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 484 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 182, + "type": "GetNode", + "pos": [ + 5623.607514031867, + -89.0060962850809 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 29, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 465 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 193, + "type": "GetNode", + "pos": [ + 5649.36011379579, + -133.10715356129776 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 30, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 476 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 216, + "type": "GetNode", + "pos": [ + 5205.7626490672565, + 70.47248068815824 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 31, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 504 + ] + } + ], + "title": "Get_HEIGHT", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 209, + "type": "GetNode", + "pos": [ + 5216.642961190464, + 28.068446696367758 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 32, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 503 + ] + } + ], + "title": "Get_WIDTH", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 167, + "type": "GetNode", + "pos": [ + 5232.091626372891, + -12.751816172932998 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 449 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 200, + "type": "GetNode", + "pos": [ + 5193.002625692543, + -57.20858934778339 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 483 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 181, + "type": "GetNode", + "pos": [ + 5190.966045127514, + -97.73680286454608 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 464 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 192, + "type": "GetNode", + "pos": [ + 5228.040497926123, + -140.63798787597293 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 36, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 475 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 215, + "type": "GetNode", + "pos": [ + 4786.246780927915, + 101.38182476450324 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 37, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 501 + ] + } + ], + "title": "Get_HEIGHT", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 208, + "type": "GetNode", + "pos": [ + 4786.890833857775, + 55.03817649029579 + ], + "size": [ + 210, + 59.3563013783629 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 494 + ] + } + ], + "title": "Get_WIDTH", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 165, + "type": "GetNode", + "pos": [ + 4793.398450222909, + 12.737223318800964 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 39, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 448 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 199, + "type": "GetNode", + "pos": [ + 4749.307094170052, + -36.119919629885324 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 40, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 482 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 180, + "type": "GetNode", + "pos": [ + 4756.449561768844, + -81.63225566269668 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 41, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 463 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 188, + "type": "GetNode", + "pos": [ + 4779.639166045326, + -126.39377286629957 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 42, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 474 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 140, + "type": "ImageBatchJoin", + "pos": [ + 8856.831945851889, + -427.44713510389903 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 104, + "mode": 4, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 342 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 344 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 139, + "type": "ImageBatchJoin", + "pos": [ + 8695.588621038543, + -424.8921078674563 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 103, + "mode": 4, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 340 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 342 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 138, + "type": "ImageBatchJoin", + "pos": [ + 8546.816565006795, + -422.6641287074943 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 102, + "mode": 4, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 339 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 340 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 137, + "type": "ImageBatchJoin", + "pos": [ + 8395.752704087754, + -418.44509671869827 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 101, + "mode": 4, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 338 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 339 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 136, + "type": "ImageBatchJoin", + "pos": [ + 7539.3197912909645, + -320.18987829771083 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 100, + "mode": 0, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 336 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": 374 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 338 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 141, + "type": "ImageBatchJoin", + "pos": [ + 9052.890936370173, + -436.9932151691758 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 105, + "mode": 4, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 344 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 345, + 387 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 135, + "type": "ImageBatchJoin", + "pos": [ + 7118.856424639371, + -349.16807056694387 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 98, + "mode": 0, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 335 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": 373 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 336 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 134, + "type": "ImageBatchJoin", + "pos": [ + 6662.95691810514, + -318.5182981569075 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 95, + "mode": 0, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 334 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": 372 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 335 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 133, + "type": "ImageBatchJoin", + "pos": [ + 6216.594394613261, + -348.64139909141625 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 92, + "mode": 0, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 333 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": 371 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 334 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 132, + "type": "ImageBatchJoin", + "pos": [ + 5822.145110950038, + -339.0230528485818 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 88, + "mode": 0, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 330 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": 331 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 333 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 106, + "type": "ImageBatchJoin", + "pos": [ + 5391.406323067242, + -333.85233681996743 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 84, + "mode": 0, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 253 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": 323 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 330 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 96, + "type": "ImageBatchJoin", + "pos": [ + 4932.453042828358, + -316.5222570463631 + ], + "size": [ + 146.321875, + 46 + ], + "flags": {}, + "order": 81, + "mode": 0, + "inputs": [ + { + "name": "images_a", + "type": "IMAGE", + "link": 232 + }, + { + "name": "images_b", + "type": "IMAGE", + "link": 442 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 253 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Allor", + "ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c", + "Node name for S&R": "ImageBatchJoin", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [] + }, + { + "id": 130, + "type": "d55f381a-0bf3-40ca-af4a-d2c85f09c24c", + "pos": [ + 5785.35605951406, + -180.76007693633838 + ], + "size": [ + 210, + 270 + ], + "flags": {}, + "order": 85, + "mode": 0, + "inputs": [ + { + "name": "anchor_images", + "type": "IMAGE", + "link": 324 + }, + { + "name": "vae", + "type": "VAE", + "link": 476 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 496 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 505 + }, + { + "name": "model", + "type": "MODEL", + "link": 465 + }, + { + "name": "model_1", + "type": "MODEL", + "link": 484 + }, + { + "name": "clip", + "type": "CLIP", + "link": 450 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 329, + 331, + 350 + ] + } + ], + "properties": { + "proxyWidgets": [ + [ + "-1", + "width" + ], + [ + "-1", + "height" + ], + [ + "127", + "text" + ], + [ + "123", + "text" + ] + ], + "cnr_id": "comfy-core", + "ver": "0.5.1", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 512, + 512 + ] + }, + { + "id": 142, + "type": "8009d707-0820-4728-b874-90885deab238", + "pos": [ + 6213.163250315071, + -185.31856252445039 + ], + "size": [ + 210, + 270 + ], + "flags": {}, + "order": 89, + "mode": 0, + "inputs": [ + { + "name": "anchor_images", + "type": "IMAGE", + "link": 350 + }, + { + "name": "vae", + "type": "VAE", + "link": 477 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 497 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 506 + }, + { + "name": "model", + "type": "MODEL", + "link": 466 + }, + { + "name": "model_1", + "type": "MODEL", + "link": 485 + }, + { + "name": "clip", + "type": "CLIP", + "link": 451 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 346, + 351, + 371 + ] + } + ], + "properties": { + "proxyWidgets": [ + [ + "-1", + "width" + ], + [ + "-1", + "height" + ], + [ + "127", + "text" + ], + [ + "123", + "text" + ] + ], + "cnr_id": "comfy-core", + "ver": "0.5.1", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 512, + 512 + ] + }, + { + "id": 90, + "type": "VHS_VideoCombine", + "pos": [ + 4873.004461921869, + 289.05666691775684 + ], + "size": [ + 313.4718437584861, + 511.03991319915895 + ], + "flags": {}, + "order": 83, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 490 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 2 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk2", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk2_00214.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk2_00214.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk2_00214.mp4" + } + } + } + }, + { + "id": 104, + "type": "VHS_VideoCombine", + "pos": [ + 5303.317882484934, + 288.5419368893274 + ], + "size": [ + 313.924396884966, + 511.2913316027589 + ], + "flags": {}, + "order": 86, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 489 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 3 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk3", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk3_00018.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk3_00018.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk3_00018.mp4" + } + } + } + }, + { + "id": 131, + "type": "VHS_VideoCombine", + "pos": [ + 5709.632307950057, + 274.9253106299541 + ], + "size": [ + 293.08785537011045, + 499.71547520561694 + ], + "flags": {}, + "order": 87, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 329 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 4 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk4", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk4_00018.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk4_00018.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk4_00018.mp4" + } + } + } + }, + { + "id": 145, + "type": "VHS_VideoCombine", + "pos": [ + 6146.14794720908, + 246.99805588137798 + ], + "size": [ + 321.2133374143659, + 515.340743007981 + ], + "flags": {}, + "order": 90, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 346 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 5 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk5", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk5_00019.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk5_00019.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk5_00019.mp4" + } + } + } + }, + { + "id": 146, + "type": "VHS_VideoCombine", + "pos": [ + 6568.853169109823, + 221.7183088377284 + ], + "size": [ + 323.1963989201977, + 516.4424438445543 + ], + "flags": {}, + "order": 93, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 347 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 6 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk6", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk6_00022.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk6_00022.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk6_00022.mp4" + } + } + } + }, + { + "id": 147, + "type": "VHS_VideoCombine", + "pos": [ + 7008.957755723439, + 207.49677288740776 + ], + "size": [ + 322.1203227252963, + 515.8446237362757 + ], + "flags": {}, + "order": 96, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 348 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 7 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk7", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk7_00019.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk7_00019.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk7_00019.mp4" + } + } + } + }, + { + "id": 148, + "type": "VHS_VideoCombine", + "pos": [ + 7444.71071012248, + 202.15975655966196 + ], + "size": [ + 322.1920690760562, + 515.8844828200313 + ], + "flags": {}, + "order": 99, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 349 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 8 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk8", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk8_00023.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk8_00023.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk8_00023.mp4" + } + } + } + }, + { + "id": 187, + "type": "SetNode", + "pos": [ + 2340.4743405877657, + 842.3631599798746 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 62, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 470 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_VAE", + "properties": { + "previousName": "VAE", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 166, + "type": "SetNode", + "pos": [ + 2840.16655060822, + 385.6800080933445 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 66, + "mode": 0, + "inputs": [ + { + "name": "CLIP", + "type": "CLIP", + "link": 447 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_CLIP", + "properties": { + "previousName": "CLIP", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 198, + "type": "SetNode", + "pos": [ + 2829.7399245030156, + 666.4377875445058 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 67, + "mode": 0, + "inputs": [ + { + "name": "MODEL", + "type": "MODEL", + "link": 481 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_LOW MODEL", + "properties": { + "previousName": "LOW MODEL", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 224, + "type": "GetNode", + "pos": [ + 3564.430098945708, + 123.85492334626012 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 43, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 511 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 225, + "type": "GetNode", + "pos": [ + 3253.5484659878734, + 134.56520547341688 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 44, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 512 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 207, + "type": "SetNode", + "pos": [ + 2479.3706911433796, + -485.5141786193004 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 70, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 493 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_HEIGHT", + "properties": { + "previousName": "HEIGHT", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 206, + "type": "SetNode", + "pos": [ + 2476.0061573728663, + -527.2202693531866 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 68, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 492 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_WIDTH", + "properties": { + "previousName": "WIDTH", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "WIDTH" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 219, + "type": "GetNode", + "pos": [ + 6484.027685827867, + 75.75953758943456 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 45, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 507 + ] + } + ], + "title": "Get_HEIGHT", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "HEIGHT" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 183, + "type": "GetNode", + "pos": [ + 6050.792167768708, + -108.11901527541356 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 46, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 466 + ] + } + ], + "title": "Get_FREELONG", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 202, + "type": "GetNode", + "pos": [ + 6035.2463141625285, + -59.06232760745978 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 47, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 485 + ] + } + ], + "title": "Get_LOW MODEL", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "LOW MODEL" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 169, + "type": "GetNode", + "pos": [ + 6065.53267756716, + -19.977922500562638 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 48, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 451 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 222, + "type": "GetNode", + "pos": [ + 3860.5021366864466, + 114.12719103740059 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 49, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 510 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 226, + "type": "GetNode", + "pos": [ + 2796.7544511928577, + -505.17604666399944 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 50, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 513 + ] + } + ], + "title": "Get_VAE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 227, + "type": "GetNode", + "pos": [ + 1808.3274534397399, + 118.47092164921177 + ], + "size": [ + 210, + 50.00000000000001 + ], + "flags": { + "collapsed": true + }, + "order": 51, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 514, + 515 + ] + } + ], + "title": "Get_CLIP", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "CLIP" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 3, + "type": "CLIPTextEncode", + "pos": [ + 2006.2956247220054, + 8.448457835511594 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 63, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 514 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 516 + ] + } + ], + "title": "Chunk 1 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red sports car driving fast, drone tracking shot" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 228, + "type": "SetNode", + "pos": [ + 2314.485061735589, + -42.49907364841488 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 71, + "mode": 0, + "inputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "link": 516 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [] + } + ], + "title": "Set_POSITIVE", + "properties": { + "previousName": "POSITIVE", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "POSITIVE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 4, + "type": "CLIPTextEncode", + "pos": [ + 2008.823369807724, + 153.2073113765266 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 64, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 515 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 517 + ] + } + ], + "title": "Chunk 1 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 229, + "type": "SetNode", + "pos": [ + 2338.8672213527725, + 175.7046821406013 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 72, + "mode": 0, + "inputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "link": 517 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [] + } + ], + "title": "Set_NEGATIVE", + "properties": { + "previousName": "NEGATIVE", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "NEGATIVE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 231, + "type": "GetNode", + "pos": [ + 2779.9886117215137, + -545.9388456613838 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 52, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 519 + ] + } + ], + "title": "Get_NEGATIVE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "NEGATIVE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 129, + "type": "5dc78ce5-bcf7-420a-8267-dd4609141233", + "pos": [ + 5358.277216291084, + -185.3345731529365 + ], + "size": [ + 210, + 270 + ], + "flags": {}, + "order": 82, + "mode": 0, + "inputs": [ + { + "name": "anchor_images", + "type": "IMAGE", + "link": 443 + }, + { + "name": "vae", + "type": "VAE", + "link": 475 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 503 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 504 + }, + { + "name": "model", + "type": "MODEL", + "link": 464 + }, + { + "name": "model_1", + "type": "MODEL", + "link": 483 + }, + { + "name": "clip", + "type": "CLIP", + "link": 449 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 323, + 324, + 489 + ] + } + ], + "properties": { + "proxyWidgets": [ + [ + "-1", + "width" + ], + [ + "-1", + "height" + ], + [ + "127", + "text" + ], + [ + "123", + "text" + ] + ], + "cnr_id": "comfy-core", + "ver": "0.5.1", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 512, + 512 + ] + }, + { + "id": 230, + "type": "GetNode", + "pos": [ + 2782.8060827671075, + -595.1393991883795 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 53, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 518 + ] + } + ], + "title": "Get_POSITIVE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "POSITIVE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 234, + "type": "SetNode", + "pos": [ + 3136.969176789473, + -512.1312442739625 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 74, + "mode": 0, + "inputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "link": 524 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [] + } + ], + "title": "Set_POSTIIVEIMAGE", + "properties": { + "previousName": "POSTIIVEIMAGE", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "POSTIIVEIMAGE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 235, + "type": "SetNode", + "pos": [ + 3119.6335452306234, + -455.759291688609 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 75, + "mode": 0, + "inputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "link": 525 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [] + } + ], + "title": "Set_NEGATIVEIMAGE", + "properties": { + "previousName": "NEGATIVEIMAGE", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "NEGATIVEIMAGE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 233, + "type": "GetNode", + "pos": [ + 3288.6571033735545, + 88.27989231092677 + ], + "size": [ + 210, + 50.00000000000001 + ], + "flags": { + "collapsed": true + }, + "order": 54, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 526, + 527 + ] + } + ], + "title": "Get_POSTIIVEIMAGE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "POSTIIVEIMAGE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 236, + "type": "GetNode", + "pos": [ + 3540.4658320988424, + 87.69598442121443 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 55, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 528, + 529 + ] + } + ], + "title": "Get_NEGATIVEIMAGE", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "NEGATIVEIMAGE" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 78, + "type": "VHS_VideoCombine", + "pos": [ + 4267.9385319628645, + 95.42122976250197 + ], + "size": [ + 329.7373737373928, + 520.076318742996 + ], + "flags": {}, + "order": 80, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 491 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 1 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Chunk1", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Chunk1_00201.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Chunk1_00201.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Chunk1_00201.mp4" + } + } + } + }, + { + "id": 173, + "type": "SetNode", + "pos": [ + 3131.8424054932193, + -30.147425991126816 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 73, + "mode": 0, + "inputs": [ + { + "name": "MODEL", + "type": "MODEL", + "link": 455 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [] + } + ], + "title": "Set_FREELONG", + "properties": { + "previousName": "FREELONG", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "FREELONG" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 164, + "type": "Note", + "pos": [ + 3103.9659155323993, + -363.53906346774454 + ], + "size": [ + 210, + 224.21059783382157 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "NOTE: Length and Local window frames are often best the same unless going above 81 frames per chunk" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 237, + "type": "Note", + "pos": [ + 2384.1445314048847, + -189.75677898415088 + ], + "size": [ + 263.9760605201336, + 88 + ], + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "If you run out of vram, lower the megapixels or switch to GGUF models etc...." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 238, + "type": "Note", + "pos": [ + 9952.236622443135, + -77.88572664199492 + ], + "size": [ + 263.9760605201336, + 88 + ], + "flags": {}, + "order": 58, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "Enable me for RIFE 32 FPS Version" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 143, + "type": "6faa0958-0a15-459d-ad2b-944768ada35a", + "pos": [ + 6630.204703045043, + -184.9135546661457 + ], + "size": [ + 210, + 270 + ], + "flags": {}, + "order": 91, + "mode": 0, + "inputs": [ + { + "name": "anchor_images", + "type": "IMAGE", + "link": 351 + }, + { + "name": "vae", + "type": "VAE", + "link": 478 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 498 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 507 + }, + { + "name": "model", + "type": "MODEL", + "link": 467 + }, + { + "name": "model_1", + "type": "MODEL", + "link": 486 + }, + { + "name": "clip", + "type": "CLIP", + "link": 452 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 347, + 352, + 372 + ] + } + ], + "properties": { + "proxyWidgets": [ + [ + "-1", + "width" + ], + [ + "-1", + "height" + ], + [ + "127", + "text" + ], + [ + "123", + "text" + ] + ], + "cnr_id": "comfy-core", + "ver": "0.5.1", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 512, + 512 + ] + }, + { + "id": 144, + "type": "b6720a03-b3c2-4792-9e32-c2addcd5c9d4", + "pos": [ + 7072.129991796416, + -203.44295243524408 + ], + "size": [ + 210, + 270 + ], + "flags": {}, + "order": 94, + "mode": 0, + "inputs": [ + { + "name": "anchor_images", + "type": "IMAGE", + "link": 352 + }, + { + "name": "vae", + "type": "VAE", + "link": 479 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 499 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 508 + }, + { + "name": "model", + "type": "MODEL", + "link": 468 + }, + { + "name": "model_1", + "type": "MODEL", + "link": 487 + }, + { + "name": "clip", + "type": "CLIP", + "link": 453 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 348, + 353, + 373 + ] + } + ], + "properties": { + "proxyWidgets": [ + [ + "-1", + "width" + ], + [ + "-1", + "height" + ], + [ + "127", + "text" + ], + [ + "123", + "text" + ] + ], + "cnr_id": "comfy-core", + "ver": "0.5.1", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 512, + 512 + ] + }, + { + "id": 98, + "type": "ImageScaleToTotalPixelsX", + "pos": [ + 2409.529792527288, + -440.13577560589107 + ], + "size": [ + 246.5982421875, + 199 + ], + "flags": {}, + "order": 61, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 234 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 235 + ] + }, + { + "name": "width", + "type": "INT", + "links": [ + 258, + 492 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 259, + 493 + ] + } + ], + "properties": { + "cnr_id": "scale-image-to-total-pixels-advanced", + "ver": "a635add9e42710b758256a73e8415eb8af92a8b2", + "Node name for S&R": "ImageScaleToTotalPixelsX", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 0.4, + 16, + "crop", + "lanczos", + "864x480" + ] + }, + { + "id": 91, + "type": "WanFreeLong", + "pos": [ + 2782.267657283538, + -159.4700177662486 + ], + "size": [ + 280, + 178 + ], + "flags": {}, + "order": 65, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 224 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 455 + ] + } + ], + "title": "FreeLong (Spectral Blend)", + "properties": { + "Node name for S&R": "WanFreeLong", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + true, + 0.8, + 0.8, + 29, + 0, + -1 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 84, + "type": "WanImageToVideo", + "pos": [ + 2786.6363959991713, + -416.2612896422422 + ], + "size": [ + 270, + 210 + ], + "flags": {}, + "order": 69, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 518 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 519 + }, + { + "name": "vae", + "type": "VAE", + "link": 513 + }, + { + "name": "clip_vision_output", + "shape": 7, + "type": "CLIP_VISION_OUTPUT", + "link": null + }, + { + "name": "start_image", + "shape": 7, + "type": "IMAGE", + "link": 235 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 258 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 259 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 524 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 525 + ] + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 206 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "WanImageToVideo", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81, + 1 + ] + }, + { + "id": 97, + "type": "VHS_VideoCombine", + "pos": [ + 9935.78153992993, + 54.313396648602264 + ], + "size": [ + 1152.8778696051359, + 983.0981996271216 + ], + "flags": {}, + "order": 108, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 332 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Chunk 1 Output", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 32, + "loop_count": 0, + "filename_prefix": "32fps-Final", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "32fps-Final_00006.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 32, + "workflow": "32fps-Final_00006.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\32fps-Final_00006.mp4" + } + } + } + }, + { + "id": 149, + "type": "a4727103-5706-4168-b05b-00c73effa805", + "pos": [ + 7495.941188871797, + -212.08382290116245 + ], + "size": [ + 210, + 270 + ], + "flags": { + "collapsed": false + }, + "order": 97, + "mode": 0, + "inputs": [ + { + "name": "anchor_images", + "type": "IMAGE", + "link": 353 + }, + { + "name": "vae", + "type": "VAE", + "link": 480 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 500 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 509 + }, + { + "name": "model", + "type": "MODEL", + "link": 469 + }, + { + "name": "model_1", + "type": "MODEL", + "link": 488 + }, + { + "name": "clip", + "type": "CLIP", + "link": 454 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 349, + 374 + ] + } + ], + "properties": { + "proxyWidgets": [ + [ + "-1", + "width" + ], + [ + "-1", + "height" + ], + [ + "127", + "text" + ], + [ + "123", + "text" + ] + ], + "cnr_id": "comfy-core", + "ver": "0.5.1", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.5.2" + } + }, + "widgets_values": [ + 512, + 512 + ] + } + ], + "links": [ + [ + 96, + 22, + 0, + 29, + 1, + "CLIP" + ], + [ + 125, + 35, + 0, + 36, + 3, + "LATENT" + ], + [ + 126, + 36, + 0, + 61, + 0, + "LATENT" + ], + [ + 171, + 76, + 0, + 29, + 0, + "MODEL" + ], + [ + 172, + 77, + 0, + 44, + 0, + "MODEL" + ], + [ + 206, + 84, + 2, + 35, + 3, + "LATENT" + ], + [ + 224, + 29, + 0, + 91, + 0, + "MODEL" + ], + [ + 232, + 61, + 0, + 96, + 0, + "IMAGE" + ], + [ + 234, + 85, + 0, + 98, + 0, + "IMAGE" + ], + [ + 235, + 98, + 0, + 84, + 4, + "IMAGE" + ], + [ + 253, + 96, + 0, + 106, + 0, + "IMAGE" + ], + [ + 258, + 98, + 1, + 84, + 5, + "INT" + ], + [ + 259, + 98, + 2, + 84, + 6, + "INT" + ], + [ + 323, + 129, + 0, + 106, + 1, + "IMAGE" + ], + [ + 324, + 129, + 0, + 130, + 0, + "IMAGE" + ], + [ + 329, + 130, + 0, + 131, + 0, + "IMAGE" + ], + [ + 330, + 106, + 0, + 132, + 0, + "IMAGE" + ], + [ + 331, + 130, + 0, + 132, + 1, + "IMAGE" + ], + [ + 332, + 108, + 0, + 97, + 0, + "IMAGE" + ], + [ + 333, + 132, + 0, + 133, + 0, + "IMAGE" + ], + [ + 334, + 133, + 0, + 134, + 0, + "IMAGE" + ], + [ + 335, + 134, + 0, + 135, + 0, + "IMAGE" + ], + [ + 336, + 135, + 0, + 136, + 0, + "IMAGE" + ], + [ + 338, + 136, + 0, + 137, + 0, + "IMAGE" + ], + [ + 339, + 137, + 0, + 138, + 0, + "IMAGE" + ], + [ + 340, + 138, + 0, + 139, + 0, + "IMAGE" + ], + [ + 342, + 139, + 0, + 140, + 0, + "IMAGE" + ], + [ + 344, + 140, + 0, + 141, + 0, + "IMAGE" + ], + [ + 345, + 141, + 0, + 108, + 0, + "IMAGE" + ], + [ + 346, + 142, + 0, + 145, + 0, + "IMAGE" + ], + [ + 347, + 143, + 0, + 146, + 0, + "IMAGE" + ], + [ + 348, + 144, + 0, + 147, + 0, + "IMAGE" + ], + [ + 349, + 149, + 0, + 148, + 0, + "IMAGE" + ], + [ + 350, + 130, + 0, + 142, + 0, + "IMAGE" + ], + [ + 351, + 142, + 0, + 143, + 0, + "IMAGE" + ], + [ + 352, + 143, + 0, + 144, + 0, + "IMAGE" + ], + [ + 353, + 144, + 0, + 149, + 0, + "IMAGE" + ], + [ + 371, + 142, + 0, + 133, + 1, + "IMAGE" + ], + [ + 372, + 143, + 0, + 134, + 1, + "IMAGE" + ], + [ + 373, + 144, + 0, + 135, + 1, + "IMAGE" + ], + [ + 374, + 149, + 0, + 136, + 1, + "IMAGE" + ], + [ + 387, + 141, + 0, + 150, + 0, + "IMAGE" + ], + [ + 437, + 61, + 0, + 160, + 4, + "IMAGE" + ], + [ + 440, + 36, + 0, + 160, + 7, + "LATENT" + ], + [ + 442, + 160, + 0, + 96, + 1, + "IMAGE" + ], + [ + 443, + 160, + 0, + 129, + 0, + "IMAGE" + ], + [ + 447, + 29, + 1, + 166, + 0, + "CLIP" + ], + [ + 448, + 165, + 0, + 160, + 3, + "CLIP" + ], + [ + 449, + 167, + 0, + 129, + 6, + "CLIP" + ], + [ + 450, + 168, + 0, + 130, + 6, + "CLIP" + ], + [ + 451, + 169, + 0, + 142, + 6, + "CLIP" + ], + [ + 452, + 170, + 0, + 143, + 6, + "CLIP" + ], + [ + 453, + 171, + 0, + 144, + 6, + "CLIP" + ], + [ + 454, + 172, + 0, + 149, + 6, + "CLIP" + ], + [ + 455, + 91, + 0, + 173, + 0, + "MODEL" + ], + [ + 463, + 180, + 0, + 160, + 1, + "MODEL" + ], + [ + 464, + 181, + 0, + 129, + 4, + "MODEL" + ], + [ + 465, + 182, + 0, + 130, + 4, + "MODEL" + ], + [ + 466, + 183, + 0, + 142, + 4, + "MODEL" + ], + [ + 467, + 184, + 0, + 143, + 4, + "MODEL" + ], + [ + 468, + 185, + 0, + 144, + 4, + "MODEL" + ], + [ + 469, + 186, + 0, + 149, + 4, + "MODEL" + ], + [ + 470, + 8, + 0, + 187, + 0, + "VAE" + ], + [ + 474, + 188, + 0, + 160, + 0, + "VAE" + ], + [ + 475, + 192, + 0, + 129, + 1, + "VAE" + ], + [ + 476, + 193, + 0, + 130, + 1, + "VAE" + ], + [ + 477, + 194, + 0, + 142, + 1, + "VAE" + ], + [ + 478, + 195, + 0, + 143, + 1, + "VAE" + ], + [ + 479, + 196, + 0, + 144, + 1, + "VAE" + ], + [ + 480, + 197, + 0, + 149, + 1, + "VAE" + ], + [ + 481, + 44, + 0, + 198, + 0, + "MODEL" + ], + [ + 482, + 199, + 0, + 160, + 2, + "MODEL" + ], + [ + 483, + 200, + 0, + 129, + 5, + "MODEL" + ], + [ + 484, + 201, + 0, + 130, + 5, + "MODEL" + ], + [ + 485, + 202, + 0, + 142, + 5, + "MODEL" + ], + [ + 486, + 203, + 0, + 143, + 5, + "MODEL" + ], + [ + 487, + 204, + 0, + 144, + 5, + "MODEL" + ], + [ + 488, + 205, + 0, + 149, + 5, + "MODEL" + ], + [ + 489, + 129, + 0, + 104, + 0, + "IMAGE" + ], + [ + 490, + 160, + 0, + 90, + 0, + "IMAGE" + ], + [ + 491, + 61, + 0, + 78, + 0, + "IMAGE" + ], + [ + 492, + 98, + 1, + 206, + 0, + "INT" + ], + [ + 493, + 98, + 2, + 207, + 0, + "INT" + ], + [ + 494, + 208, + 0, + 160, + 5, + "INT" + ], + [ + 496, + 210, + 0, + 130, + 2, + "INT" + ], + [ + 497, + 211, + 0, + 142, + 2, + "INT" + ], + [ + 498, + 212, + 0, + 143, + 2, + "INT" + ], + [ + 499, + 213, + 0, + 144, + 2, + "INT" + ], + [ + 500, + 214, + 0, + 149, + 2, + "INT" + ], + [ + 501, + 215, + 0, + 160, + 6, + "INT" + ], + [ + 503, + 209, + 0, + 129, + 2, + "INT" + ], + [ + 504, + 216, + 0, + 129, + 3, + "INT" + ], + [ + 505, + 217, + 0, + 130, + 3, + "INT" + ], + [ + 506, + 218, + 0, + 142, + 3, + "INT" + ], + [ + 507, + 219, + 0, + 143, + 3, + "INT" + ], + [ + 508, + 220, + 0, + 144, + 3, + "INT" + ], + [ + 509, + 221, + 0, + 149, + 3, + "INT" + ], + [ + 510, + 222, + 0, + 61, + 1, + "VAE" + ], + [ + 511, + 224, + 0, + 36, + 0, + "MODEL" + ], + [ + 512, + 225, + 0, + 35, + 0, + "MODEL" + ], + [ + 513, + 226, + 0, + 84, + 2, + "VAE" + ], + [ + 514, + 227, + 0, + 3, + 0, + "CLIP" + ], + [ + 515, + 227, + 0, + 4, + 0, + "CLIP" + ], + [ + 516, + 3, + 0, + 228, + 0, + "CONDITIONING" + ], + [ + 517, + 4, + 0, + 229, + 0, + "CONDITIONING" + ], + [ + 518, + 230, + 0, + 84, + 0, + "CONDITIONING" + ], + [ + 519, + 231, + 0, + 84, + 1, + "CONDITIONING" + ], + [ + 524, + 84, + 0, + 234, + 0, + "CONDITIONING" + ], + [ + 525, + 84, + 1, + 235, + 0, + "CONDITIONING" + ], + [ + 526, + 233, + 0, + 36, + 1, + "CONDITIONING" + ], + [ + 527, + 233, + 0, + 35, + 1, + "CONDITIONING" + ], + [ + 528, + 236, + 0, + 35, + 2, + "CONDITIONING" + ], + [ + 529, + 236, + 0, + 36, + 2, + "CONDITIONING" + ] + ], + "groups": [ + { + "id": 1, + "title": "Chunk 1 - First Generation", + "bounding": [ + 3231.3209897487254, + 21.510422661875246, + 980, + 530 + ], + "color": "#3f5159", + "font_size": 24, + "flags": {} + } + ], + "definitions": { + "subgraphs": [ + { + "id": "5dc78ce5-bcf7-420a-8267-dd4609141233", + "version": 1, + "state": { + "lastGroupId": 4, + "lastNodeId": 128, + "lastLinkId": 314, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Chunk 3", + "inputNode": { + "id": -10, + "bounding": [ + 3092.324231476244, + 1932.9592635753716, + 126.21484375, + 180 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 4838.539075226245, + 1992.9592635753716, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "5c7d184b-417d-4415-9a63-a74e5b6c701c", + "name": "anchor_images", + "type": "IMAGE", + "linkIds": [ + 304 + ], + "localized_name": "anchor_images", + "pos": [ + 3198.539075226244, + 1952.9592635753716 + ] + }, + { + "id": "2be6d675-9b42-454b-8a62-a9ee1b84be9a", + "name": "vae", + "type": "VAE", + "linkIds": [ + 305, + 306 + ], + "localized_name": "vae", + "pos": [ + 3198.539075226244, + 1972.9592635753716 + ] + }, + { + "id": "a020b4e3-8435-4406-89f8-0a02b490855d", + "name": "width", + "type": "INT", + "linkIds": [ + 307 + ], + "localized_name": "width", + "pos": [ + 3198.539075226244, + 1992.9592635753716 + ] + }, + { + "id": "fb8cc59c-df3a-48a0-b8bf-2d29058f73e0", + "name": "height", + "type": "INT", + "linkIds": [ + 308 + ], + "localized_name": "height", + "pos": [ + 3198.539075226244, + 2012.9592635753716 + ] + }, + { + "id": "80b15a3a-9422-4f38-a0e0-6aecc13683d0", + "name": "model", + "type": "MODEL", + "linkIds": [ + 310 + ], + "localized_name": "model", + "pos": [ + 3198.539075226244, + 2032.9592635753716 + ] + }, + { + "id": "52d55504-8ef1-4bfb-b41c-0aaef39cd60c", + "name": "model_1", + "type": "MODEL", + "linkIds": [ + 309 + ], + "localized_name": "model_1", + "pos": [ + 3198.539075226244, + 2052.9592635753716 + ] + }, + { + "id": "3bbb2aea-53ab-4ddc-8f92-a84ac6cd101e", + "name": "clip", + "type": "CLIP", + "linkIds": [ + 303, + 302 + ], + "localized_name": "clip", + "pos": [ + 3198.539075226244, + 2072.9592635753716 + ] + } + ], + "outputs": [ + { + "id": "4e5757ea-77ed-46f5-acd0-41dc6227a477", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 313, + 314 + ], + "localized_name": "IMAGE", + "pos": [ + 4858.539075226245, + 2012.9592635753716 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 124, + "type": "WanContinuationConditioning", + "pos": [ + 3669.0655152798686, + 2031.6494256133246 + ], + "size": [ + 280, + 190 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 293 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 294 + }, + { + "localized_name": "anchor_images", + "name": "anchor_images", + "type": "IMAGE", + "link": 304 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 305 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 307 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 308 + } + ], + "outputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "links": [ + 295, + 298 + ] + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "links": [ + 296, + 299 + ] + }, + { + "localized_name": "latent", + "name": "latent", + "type": "LATENT", + "links": [ + 300 + ] + } + ], + "title": "Continuation Conditioning", + "properties": { + "Node name for S&R": "WanContinuationConditioning", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81 + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 125, + "type": "KSamplerAdvanced", + "pos": [ + 4269.4701042395745, + 1949.64973543539 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 309 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 295 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 296 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 297 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 301 + ] + } + ], + "title": "Sampler 2B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 9876543210, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 128, + "type": "VAEDecode", + "pos": [ + 4544.442615139288, + 1896.9048417706165 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 301 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 306 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313, + 314 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 127, + "type": "CLIPTextEncode", + "pos": [ + 3299.1792009111614, + 1834.3936867014206 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 303 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 293 + ] + } + ], + "title": "Chunk 2 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red sports car drifts around a sharp corner" + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 123, + "type": "CLIPTextEncode", + "pos": [ + 3311.1367265638974, + 2023.839571512751 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 302 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 294 + ] + } + ], + "title": "Chunk 2 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 126, + "type": "KSamplerAdvanced", + "pos": [ + 3975.1093434077297, + 1962.8384643460975 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 310 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 298 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 299 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 300 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 297 + ] + } + ], + "title": "Sampler 2A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 209050154560723, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + } + ], + "groups": [ + { + "id": 4, + "title": "Chunk 2 - Different Prompt + Continuation", + "bounding": [ + 3278.539075226244, + 1747.9592635753716, + 1500, + 550 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "links": [ + { + "id": 293, + "origin_id": 127, + "origin_slot": 0, + "target_id": 124, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 294, + "origin_id": 123, + "origin_slot": 0, + "target_id": 124, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 298, + "origin_id": 124, + "origin_slot": 0, + "target_id": 126, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 299, + "origin_id": 124, + "origin_slot": 1, + "target_id": 126, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 300, + "origin_id": 124, + "origin_slot": 2, + "target_id": 126, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 295, + "origin_id": 124, + "origin_slot": 0, + "target_id": 125, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 296, + "origin_id": 124, + "origin_slot": 1, + "target_id": 125, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 297, + "origin_id": 126, + "origin_slot": 0, + "target_id": 125, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 301, + "origin_id": 125, + "origin_slot": 0, + "target_id": 128, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 304, + "origin_id": -10, + "origin_slot": 0, + "target_id": 124, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 305, + "origin_id": -10, + "origin_slot": 1, + "target_id": 124, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 306, + "origin_id": -10, + "origin_slot": 1, + "target_id": 128, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 307, + "origin_id": -10, + "origin_slot": 2, + "target_id": 124, + "target_slot": 4, + "type": "INT" + }, + { + "id": 308, + "origin_id": -10, + "origin_slot": 3, + "target_id": 124, + "target_slot": 5, + "type": "INT" + }, + { + "id": 310, + "origin_id": -10, + "origin_slot": 4, + "target_id": 126, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 309, + "origin_id": -10, + "origin_slot": 5, + "target_id": 125, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 303, + "origin_id": -10, + "origin_slot": 6, + "target_id": 127, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 302, + "origin_id": -10, + "origin_slot": 6, + "target_id": 123, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 313, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 314, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + } + ], + "extra": { + "ue_links": [], + "links_added_by_ue": [], + "workflowRendererVersion": "LG" + } + }, + { + "id": "d55f381a-0bf3-40ca-af4a-d2c85f09c24c", + "version": 1, + "state": { + "lastGroupId": 4, + "lastNodeId": 128, + "lastLinkId": 314, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Chunk 4", + "inputNode": { + "id": -10, + "bounding": [ + 3092.324231476244, + 1932.9592635753716, + 126.21484375, + 180 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 4838.539075226245, + 1992.9592635753716, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "5c7d184b-417d-4415-9a63-a74e5b6c701c", + "name": "anchor_images", + "type": "IMAGE", + "linkIds": [ + 304 + ], + "localized_name": "anchor_images", + "pos": [ + 3198.539075226244, + 1952.9592635753716 + ] + }, + { + "id": "2be6d675-9b42-454b-8a62-a9ee1b84be9a", + "name": "vae", + "type": "VAE", + "linkIds": [ + 305, + 306 + ], + "localized_name": "vae", + "pos": [ + 3198.539075226244, + 1972.9592635753716 + ] + }, + { + "id": "a020b4e3-8435-4406-89f8-0a02b490855d", + "name": "width", + "type": "INT", + "linkIds": [ + 307 + ], + "localized_name": "width", + "pos": [ + 3198.539075226244, + 1992.9592635753716 + ] + }, + { + "id": "fb8cc59c-df3a-48a0-b8bf-2d29058f73e0", + "name": "height", + "type": "INT", + "linkIds": [ + 308 + ], + "localized_name": "height", + "pos": [ + 3198.539075226244, + 2012.9592635753716 + ] + }, + { + "id": "80b15a3a-9422-4f38-a0e0-6aecc13683d0", + "name": "model", + "type": "MODEL", + "linkIds": [ + 310 + ], + "localized_name": "model", + "pos": [ + 3198.539075226244, + 2032.9592635753716 + ] + }, + { + "id": "52d55504-8ef1-4bfb-b41c-0aaef39cd60c", + "name": "model_1", + "type": "MODEL", + "linkIds": [ + 309 + ], + "localized_name": "model_1", + "pos": [ + 3198.539075226244, + 2052.9592635753716 + ] + }, + { + "id": "3bbb2aea-53ab-4ddc-8f92-a84ac6cd101e", + "name": "clip", + "type": "CLIP", + "linkIds": [ + 303, + 302 + ], + "localized_name": "clip", + "pos": [ + 3198.539075226244, + 2072.9592635753716 + ] + } + ], + "outputs": [ + { + "id": "4e5757ea-77ed-46f5-acd0-41dc6227a477", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 313, + 314 + ], + "localized_name": "IMAGE", + "pos": [ + 4858.539075226245, + 2012.9592635753716 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 124, + "type": "WanContinuationConditioning", + "pos": [ + 3669.0655152798686, + 2031.6494256133246 + ], + "size": [ + 280, + 190 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 293 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 294 + }, + { + "localized_name": "anchor_images", + "name": "anchor_images", + "type": "IMAGE", + "link": 304 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 305 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 307 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 308 + } + ], + "outputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "links": [ + 295, + 298 + ] + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "links": [ + 296, + 299 + ] + }, + { + "localized_name": "latent", + "name": "latent", + "type": "LATENT", + "links": [ + 300 + ] + } + ], + "title": "Continuation Conditioning", + "properties": { + "Node name for S&R": "WanContinuationConditioning", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81 + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 125, + "type": "KSamplerAdvanced", + "pos": [ + 4269.4701042395745, + 1949.64973543539 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 309 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 295 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 296 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 297 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 301 + ] + } + ], + "title": "Sampler 2B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 9876543210, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 128, + "type": "VAEDecode", + "pos": [ + 4544.442615139288, + 1896.9048417706165 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 301 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 306 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313, + 314 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 127, + "type": "CLIPTextEncode", + "pos": [ + 3299.1792009111614, + 1834.3936867014206 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 303 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 293 + ] + } + ], + "title": "Chunk 2 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red sports car driving fast, drone tracking shot" + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 123, + "type": "CLIPTextEncode", + "pos": [ + 3311.1367265638974, + 2023.839571512751 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 302 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 294 + ] + } + ], + "title": "Chunk 2 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 126, + "type": "KSamplerAdvanced", + "pos": [ + 3975.1093434077297, + 1962.8384643460975 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 310 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 298 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 299 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 300 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 297 + ] + } + ], + "title": "Sampler 2A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 292278176172562, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + } + ], + "groups": [ + { + "id": 4, + "title": "Chunk 2 - Different Prompt + Continuation", + "bounding": [ + 3278.539075226244, + 1747.9592635753716, + 1500, + 550 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "links": [ + { + "id": 293, + "origin_id": 127, + "origin_slot": 0, + "target_id": 124, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 294, + "origin_id": 123, + "origin_slot": 0, + "target_id": 124, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 298, + "origin_id": 124, + "origin_slot": 0, + "target_id": 126, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 299, + "origin_id": 124, + "origin_slot": 1, + "target_id": 126, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 300, + "origin_id": 124, + "origin_slot": 2, + "target_id": 126, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 295, + "origin_id": 124, + "origin_slot": 0, + "target_id": 125, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 296, + "origin_id": 124, + "origin_slot": 1, + "target_id": 125, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 297, + "origin_id": 126, + "origin_slot": 0, + "target_id": 125, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 301, + "origin_id": 125, + "origin_slot": 0, + "target_id": 128, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 304, + "origin_id": -10, + "origin_slot": 0, + "target_id": 124, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 305, + "origin_id": -10, + "origin_slot": 1, + "target_id": 124, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 306, + "origin_id": -10, + "origin_slot": 1, + "target_id": 128, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 307, + "origin_id": -10, + "origin_slot": 2, + "target_id": 124, + "target_slot": 4, + "type": "INT" + }, + { + "id": 308, + "origin_id": -10, + "origin_slot": 3, + "target_id": 124, + "target_slot": 5, + "type": "INT" + }, + { + "id": 310, + "origin_id": -10, + "origin_slot": 4, + "target_id": 126, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 309, + "origin_id": -10, + "origin_slot": 5, + "target_id": 125, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 303, + "origin_id": -10, + "origin_slot": 6, + "target_id": 127, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 302, + "origin_id": -10, + "origin_slot": 6, + "target_id": 123, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 313, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 314, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + } + ], + "extra": { + "ue_links": [], + "links_added_by_ue": [], + "workflowRendererVersion": "LG" + } + }, + { + "id": "8009d707-0820-4728-b874-90885deab238", + "version": 1, + "state": { + "lastGroupId": 4, + "lastNodeId": 128, + "lastLinkId": 314, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Chunk 5", + "inputNode": { + "id": -10, + "bounding": [ + 3092.324231476244, + 1932.9592635753716, + 126.21484375, + 180 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 4838.539075226245, + 1992.9592635753716, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "5c7d184b-417d-4415-9a63-a74e5b6c701c", + "name": "anchor_images", + "type": "IMAGE", + "linkIds": [ + 304 + ], + "localized_name": "anchor_images", + "pos": [ + 3198.539075226244, + 1952.9592635753716 + ] + }, + { + "id": "2be6d675-9b42-454b-8a62-a9ee1b84be9a", + "name": "vae", + "type": "VAE", + "linkIds": [ + 305, + 306 + ], + "localized_name": "vae", + "pos": [ + 3198.539075226244, + 1972.9592635753716 + ] + }, + { + "id": "a020b4e3-8435-4406-89f8-0a02b490855d", + "name": "width", + "type": "INT", + "linkIds": [ + 307 + ], + "localized_name": "width", + "pos": [ + 3198.539075226244, + 1992.9592635753716 + ] + }, + { + "id": "fb8cc59c-df3a-48a0-b8bf-2d29058f73e0", + "name": "height", + "type": "INT", + "linkIds": [ + 308 + ], + "localized_name": "height", + "pos": [ + 3198.539075226244, + 2012.9592635753716 + ] + }, + { + "id": "80b15a3a-9422-4f38-a0e0-6aecc13683d0", + "name": "model", + "type": "MODEL", + "linkIds": [ + 310 + ], + "localized_name": "model", + "pos": [ + 3198.539075226244, + 2032.9592635753716 + ] + }, + { + "id": "52d55504-8ef1-4bfb-b41c-0aaef39cd60c", + "name": "model_1", + "type": "MODEL", + "linkIds": [ + 309 + ], + "localized_name": "model_1", + "pos": [ + 3198.539075226244, + 2052.9592635753716 + ] + }, + { + "id": "3bbb2aea-53ab-4ddc-8f92-a84ac6cd101e", + "name": "clip", + "type": "CLIP", + "linkIds": [ + 303, + 302 + ], + "localized_name": "clip", + "pos": [ + 3198.539075226244, + 2072.9592635753716 + ] + } + ], + "outputs": [ + { + "id": "4e5757ea-77ed-46f5-acd0-41dc6227a477", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 313, + 314 + ], + "localized_name": "IMAGE", + "pos": [ + 4858.539075226245, + 2012.9592635753716 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 124, + "type": "WanContinuationConditioning", + "pos": [ + 3669.0655152798686, + 2031.6494256133246 + ], + "size": [ + 280, + 190 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 293 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 294 + }, + { + "localized_name": "anchor_images", + "name": "anchor_images", + "type": "IMAGE", + "link": 304 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 305 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 307 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 308 + } + ], + "outputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "links": [ + 295, + 298 + ] + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "links": [ + 296, + 299 + ] + }, + { + "localized_name": "latent", + "name": "latent", + "type": "LATENT", + "links": [ + 300 + ] + } + ], + "title": "Continuation Conditioning", + "properties": { + "Node name for S&R": "WanContinuationConditioning", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81 + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 125, + "type": "KSamplerAdvanced", + "pos": [ + 4269.4701042395745, + 1949.64973543539 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 309 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 295 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 296 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 297 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 301 + ] + } + ], + "title": "Sampler 2B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 9876543210, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 128, + "type": "VAEDecode", + "pos": [ + 4544.442615139288, + 1896.9048417706165 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 301 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 306 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313, + 314 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 127, + "type": "CLIPTextEncode", + "pos": [ + 3299.1792009111614, + 1834.3936867014206 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 303 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 293 + ] + } + ], + "title": "Chunk 2 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red sports car passes evil clown who is standing on side of road and drifts around a sharp corner " + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 123, + "type": "CLIPTextEncode", + "pos": [ + 3311.1367265638974, + 2023.839571512751 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 302 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 294 + ] + } + ], + "title": "Chunk 2 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 126, + "type": "KSamplerAdvanced", + "pos": [ + 3975.1093434077297, + 1962.8384643460975 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 310 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 298 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 299 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 300 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 297 + ] + } + ], + "title": "Sampler 2A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 292278176173068, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + } + ], + "groups": [ + { + "id": 4, + "title": "Chunk 2 - Different Prompt + Continuation", + "bounding": [ + 3278.539075226244, + 1747.9592635753716, + 1500, + 550 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "links": [ + { + "id": 293, + "origin_id": 127, + "origin_slot": 0, + "target_id": 124, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 294, + "origin_id": 123, + "origin_slot": 0, + "target_id": 124, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 298, + "origin_id": 124, + "origin_slot": 0, + "target_id": 126, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 299, + "origin_id": 124, + "origin_slot": 1, + "target_id": 126, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 300, + "origin_id": 124, + "origin_slot": 2, + "target_id": 126, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 295, + "origin_id": 124, + "origin_slot": 0, + "target_id": 125, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 296, + "origin_id": 124, + "origin_slot": 1, + "target_id": 125, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 297, + "origin_id": 126, + "origin_slot": 0, + "target_id": 125, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 301, + "origin_id": 125, + "origin_slot": 0, + "target_id": 128, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 304, + "origin_id": -10, + "origin_slot": 0, + "target_id": 124, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 305, + "origin_id": -10, + "origin_slot": 1, + "target_id": 124, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 306, + "origin_id": -10, + "origin_slot": 1, + "target_id": 128, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 307, + "origin_id": -10, + "origin_slot": 2, + "target_id": 124, + "target_slot": 4, + "type": "INT" + }, + { + "id": 308, + "origin_id": -10, + "origin_slot": 3, + "target_id": 124, + "target_slot": 5, + "type": "INT" + }, + { + "id": 310, + "origin_id": -10, + "origin_slot": 4, + "target_id": 126, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 309, + "origin_id": -10, + "origin_slot": 5, + "target_id": 125, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 303, + "origin_id": -10, + "origin_slot": 6, + "target_id": 127, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 302, + "origin_id": -10, + "origin_slot": 6, + "target_id": 123, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 313, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 314, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + } + ], + "extra": { + "ue_links": [], + "links_added_by_ue": [], + "workflowRendererVersion": "LG" + } + }, + { + "id": "6faa0958-0a15-459d-ad2b-944768ada35a", + "version": 1, + "state": { + "lastGroupId": 4, + "lastNodeId": 128, + "lastLinkId": 314, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Chunk 6", + "inputNode": { + "id": -10, + "bounding": [ + 3092.324231476244, + 1932.9592635753716, + 126.21484375, + 180 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 4838.539075226245, + 1992.9592635753716, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "5c7d184b-417d-4415-9a63-a74e5b6c701c", + "name": "anchor_images", + "type": "IMAGE", + "linkIds": [ + 304 + ], + "localized_name": "anchor_images", + "pos": [ + 3198.539075226244, + 1952.9592635753716 + ] + }, + { + "id": "2be6d675-9b42-454b-8a62-a9ee1b84be9a", + "name": "vae", + "type": "VAE", + "linkIds": [ + 305, + 306 + ], + "localized_name": "vae", + "pos": [ + 3198.539075226244, + 1972.9592635753716 + ] + }, + { + "id": "a020b4e3-8435-4406-89f8-0a02b490855d", + "name": "width", + "type": "INT", + "linkIds": [ + 307 + ], + "localized_name": "width", + "pos": [ + 3198.539075226244, + 1992.9592635753716 + ] + }, + { + "id": "fb8cc59c-df3a-48a0-b8bf-2d29058f73e0", + "name": "height", + "type": "INT", + "linkIds": [ + 308 + ], + "localized_name": "height", + "pos": [ + 3198.539075226244, + 2012.9592635753716 + ] + }, + { + "id": "80b15a3a-9422-4f38-a0e0-6aecc13683d0", + "name": "model", + "type": "MODEL", + "linkIds": [ + 310 + ], + "localized_name": "model", + "pos": [ + 3198.539075226244, + 2032.9592635753716 + ] + }, + { + "id": "52d55504-8ef1-4bfb-b41c-0aaef39cd60c", + "name": "model_1", + "type": "MODEL", + "linkIds": [ + 309 + ], + "localized_name": "model_1", + "pos": [ + 3198.539075226244, + 2052.9592635753716 + ] + }, + { + "id": "3bbb2aea-53ab-4ddc-8f92-a84ac6cd101e", + "name": "clip", + "type": "CLIP", + "linkIds": [ + 303, + 302 + ], + "localized_name": "clip", + "pos": [ + 3198.539075226244, + 2072.9592635753716 + ] + } + ], + "outputs": [ + { + "id": "4e5757ea-77ed-46f5-acd0-41dc6227a477", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 313, + 314 + ], + "localized_name": "IMAGE", + "pos": [ + 4858.539075226245, + 2012.9592635753716 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 124, + "type": "WanContinuationConditioning", + "pos": [ + 3669.0655152798686, + 2031.6494256133246 + ], + "size": [ + 280, + 190 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 293 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 294 + }, + { + "localized_name": "anchor_images", + "name": "anchor_images", + "type": "IMAGE", + "link": 304 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 305 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 307 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 308 + } + ], + "outputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "links": [ + 295, + 298 + ] + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "links": [ + 296, + 299 + ] + }, + { + "localized_name": "latent", + "name": "latent", + "type": "LATENT", + "links": [ + 300 + ] + } + ], + "title": "Continuation Conditioning", + "properties": { + "Node name for S&R": "WanContinuationConditioning", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81 + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 125, + "type": "KSamplerAdvanced", + "pos": [ + 4269.4701042395745, + 1949.64973543539 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 309 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 295 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 296 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 297 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 301 + ] + } + ], + "title": "Sampler 2B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 9876543210, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 128, + "type": "VAEDecode", + "pos": [ + 4544.442615139288, + 1896.9048417706165 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 301 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 306 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313, + 314 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 127, + "type": "CLIPTextEncode", + "pos": [ + 3299.1792009111614, + 1834.3936867014206 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 303 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 293 + ] + } + ], + "title": "Chunk 2 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "drone tracking shot of red sports car driving very fast. high speed, racing" + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 123, + "type": "CLIPTextEncode", + "pos": [ + 3311.1367265638974, + 2023.839571512751 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 302 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 294 + ] + } + ], + "title": "Chunk 2 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 126, + "type": "KSamplerAdvanced", + "pos": [ + 3975.1093434077297, + 1962.8384643460975 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 310 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 298 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 299 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 300 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 297 + ] + } + ], + "title": "Sampler 2A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 292278176172563, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + } + ], + "groups": [ + { + "id": 4, + "title": "Chunk 2 - Different Prompt + Continuation", + "bounding": [ + 3278.539075226244, + 1747.9592635753716, + 1500, + 550 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "links": [ + { + "id": 293, + "origin_id": 127, + "origin_slot": 0, + "target_id": 124, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 294, + "origin_id": 123, + "origin_slot": 0, + "target_id": 124, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 298, + "origin_id": 124, + "origin_slot": 0, + "target_id": 126, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 299, + "origin_id": 124, + "origin_slot": 1, + "target_id": 126, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 300, + "origin_id": 124, + "origin_slot": 2, + "target_id": 126, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 295, + "origin_id": 124, + "origin_slot": 0, + "target_id": 125, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 296, + "origin_id": 124, + "origin_slot": 1, + "target_id": 125, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 297, + "origin_id": 126, + "origin_slot": 0, + "target_id": 125, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 301, + "origin_id": 125, + "origin_slot": 0, + "target_id": 128, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 304, + "origin_id": -10, + "origin_slot": 0, + "target_id": 124, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 305, + "origin_id": -10, + "origin_slot": 1, + "target_id": 124, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 306, + "origin_id": -10, + "origin_slot": 1, + "target_id": 128, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 307, + "origin_id": -10, + "origin_slot": 2, + "target_id": 124, + "target_slot": 4, + "type": "INT" + }, + { + "id": 308, + "origin_id": -10, + "origin_slot": 3, + "target_id": 124, + "target_slot": 5, + "type": "INT" + }, + { + "id": 310, + "origin_id": -10, + "origin_slot": 4, + "target_id": 126, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 309, + "origin_id": -10, + "origin_slot": 5, + "target_id": 125, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 303, + "origin_id": -10, + "origin_slot": 6, + "target_id": 127, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 302, + "origin_id": -10, + "origin_slot": 6, + "target_id": 123, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 313, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 314, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + } + ], + "extra": { + "ue_links": [], + "links_added_by_ue": [], + "workflowRendererVersion": "LG" + } + }, + { + "id": "b6720a03-b3c2-4792-9e32-c2addcd5c9d4", + "version": 1, + "state": { + "lastGroupId": 4, + "lastNodeId": 128, + "lastLinkId": 314, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Chunk 7", + "inputNode": { + "id": -10, + "bounding": [ + 3092.324231476244, + 1932.9592635753716, + 126.21484375, + 180 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 4838.539075226245, + 1992.9592635753716, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "5c7d184b-417d-4415-9a63-a74e5b6c701c", + "name": "anchor_images", + "type": "IMAGE", + "linkIds": [ + 304 + ], + "localized_name": "anchor_images", + "pos": [ + 3198.539075226244, + 1952.9592635753716 + ] + }, + { + "id": "2be6d675-9b42-454b-8a62-a9ee1b84be9a", + "name": "vae", + "type": "VAE", + "linkIds": [ + 305, + 306 + ], + "localized_name": "vae", + "pos": [ + 3198.539075226244, + 1972.9592635753716 + ] + }, + { + "id": "a020b4e3-8435-4406-89f8-0a02b490855d", + "name": "width", + "type": "INT", + "linkIds": [ + 307 + ], + "localized_name": "width", + "pos": [ + 3198.539075226244, + 1992.9592635753716 + ] + }, + { + "id": "fb8cc59c-df3a-48a0-b8bf-2d29058f73e0", + "name": "height", + "type": "INT", + "linkIds": [ + 308 + ], + "localized_name": "height", + "pos": [ + 3198.539075226244, + 2012.9592635753716 + ] + }, + { + "id": "80b15a3a-9422-4f38-a0e0-6aecc13683d0", + "name": "model", + "type": "MODEL", + "linkIds": [ + 310 + ], + "localized_name": "model", + "pos": [ + 3198.539075226244, + 2032.9592635753716 + ] + }, + { + "id": "52d55504-8ef1-4bfb-b41c-0aaef39cd60c", + "name": "model_1", + "type": "MODEL", + "linkIds": [ + 309 + ], + "localized_name": "model_1", + "pos": [ + 3198.539075226244, + 2052.9592635753716 + ] + }, + { + "id": "3bbb2aea-53ab-4ddc-8f92-a84ac6cd101e", + "name": "clip", + "type": "CLIP", + "linkIds": [ + 303, + 302 + ], + "localized_name": "clip", + "pos": [ + 3198.539075226244, + 2072.9592635753716 + ] + } + ], + "outputs": [ + { + "id": "4e5757ea-77ed-46f5-acd0-41dc6227a477", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 313, + 314 + ], + "localized_name": "IMAGE", + "pos": [ + 4858.539075226245, + 2012.9592635753716 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 124, + "type": "WanContinuationConditioning", + "pos": [ + 3669.0655152798686, + 2031.6494256133246 + ], + "size": [ + 280, + 190 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 293 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 294 + }, + { + "localized_name": "anchor_images", + "name": "anchor_images", + "type": "IMAGE", + "link": 304 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 305 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 307 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 308 + } + ], + "outputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "links": [ + 295, + 298 + ] + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "links": [ + 296, + 299 + ] + }, + { + "localized_name": "latent", + "name": "latent", + "type": "LATENT", + "links": [ + 300 + ] + } + ], + "title": "Continuation Conditioning", + "properties": { + "Node name for S&R": "WanContinuationConditioning", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81 + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 125, + "type": "KSamplerAdvanced", + "pos": [ + 4269.4701042395745, + 1949.64973543539 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 309 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 295 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 296 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 297 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 301 + ] + } + ], + "title": "Sampler 2B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 9876543210, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 128, + "type": "VAEDecode", + "pos": [ + 4544.442615139288, + 1896.9048417706165 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 301 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 306 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313, + 314 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 127, + "type": "CLIPTextEncode", + "pos": [ + 3299.1792009111614, + 1834.3936867014206 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 303 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 293 + ] + } + ], + "title": "Chunk 2 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red sports car driving fast. back of the car visible. driving fast" + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 123, + "type": "CLIPTextEncode", + "pos": [ + 3311.1367265638974, + 2023.839571512751 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 302 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 294 + ] + } + ], + "title": "Chunk 2 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 126, + "type": "KSamplerAdvanced", + "pos": [ + 3975.1093434077297, + 1962.8384643460975 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 310 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 298 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 299 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 300 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 297 + ] + } + ], + "title": "Sampler 2A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 292278176172562, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + } + ], + "groups": [ + { + "id": 4, + "title": "Chunk 2 - Different Prompt + Continuation", + "bounding": [ + 3278.539075226244, + 1747.9592635753716, + 1500, + 550 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "links": [ + { + "id": 293, + "origin_id": 127, + "origin_slot": 0, + "target_id": 124, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 294, + "origin_id": 123, + "origin_slot": 0, + "target_id": 124, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 298, + "origin_id": 124, + "origin_slot": 0, + "target_id": 126, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 299, + "origin_id": 124, + "origin_slot": 1, + "target_id": 126, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 300, + "origin_id": 124, + "origin_slot": 2, + "target_id": 126, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 295, + "origin_id": 124, + "origin_slot": 0, + "target_id": 125, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 296, + "origin_id": 124, + "origin_slot": 1, + "target_id": 125, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 297, + "origin_id": 126, + "origin_slot": 0, + "target_id": 125, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 301, + "origin_id": 125, + "origin_slot": 0, + "target_id": 128, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 304, + "origin_id": -10, + "origin_slot": 0, + "target_id": 124, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 305, + "origin_id": -10, + "origin_slot": 1, + "target_id": 124, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 306, + "origin_id": -10, + "origin_slot": 1, + "target_id": 128, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 307, + "origin_id": -10, + "origin_slot": 2, + "target_id": 124, + "target_slot": 4, + "type": "INT" + }, + { + "id": 308, + "origin_id": -10, + "origin_slot": 3, + "target_id": 124, + "target_slot": 5, + "type": "INT" + }, + { + "id": 310, + "origin_id": -10, + "origin_slot": 4, + "target_id": 126, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 309, + "origin_id": -10, + "origin_slot": 5, + "target_id": 125, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 303, + "origin_id": -10, + "origin_slot": 6, + "target_id": 127, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 302, + "origin_id": -10, + "origin_slot": 6, + "target_id": 123, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 313, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 314, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + } + ], + "extra": { + "ue_links": [], + "links_added_by_ue": [], + "workflowRendererVersion": "LG" + } + }, + { + "id": "a4727103-5706-4168-b05b-00c73effa805", + "version": 1, + "state": { + "lastGroupId": 4, + "lastNodeId": 128, + "lastLinkId": 314, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Chunk 8", + "inputNode": { + "id": -10, + "bounding": [ + 3092.324231476244, + 1932.9592635753716, + 126.21484375, + 180 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 4838.539075226245, + 1992.9592635753716, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "5c7d184b-417d-4415-9a63-a74e5b6c701c", + "name": "anchor_images", + "type": "IMAGE", + "linkIds": [ + 304 + ], + "localized_name": "anchor_images", + "pos": [ + 3198.539075226244, + 1952.9592635753716 + ] + }, + { + "id": "2be6d675-9b42-454b-8a62-a9ee1b84be9a", + "name": "vae", + "type": "VAE", + "linkIds": [ + 305, + 306 + ], + "localized_name": "vae", + "pos": [ + 3198.539075226244, + 1972.9592635753716 + ] + }, + { + "id": "a020b4e3-8435-4406-89f8-0a02b490855d", + "name": "width", + "type": "INT", + "linkIds": [ + 307 + ], + "localized_name": "width", + "pos": [ + 3198.539075226244, + 1992.9592635753716 + ] + }, + { + "id": "fb8cc59c-df3a-48a0-b8bf-2d29058f73e0", + "name": "height", + "type": "INT", + "linkIds": [ + 308 + ], + "localized_name": "height", + "pos": [ + 3198.539075226244, + 2012.9592635753716 + ] + }, + { + "id": "80b15a3a-9422-4f38-a0e0-6aecc13683d0", + "name": "model", + "type": "MODEL", + "linkIds": [ + 310 + ], + "localized_name": "model", + "pos": [ + 3198.539075226244, + 2032.9592635753716 + ] + }, + { + "id": "52d55504-8ef1-4bfb-b41c-0aaef39cd60c", + "name": "model_1", + "type": "MODEL", + "linkIds": [ + 309 + ], + "localized_name": "model_1", + "pos": [ + 3198.539075226244, + 2052.9592635753716 + ] + }, + { + "id": "3bbb2aea-53ab-4ddc-8f92-a84ac6cd101e", + "name": "clip", + "type": "CLIP", + "linkIds": [ + 303, + 302 + ], + "localized_name": "clip", + "pos": [ + 3198.539075226244, + 2072.9592635753716 + ] + } + ], + "outputs": [ + { + "id": "4e5757ea-77ed-46f5-acd0-41dc6227a477", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 313, + 314 + ], + "localized_name": "IMAGE", + "pos": [ + 4858.539075226245, + 2012.9592635753716 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 124, + "type": "WanContinuationConditioning", + "pos": [ + 3669.0655152798686, + 2031.6494256133246 + ], + "size": [ + 280, + 190 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 293 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 294 + }, + { + "localized_name": "anchor_images", + "name": "anchor_images", + "type": "IMAGE", + "link": 304 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 305 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 307 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 308 + } + ], + "outputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "links": [ + 295, + 298 + ] + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "links": [ + 296, + 299 + ] + }, + { + "localized_name": "latent", + "name": "latent", + "type": "LATENT", + "links": [ + 300 + ] + } + ], + "title": "Continuation Conditioning", + "properties": { + "Node name for S&R": "WanContinuationConditioning", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81 + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 125, + "type": "KSamplerAdvanced", + "pos": [ + 4269.4701042395745, + 1949.64973543539 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 309 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 295 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 296 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 297 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 301 + ] + } + ], + "title": "Sampler 2B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 9876543210, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 128, + "type": "VAEDecode", + "pos": [ + 4544.442615139288, + 1896.9048417706165 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 301 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 306 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313, + 314 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 127, + "type": "CLIPTextEncode", + "pos": [ + 3299.1792009111614, + 1834.3936867014206 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 303 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 293 + ] + } + ], + "title": "Chunk 2 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red sports car crashes into a big oak tree." + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 123, + "type": "CLIPTextEncode", + "pos": [ + 3311.1367265638974, + 2023.839571512751 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 302 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 294 + ] + } + ], + "title": "Chunk 2 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 126, + "type": "KSamplerAdvanced", + "pos": [ + 3975.1093434077297, + 1962.8384643460975 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 310 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 298 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 299 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 300 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 297 + ] + } + ], + "title": "Sampler 2A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 292278176175234, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + } + ], + "groups": [ + { + "id": 4, + "title": "Chunk 2 - Different Prompt + Continuation", + "bounding": [ + 3278.539075226244, + 1747.9592635753716, + 1500, + 550 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "links": [ + { + "id": 293, + "origin_id": 127, + "origin_slot": 0, + "target_id": 124, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 294, + "origin_id": 123, + "origin_slot": 0, + "target_id": 124, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 298, + "origin_id": 124, + "origin_slot": 0, + "target_id": 126, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 299, + "origin_id": 124, + "origin_slot": 1, + "target_id": 126, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 300, + "origin_id": 124, + "origin_slot": 2, + "target_id": 126, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 295, + "origin_id": 124, + "origin_slot": 0, + "target_id": 125, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 296, + "origin_id": 124, + "origin_slot": 1, + "target_id": 125, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 297, + "origin_id": 126, + "origin_slot": 0, + "target_id": 125, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 301, + "origin_id": 125, + "origin_slot": 0, + "target_id": 128, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 304, + "origin_id": -10, + "origin_slot": 0, + "target_id": 124, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 305, + "origin_id": -10, + "origin_slot": 1, + "target_id": 124, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 306, + "origin_id": -10, + "origin_slot": 1, + "target_id": 128, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 307, + "origin_id": -10, + "origin_slot": 2, + "target_id": 124, + "target_slot": 4, + "type": "INT" + }, + { + "id": 308, + "origin_id": -10, + "origin_slot": 3, + "target_id": 124, + "target_slot": 5, + "type": "INT" + }, + { + "id": 310, + "origin_id": -10, + "origin_slot": 4, + "target_id": 126, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 309, + "origin_id": -10, + "origin_slot": 5, + "target_id": 125, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 303, + "origin_id": -10, + "origin_slot": 6, + "target_id": 127, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 302, + "origin_id": -10, + "origin_slot": 6, + "target_id": 123, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 313, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 314, + "origin_id": 128, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + } + ], + "extra": { + "ue_links": [], + "links_added_by_ue": [], + "workflowRendererVersion": "LG" + } + }, + { + "id": "698e36df-48d4-4287-b2d0-dcc52b061095", + "version": 1, + "state": { + "lastGroupId": 5, + "lastNodeId": 159, + "lastLinkId": 437, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Chunk 2", + "inputNode": { + "id": -10, + "bounding": [ + 4422.271862278405, + 1669.0395219398574, + 126.21484375, + 200 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 6328.346577496541, + 1739.0395219398574, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "9f603430-f953-450a-9200-014011757145", + "name": "vae", + "type": "VAE", + "linkIds": [ + 407, + 408 + ], + "localized_name": "vae", + "pos": [ + 4528.486706028405, + 1689.0395219398574 + ] + }, + { + "id": "a79eb39e-45e9-45b6-a50f-8406505f47e9", + "name": "model", + "type": "MODEL", + "linkIds": [ + 412 + ], + "localized_name": "model", + "pos": [ + 4528.486706028405, + 1709.0395219398574 + ] + }, + { + "id": "5331a104-26df-4fc3-97e9-b51922ad5fd9", + "name": "model_1", + "type": "MODEL", + "linkIds": [ + 413 + ], + "localized_name": "model_1", + "pos": [ + 4528.486706028405, + 1729.0395219398574 + ] + }, + { + "id": "5c0ac127-9797-4c75-8915-ee49cb4be15c", + "name": "clip", + "type": "CLIP", + "linkIds": [ + 414, + 415 + ], + "localized_name": "clip", + "pos": [ + 4528.486706028405, + 1749.0395219398574 + ] + }, + { + "id": "05df3bdc-f2dd-4cdd-8008-55aaf6cace56", + "name": "anchor_images", + "type": "IMAGE", + "linkIds": [ + 409 + ], + "localized_name": "anchor_images", + "pos": [ + 4528.486706028405, + 1769.0395219398574 + ] + }, + { + "id": "8bf628df-4150-4068-934d-bae79ee9c880", + "name": "width", + "type": "INT", + "linkIds": [ + 410 + ], + "localized_name": "width", + "pos": [ + 4528.486706028405, + 1789.0395219398574 + ] + }, + { + "id": "03175dca-5965-4335-81cd-2dbc548af010", + "name": "height", + "type": "INT", + "linkIds": [ + 411 + ], + "localized_name": "height", + "pos": [ + 4528.486706028405, + 1809.0395219398574 + ] + }, + { + "id": "850aa644-6ff8-425c-aa6a-2e00845a057b", + "name": "anchor_latent", + "type": "LATENT", + "linkIds": [], + "localized_name": "anchor_latent", + "pos": [ + 4528.486706028405, + 1829.0395219398574 + ] + } + ], + "outputs": [ + { + "id": "3b72e053-4231-4973-b39c-9aca8a0eb987", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 422, + 423, + 424 + ], + "localized_name": "IMAGE", + "pos": [ + 6348.346577496541, + 1759.0395219398574 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 153, + "type": "VAEDecode", + "pos": [ + 6068.346577496541, + 1692.8039485022612 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 398 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 407 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 422, + 423, + 424 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 155, + "type": "KSamplerAdvanced", + "pos": [ + 5417.293046489454, + 1674.866221391664 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 412 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 433 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 434 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 437 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 406 + ] + } + ], + "title": "Sampler 2A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 420841565495719, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 156, + "type": "KSamplerAdvanced", + "pos": [ + 5744.872444465923, + 1657.6811261878088 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 413 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 435 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 436 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 406 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 398 + ] + } + ], + "title": "Sampler 2B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 9876543210, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 152, + "type": "Note", + "pos": [ + 4691.076368404738, + 1521.750417495176 + ], + "size": [ + 700, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "CHUNK 2 - DIFFERENT PROMPT!\nChunk 2 has its own positive/negative prompts.\nContinuation conditioning keeps visual continuity from chunk 1's last frame.", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 157, + "type": "CLIPTextEncode", + "pos": [ + 4665.217288692318, + 1671.770525453041 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 414 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 399 + ] + } + ], + "title": "Chunk 2 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red sports car driving fast, drone tracking shot" + ], + "color": "#326", + "bgcolor": "#537" + }, + { + "id": 158, + "type": "CLIPTextEncode", + "pos": [ + 4608.486706028405, + 1891.369081707468 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 415 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 400 + ] + } + ], + "title": "Chunk 2 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 154, + "type": "WanContinuationConditioning", + "pos": [ + 5006.859666993546, + 1709.0262699602383 + ], + "size": [ + 280, + 190 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 399 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 400 + }, + { + "localized_name": "anchor_images", + "name": "anchor_images", + "type": "IMAGE", + "link": 409 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 408 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 410 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 411 + } + ], + "outputs": [ + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "links": [ + 433, + 435 + ] + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "links": [ + 434, + 436 + ] + }, + { + "localized_name": "latent", + "name": "latent", + "type": "LATENT", + "links": [ + 437 + ] + } + ], + "title": "Continuation Conditioning", + "properties": { + "Node name for S&R": "WanContinuationConditioning", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 512, + 81 + ], + "color": "#326", + "bgcolor": "#537" + } + ], + "groups": [], + "links": [ + { + "id": 398, + "origin_id": 156, + "origin_slot": 0, + "target_id": 153, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 406, + "origin_id": 155, + "origin_slot": 0, + "target_id": 156, + "target_slot": 3, + "type": "LATENT" + }, + { + "id": 399, + "origin_id": 157, + "origin_slot": 0, + "target_id": 154, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 400, + "origin_id": 158, + "origin_slot": 0, + "target_id": 154, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 407, + "origin_id": -10, + "origin_slot": 0, + "target_id": 153, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 408, + "origin_id": -10, + "origin_slot": 0, + "target_id": 154, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 412, + "origin_id": -10, + "origin_slot": 1, + "target_id": 155, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 413, + "origin_id": -10, + "origin_slot": 2, + "target_id": 156, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 414, + "origin_id": -10, + "origin_slot": 3, + "target_id": 157, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 415, + "origin_id": -10, + "origin_slot": 3, + "target_id": 158, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 409, + "origin_id": -10, + "origin_slot": 4, + "target_id": 154, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 410, + "origin_id": -10, + "origin_slot": 5, + "target_id": 154, + "target_slot": 4, + "type": "INT" + }, + { + "id": 411, + "origin_id": -10, + "origin_slot": 6, + "target_id": 154, + "target_slot": 5, + "type": "INT" + }, + { + "id": 422, + "origin_id": 153, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 423, + "origin_id": 153, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 424, + "origin_id": 153, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 433, + "origin_id": 154, + "origin_slot": 0, + "target_id": 155, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 434, + "origin_id": 154, + "origin_slot": 1, + "target_id": 155, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 435, + "origin_id": 154, + "origin_slot": 0, + "target_id": 156, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 436, + "origin_id": 154, + "origin_slot": 1, + "target_id": 156, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 437, + "origin_id": 154, + "origin_slot": 2, + "target_id": 155, + "target_slot": 3, + "type": "LATENT" + } + ], + "extra": { + "ue_links": [], + "links_added_by_ue": [], + "workflowRendererVersion": "LG" + } + } + ] + }, + "config": {}, + "extra": { + "ds": { + "scale": 0.37190082644630756, + "offset": [ + -3635.057844690098, + 1626.2051608371228 + ] + }, + "frontendVersion": "1.34.9", + "workflowRendererVersion": "LG", + "ue_links": [], + "links_added_by_ue": [], + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/examples/Single-Shot-Example.json b/examples/Single-Shot-Example.json new file mode 100644 index 0000000..d84c29b --- /dev/null +++ b/examples/Single-Shot-Example.json @@ -0,0 +1,1311 @@ +{ + "id": "7de7f99a-a2fa-45bd-8976-cb3dc53eda69", + "revision": 0, + "last_node_id": 169, + "last_link_id": 494, + "nodes": [ + { + "id": 165, + "type": "VAEDecode", + "pos": [ + 3986.498819677875, + 322.0192866938079 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 472 + }, + { + "name": "vae", + "type": "VAE", + "link": 481 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 477 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 8, + "type": "VAELoader", + "pos": [ + 2039.442355344832, + 755.0755964472119 + ], + "size": [ + 250, + 60 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 140, + 481 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAELoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ], + "color": "#323", + "bgcolor": "#535", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 164, + "type": "KSamplerAdvanced", + "pos": [ + 3627.200548237887, + 320.8789353199619 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 480 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 489 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 490 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 471 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 472 + ] + } + ], + "title": "Sampler 1B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 1234567987, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 4, + "type": "CLIPTextEncode", + "pos": [ + 2008.823369807724, + 153.2073113765266 + ], + "size": [ + 300, + 88 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 98 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 484, + 486, + 488, + 490 + ] + } + ], + "title": "Chunk 1 Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 77, + "type": "UNETLoader", + "pos": [ + 1926.5428620989596, + 622.1213508184907 + ], + "size": [ + 502.2464626866531, + 92.62102725701163 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 172 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "UNETLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan2.2_t2v_low_noise_14B_fp8_scaled.safetensors", + "default" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 44, + "type": "LoraLoaderModelOnly", + "pos": [ + 2473.423208503595, + 612.9948859803088 + ], + "size": [ + 561.7124766564311, + 82 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 172 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 480, + 494 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "LoraLoaderModelOnly", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan\\lightning\\wan2.2_t2v_A14b_low_noise_lora_rank64_lightx2v_4step_1217.safetensors", + 1 + ], + "color": "#232", + "bgcolor": "#353", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 22, + "type": "CLIPLoader", + "pos": [ + 1968.2757253038399, + 453.45963159561654 + ], + "size": [ + 350, + 106 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 96 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "default" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 76, + "type": "UNETLoader", + "pos": [ + 1894.8093141808179, + 305.1612091963413 + ], + "size": [ + 468.96724394801686, + 82 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 171 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "UNETLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan2.2_t2v_high_noise_14B_fp8_scaled.safetensors", + "default" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 29, + "type": "LoraLoader", + "pos": [ + 2498.439744078367, + 334.48340881632794 + ], + "size": [ + 548.2591754642162, + 145.82591754642158 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 171 + }, + { + "name": "clip", + "type": "CLIP", + "link": 96 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 224, + 473 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 98, + 99 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "LoraLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "wan\\lightning\\wan2.2_t2v_A14b_high_noise_lora_rank64_lightx2v_4step_1217.safetensors", + 1, + 1 + ], + "color": "#232", + "bgcolor": "#353", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 78, + "type": "VHS_VideoCombine", + "pos": [ + 4338.541901946507, + -643.8719485509293 + ], + "size": [ + 329.7373737373928, + 580.3030303030446 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 173 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "With Freelong", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "With FreeLong", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "With FreeLong_00059.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "With FreeLong_00059.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\With FreeLong_00059.mp4" + } + } + } + }, + { + "id": 166, + "type": "VHS_VideoCombine", + "pos": [ + 4680.402440267667, + -646.9558243526442 + ], + "size": [ + 331.153510704994, + 581.3651330287455 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 477 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "title": "Without Freelong", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "Without FreeLong", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "Without FreeLong_00039.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Without FreeLong_00039.png", + "fullpath": "S:\\Auto\\ComfyUI_windows_portable\\ComfyUI\\output\\Without FreeLong_00039.mp4" + } + } + } + }, + { + "id": 163, + "type": "KSamplerAdvanced", + "pos": [ + 3347.7268729671155, + 332.2824490584218 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 473 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 485 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 486 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 491 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 471 + ] + } + ], + "title": "Sampler 1A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 423527643182541, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 3, + "type": "CLIPTextEncode", + "pos": [ + 2006.2956247220054, + 8.448457835511594 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 99 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 483, + 485, + 487, + 489 + ] + } + ], + "title": "Chunk 1 Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "a man sits into a parked car. the car then drives out of the parking spot" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 61, + "type": "VAEDecode", + "pos": [ + 4134.70055775022, + -643.2397930605172 + ], + "size": [ + 200, + 50 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 126 + }, + { + "name": "vae", + "type": "VAE", + "link": 140 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 173 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 35, + "type": "KSamplerAdvanced", + "pos": [ + 3373.1206425058494, + -437.17545478738407 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 120 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 483 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 484 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 482 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 125 + ] + } + ], + "title": "Sampler 1A (High Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "enable", + 423527643182541, + "fixed", + 8, + 1, + "euler", + "simple", + 0, + 4, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 91, + "type": "WanFreeLong", + "pos": [ + 3328.5655579542577, + -753.0169008496993 + ], + "size": [ + 280, + 178 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 224 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 120 + ] + } + ], + "title": "FreeLong (Spectral Blend)", + "properties": { + "Node name for S&R": "WanFreeLong", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + true, + 1, + 0.8, + 33, + 0, + -1 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 167, + "type": "EmptyHunyuanLatentVideo", + "pos": [ + 1950.2856790207454, + -400.51586897941075 + ], + "size": [ + 290, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 482, + 491 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "EmptyHunyuanLatentVideo", + "ue_properties": { + "widget_ue_connectable": { + "width": true, + "height": true, + "length": true, + "batch_size": true + }, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 512, + 384, + 89, + 1 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 36, + "type": "KSamplerAdvanced", + "pos": [ + 3647.477185439801, + -441.15617827568195 + ], + "size": [ + 252.353515625, + 334 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 494 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 487 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 488 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 125 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 126 + ] + } + ], + "title": "Sampler 1B (Low Noise)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "KSamplerAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.5.2", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "disable", + 1234567987, + "fixed", + 8, + 1, + "euler", + "simple", + 4, + 8, + "disable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 169, + "type": "Note", + "pos": [ + 3138.70944824079, + -890.1004811799733 + ], + "size": [ + 680.5265512030105, + 88 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Use of the freelong node can help produce better results when goibg above 81 in a single generation" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 96, + 22, + 0, + 29, + 1, + "CLIP" + ], + [ + 98, + 29, + 1, + 4, + 0, + "CLIP" + ], + [ + 99, + 29, + 1, + 3, + 0, + "CLIP" + ], + [ + 120, + 91, + 0, + 35, + 0, + "MODEL" + ], + [ + 125, + 35, + 0, + 36, + 3, + "LATENT" + ], + [ + 126, + 36, + 0, + 61, + 0, + "LATENT" + ], + [ + 140, + 8, + 0, + 61, + 1, + "VAE" + ], + [ + 171, + 76, + 0, + 29, + 0, + "MODEL" + ], + [ + 172, + 77, + 0, + 44, + 0, + "MODEL" + ], + [ + 173, + 61, + 0, + 78, + 0, + "IMAGE" + ], + [ + 224, + 29, + 0, + 91, + 0, + "MODEL" + ], + [ + 471, + 163, + 0, + 164, + 3, + "LATENT" + ], + [ + 472, + 164, + 0, + 165, + 0, + "LATENT" + ], + [ + 473, + 29, + 0, + 163, + 0, + "MODEL" + ], + [ + 477, + 165, + 0, + 166, + 0, + "IMAGE" + ], + [ + 480, + 44, + 0, + 164, + 0, + "MODEL" + ], + [ + 481, + 8, + 0, + 165, + 1, + "VAE" + ], + [ + 482, + 167, + 0, + 35, + 3, + "LATENT" + ], + [ + 483, + 3, + 0, + 35, + 1, + "CONDITIONING" + ], + [ + 484, + 4, + 0, + 35, + 2, + "CONDITIONING" + ], + [ + 485, + 3, + 0, + 163, + 1, + "CONDITIONING" + ], + [ + 486, + 4, + 0, + 163, + 2, + "CONDITIONING" + ], + [ + 487, + 3, + 0, + 36, + 1, + "CONDITIONING" + ], + [ + 488, + 4, + 0, + 36, + 2, + "CONDITIONING" + ], + [ + 489, + 3, + 0, + 164, + 1, + "CONDITIONING" + ], + [ + 490, + 4, + 0, + 164, + 2, + "CONDITIONING" + ], + [ + 491, + 167, + 0, + 163, + 3, + "LATENT" + ], + [ + 494, + 44, + 0, + 36, + 0, + "MODEL" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9646149645000016, + "offset": [ + -1887.5814031570703, + 872.4159587679453 + ] + }, + "frontendVersion": "1.34.9", + "workflowRendererVersion": "LG", + "ue_links": [], + "links_added_by_ue": [], + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/nodes.py b/nodes.py new file mode 100644 index 0000000..ff040c7 --- /dev/null +++ b/nodes.py @@ -0,0 +1,597 @@ +import torch +import math +import copy +import logging +from typing import Tuple, Dict, Any, List, Optional + +import comfy.samplers +import comfy.sample +import comfy.model_management +import comfy.latent_formats +import latent_preview +import node_helpers + +# Set up logging for FreeLong +logger = logging.getLogger("comfyui.longlook") +logger.setLevel(logging.INFO) + + +class WanContinuationConditioning: + """ + Simple video continuation conditioning for Wan 2.2. + + Takes the last frame from a previous video chunk and creates i2v conditioning + for generating the next chunk. Equivalent to WanImageToVideo but designed + for easy chaining in continuation workflows. + + Usage: Connect decoded images from chunk 1 → this node → KSampler for chunk 2 + """ + + @classmethod + def INPUT_TYPES(cls) -> Dict[str, Any]: + return { + "required": { + "positive": ("CONDITIONING",), + "negative": ("CONDITIONING",), + "anchor_images": ("IMAGE",), + "vae": ("VAE",), + "width": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 16}), + "height": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 16}), + "video_length": ("INT", { + "default": 81, + "min": 1, + "max": 1024, + "step": 4, + "tooltip": "Output video length in frames. Must match your sampler settings." + }), + } + } + + RETURN_TYPES = ("CONDITIONING", "CONDITIONING", "LATENT") + RETURN_NAMES = ("positive", "negative", "latent") + FUNCTION = "modify_conditioning" + CATEGORY = "video/wan" + DESCRIPTION = "Creates i2v conditioning from last frame for video continuation" + + def modify_conditioning( + self, + positive, + negative, + anchor_images: torch.Tensor, + vae, + width: int, + height: int, + video_length: int + ) -> Tuple[list, list, Dict[str, torch.Tensor]]: + """ + Modify conditioning to use anchor frames for continuation. + """ + import comfy.utils + + # Calculate latent dimensions using Wan's formula + latent_frames = ((video_length - 1) // 4) + 1 + latent_h = height // 8 + latent_w = width // 8 + + # Get the LAST frame from anchor images (single frame continuation like standard i2v) + frames_to_encode = anchor_images[-1:] # Always use just the last frame + + # Resize to target dimensions if needed + if frames_to_encode.shape[1] != height or frames_to_encode.shape[2] != width: + frames_to_encode = comfy.utils.common_upscale( + frames_to_encode.movedim(-1, 1), + width, height, "bilinear", "center" + ).movedim(1, -1) + + # Create full video tensor for VAE encoding (matches WanImageToVideo exactly) + # Gray (0.5) for frames to generate, actual image for first frame + full_video = torch.ones( + video_length, height, width, 3, + device=frames_to_encode.device, dtype=frames_to_encode.dtype + ) * 0.5 + + # Place the single anchor frame at the beginning + full_video[:1] = frames_to_encode[:, :, :, :3] + + # VAE encode the entire video (anchor frames + gray neutral frames) + concat_latent_image = vae.encode(full_video) + if concat_latent_image.ndim == 4: + concat_latent_image = concat_latent_image.unsqueeze(0) + + encoded_latent_frames = concat_latent_image.shape[2] + latent_channels = concat_latent_image.shape[1] + + # Calculate how many latent frames to preserve (1 video frame = 1 latent frame) + # Formula: ((1 - 1) // 4) + 1 = 1 + anchor_latent_frames = 1 + + # Create concat_mask using LATENT frames (like WanImageToVideo does - simpler, no reshape) + # Shape: [1, 1, latent_frames, h, w] + # Wan convention: 0.0 = preserve (don't denoise), 1.0 = generate (full denoise) + concat_mask = torch.ones( + 1, 1, encoded_latent_frames, + concat_latent_image.shape[-2], + concat_latent_image.shape[-1], + device=frames_to_encode.device, dtype=frames_to_encode.dtype + ) + + # Preserve anchor latent frames + concat_mask[:, :, :anchor_latent_frames] = 0.0 + + # Move to CPU for conditioning storage + concat_latent_image = concat_latent_image.cpu() + concat_mask = concat_mask.cpu() + + # Modify conditioning with our anchor data + # This overwrites any existing concat_latent_image/concat_mask from WanImageToVideo + positive_out = node_helpers.conditioning_set_values(positive, { + "concat_latent_image": concat_latent_image, + "concat_mask": concat_mask + }) + negative_out = node_helpers.conditioning_set_values(negative, { + "concat_latent_image": concat_latent_image, + "concat_mask": concat_mask + }) + + # Create empty latent for sampling + latent = torch.zeros( + 1, latent_channels, latent_frames, latent_h, latent_w, + device=comfy.model_management.intermediate_device() + ) + + return (positive_out, negative_out, {"samples": latent}) + + +# ============================================================================ +# FreeLong Helper Functions +# ============================================================================ + +def freelong_freq_filter(x: torch.Tensor, threshold: float, filter_type: str = "low") -> torch.Tensor: + """ + Apply frequency filtering along the temporal (frame) dimension. + + Uses complementary filters that sum to 1.0 at all frequencies. + + Args: + x: Tensor of shape [batch, frames, spatial, dim] or [batch, seq, dim] + threshold: Cutoff frequency ratio (0.0 to 1.0) + filter_type: "low" for low-pass, "high" for high-pass + + Returns: + Filtered tensor + """ + # cuFFT doesn't support half precision for non-power-of-two sizes + # Convert to float32 for FFT, then back to original dtype + orig_dtype = x.dtype + x_float = x.float() + + # FFT along frame/sequence dimension + freq = torch.fft.rfft(x_float, dim=1) + + # Create frequency mask (in float32) + # Use smooth cosine transition that sums to 1.0 with complement + num_freq = freq.shape[1] + cutoff = int(num_freq * threshold) + + # Width of transition zone (at least 1, at most 25% of spectrum) + transition_width = max(1, min(num_freq // 4, cutoff // 2)) + + # Create smooth low-pass mask using cosine transition + # This ensures low + high = 1.0 at all frequencies + mask = torch.ones(num_freq, device=x.device, dtype=torch.float32) + + # Transition zone centered around cutoff + transition_start = max(0, cutoff - transition_width // 2) + transition_end = min(num_freq, cutoff + transition_width // 2) + + if transition_end > transition_start: + # Cosine transition from 1 to 0 for low-pass + transition_idx = torch.arange(transition_start, transition_end, device=x.device, dtype=torch.float32) + transition_values = 0.5 * (1 + torch.cos(torch.pi * (transition_idx - transition_start) / (transition_end - transition_start))) + mask[transition_start:transition_end] = transition_values + + # Set values outside transition + mask[transition_end:] = 0.0 + + if filter_type == "high": + # High-pass is complement of low-pass: high = 1 - low + mask = 1.0 - mask + + # Apply mask (keep in float32) + mask = mask.view(1, -1, *([1] * (len(freq.shape) - 2))) + filtered_freq = freq * mask + + # Inverse FFT and convert back to original dtype + result = torch.fft.irfft(filtered_freq, n=x.shape[1], dim=1) + return result.to(orig_dtype) + + +def freelong_spectral_blend( + global_features: torch.Tensor, + local_features: torch.Tensor, + low_freq_ratio: float = 0.25, + blend_strength: float = 1.0 +) -> torch.Tensor: + """ + Blend global and local features using spectral decomposition. + Low frequencies from global (structure/motion direction), + High frequencies from local (details/sharpness). + + Args: + global_features: Features from full-sequence attention + local_features: Features from windowed attention + low_freq_ratio: Ratio of frequencies to take from global (default 0.25) + blend_strength: How much to apply the blend (0=passthrough, 1=full blend) + + Returns: + Blended features + """ + if blend_strength == 0.0: + return local_features + + # Get low-freq from global, high-freq from local + global_low = freelong_freq_filter(global_features, low_freq_ratio, "low") + local_high = freelong_freq_filter(local_features, low_freq_ratio, "high") + + # Blend with strength control + blended = global_low + local_high + + # Mix with original based on blend_strength + if blend_strength < 1.0: + return local_features * (1.0 - blend_strength) + blended * blend_strength + + return blended + + +# ============================================================================ +# FreeLong Model Patcher +# ============================================================================ + +class WanFreeLong: + """ + FreeLong model patcher for Wan 2.2 video generation. + + Implements SpectralBlend temporal attention to extend video generation + beyond the training context window while maintaining motion consistency. + + Based on "FreeLong: Training-Free Long Video Generation with + SpectralBlend Temporal Attention" (NeurIPS 2024) + + How it works: + 1. Hooks into Wan's transformer blocks + 2. Runs attention twice: global (full sequence) and local (windowed) + 3. Blends results using FFT: low-freq from global, high-freq from local + 4. This preserves motion direction (low-freq) while keeping details (high-freq) + """ + + @classmethod + def INPUT_TYPES(cls) -> Dict[str, Any]: + return { + "required": { + "model": ("MODEL",), + "enabled": ("BOOLEAN", { + "default": True, + "tooltip": "Turn FreeLong on or off. Useful for comparing results with and without." + }), + "blend_strength": ("FLOAT", { + "default": 0.7, + "min": 0.0, + "max": 1.0, + "step": 0.1, + "tooltip": "How strongly FreeLong affects the video. Higher = more consistent motion but slightly softer. Lower = sharper but may drift. 0.7 is optimal for most cases." + }), + "low_freq_ratio": ("FLOAT", { + "default": 0.5, + "min": 0.0, + "max": 1.0, + "step": 0.05, + "tooltip": "Balance between motion consistency and fine detail. Higher = smoother, more consistent motion. Lower = more dynamic but may drift. 0.5 is a good balance." + }), + "local_window_frames": ("INT", { + "default": 33, + "min": 9, + "max": 241, + "step": 4, + "tooltip": "How many video frames the detail-preservation looks at. Smaller = sharper details but may cause morphing. Larger = smoother transitions. 33 works well for 81-frame videos. For longer videos, try ~40% of total frames." + }), + "blend_start_block": ("INT", { + "default": 0, + "min": -1, + "max": 40, + "tooltip": "Advanced: Which model layer to start applying FreeLong. 0 = from the beginning. Most users should leave this at 0." + }), + "blend_end_block": ("INT", { + "default": -1, + "min": -1, + "max": 40, + "tooltip": "Advanced: Which model layer to stop applying FreeLong. -1 = apply to all layers. Most users should leave this at -1." + }), + } + } + + RETURN_TYPES = ("MODEL",) + RETURN_NAMES = ("model",) + FUNCTION = "patch_model" + CATEGORY = "video/wan" + DESCRIPTION = "Apply FreeLong spectral blending for better motion consistency in long videos" + + def patch_model( + self, + model, + enabled: bool, + blend_strength: float, + low_freq_ratio: float, + local_window_frames: int, + blend_start_block: int, + blend_end_block: int + ): + """ + Patch the model to use FreeLong spectral blending in temporal attention. + """ + # Convert video frames to latent frames + local_window_size = ((local_window_frames - 1) // 4) + 1 + # If disabled, return model unchanged (no patches) + if not enabled: + logger.info("[FreeLong] DISABLED - Model returned without patching") + return (model,) + + logger.info("=" * 60) + logger.info("[FreeLong] APPLYING SPECTRAL BLENDING PATCHES") + logger.info("=" * 60) + logger.info(f" Blend Strength: {blend_strength:.2f}") + logger.info(f" Low Freq Ratio: {low_freq_ratio:.2f}") + logger.info(f" Local Window: {local_window_frames} video frames → {local_window_size} latent frames") + logger.info(f" Block Range: {blend_start_block} to {blend_end_block if blend_end_block != -1 else 'ALL'}") + + model = model.clone() + + # Store settings for the patch function + freelong_settings = { + "blend_strength": blend_strength, + "low_freq_ratio": low_freq_ratio, + "local_window_size": local_window_size, + "blend_start_block": blend_start_block, + "blend_end_block": blend_end_block, + "first_run": True, # Track first execution to log details once + "blocks_patched": set(), # Track which blocks executed + } + + def freelong_block_patch(block_args, extra_args): + """ + Patch function that wraps transformer blocks with FreeLong blending. + + Implements dual-stream processing: + 1. Global stream: Full sequence attention (original behavior) + 2. Local stream: Windowed attention (process temporal chunks) + 3. Spectral blend: Low-freq from global, high-freq from local + """ + original_block = extra_args["original_block"] + transformer_options = block_args.get("transformer_options", {}) + block_index = transformer_options.get("block_index", 0) + total_blocks = transformer_options.get("total_blocks", 40) + + # Determine if this block should use FreeLong + start = freelong_settings["blend_start_block"] + end = freelong_settings["blend_end_block"] + if end == -1: + end = total_blocks + + # For blocks outside our range, just run original + if block_index < start or block_index >= end: + return original_block(block_args) + + # Skip if blend_strength is 0 + strength = freelong_settings["blend_strength"] + if strength == 0.0: + return original_block(block_args) + + # Track that this block executed (for logging summary) + freelong_settings["blocks_patched"].add(block_index) + + try: + x = block_args["img"] # [batch, seq_len, dim] + batch_size, seq_len, hidden_dim = x.shape + + window_size = freelong_settings["local_window_size"] + low_ratio = freelong_settings["low_freq_ratio"] + + # Log details on first execution + if freelong_settings["first_run"]: + freelong_settings["first_run"] = False + logger.info("") + logger.info("[FreeLong] DUAL-STREAM PROCESSING STARTING") + logger.info(f" Input shape: batch={batch_size}, seq_len={seq_len}, hidden_dim={hidden_dim}") + logger.info(f" Window size: {window_size} latent frames") + + # ============ GLOBAL STREAM ============ + # Full sequence attention - preserves global motion patterns + global_out = original_block(block_args) + global_x = global_out["img"] + + # ============ LOCAL STREAM ============ + # Process sequence in temporal windows for local detail preservation + # + # Wan's sequence is flattened [frames * spatial, dim] + # We need to estimate the temporal structure + # For 81 frame video: 21 latent frames, so spatial = seq_len / 21 + + # Try to infer frame count from sequence length + # Common Wan resolutions and their spatial token counts: + # 1280x720 -> 160x90/4 = 40x22.5 -> ~900 tokens per frame (after 2x2 patch) + # 848x480 -> 106x60/4 = 26.5x15 -> ~400 tokens per frame + # We'll try common latent frame counts: 21, 17, 13, 9, 5 + + num_frames = None + for candidate_frames in [21, 17, 13, 9, 5]: + if seq_len % candidate_frames == 0: + num_frames = candidate_frames + break + + if num_frames is None or num_frames <= window_size: + # Can't determine temporal structure or window covers all frames + # Fall back to just using global output with spectral smoothing + if freelong_settings.get("log_fallback", True): + freelong_settings["log_fallback"] = False + if num_frames is None: + logger.warning(f"[FreeLong] Could not determine temporal structure (seq_len={seq_len})") + else: + logger.warning(f"[FreeLong] Window size >= frames ({window_size} >= {num_frames})") + logger.warning("[FreeLong] Using fallback: spectral smoothing without windowing") + blended_x = freelong_spectral_blend(global_x, global_x, low_ratio, strength) + return {"img": blended_x} + + spatial_size = seq_len // num_frames + + # Log temporal structure detection on first run + if freelong_settings.get("log_structure", True): + freelong_settings["log_structure"] = False + logger.info(f" Detected temporal structure: {num_frames} frames × {spatial_size} spatial tokens") + + # Reshape to [batch, frames, spatial, dim] + x_temporal = x.view(batch_size, num_frames, spatial_size, hidden_dim) + + # Process in OVERLAPPING windows with crossfade blending + # This prevents hard discontinuities at window boundaries + + # Get RoPE embeddings - need to slice these for each window too + freqs = block_args.get("pe") # RoPE positional embeddings + + # freqs shape is typically [batch, rope_dim, seq_len] or [1, seq_len, rope_dim] + # We need to figure out which dim is the sequence dim + freqs_seq_dim = None + if freqs is not None: + for dim_idx, dim_size in enumerate(freqs.shape): + if dim_size == seq_len: + freqs_seq_dim = dim_idx + break + + # Use 50% overlap between windows for smooth blending + overlap = window_size // 2 + stride = window_size - overlap + + # Calculate number of windows + num_windows = 0 + temp_start = 0 + while temp_start < num_frames: + num_windows += 1 + temp_start += stride + if temp_start >= num_frames: + break + + # Log windowing setup on first run + if freelong_settings.get("log_windows", True): + freelong_settings["log_windows"] = False + logger.info(f" Window processing: {num_windows} windows with {overlap} frame overlap") + logger.info(f" Overlap strategy: 50% crossfade blending between windows") + + # Accumulator for blended output and weights + local_x_temporal = torch.zeros(batch_size, num_frames, spatial_size, hidden_dim, + device=x.device, dtype=x.dtype) + weight_accumulator = torch.zeros(batch_size, num_frames, 1, 1, + device=x.device, dtype=x.dtype) + + # Process overlapping windows + window_idx = 0 + start_frame = 0 + while start_frame < num_frames: + end_frame = min(start_frame + window_size, num_frames) + window_frames = end_frame - start_frame + + # Extract window + window_x = x_temporal[:, start_frame:end_frame, :, :] + + # Flatten for block processing + window_flat = window_x.reshape(batch_size, window_frames * spatial_size, hidden_dim) + + # Create modified block_args for this window + window_args = dict(block_args) + window_args["img"] = window_flat + + # Slice RoPE embeddings to match window + if freqs is not None and freqs_seq_dim is not None: + start_token = start_frame * spatial_size + end_token = end_frame * spatial_size + slices = [slice(None)] * len(freqs.shape) + slices[freqs_seq_dim] = slice(start_token, end_token) + window_args["pe"] = freqs[tuple(slices)] + + # Run block on window + window_out = original_block(window_args) + window_result = window_out["img"] + + # Reshape back to temporal + window_result = window_result.view(batch_size, window_frames, spatial_size, hidden_dim) + + # Create blending weights - ramp up at start, ramp down at end + # This creates smooth crossfades in overlapping regions + weights = torch.ones(window_frames, device=x.device, dtype=x.dtype) + + if start_frame > 0 and overlap > 0: + # Ramp up at the start (we're overlapping with previous window) + ramp_len = min(overlap, window_frames) + ramp = torch.linspace(0, 1, ramp_len + 1, device=x.device, dtype=x.dtype)[1:] + weights[:ramp_len] = ramp + + if end_frame < num_frames and overlap > 0: + # Ramp down at the end (next window will overlap with us) + ramp_len = min(overlap, window_frames) + ramp = torch.linspace(1, 0, ramp_len + 1, device=x.device, dtype=x.dtype)[:-1] + weights[-ramp_len:] = weights[-ramp_len:] * ramp + + weights = weights.view(1, window_frames, 1, 1) + + # Accumulate weighted results + local_x_temporal[:, start_frame:end_frame] += window_result * weights + weight_accumulator[:, start_frame:end_frame] += weights + + # Move to next window position + start_frame += stride + if start_frame >= num_frames: + break + window_idx += 1 + + # Normalize by accumulated weights + weight_accumulator = weight_accumulator.clamp(min=1e-8) + local_x_temporal = local_x_temporal / weight_accumulator + local_x = local_x_temporal.reshape(batch_size, seq_len, hidden_dim) + + # ============ SPECTRAL BLEND ============ + # Low frequencies from global (motion direction/consistency) + # High frequencies from local (sharp details) + if freelong_settings.get("log_blend", True): + freelong_settings["log_blend"] = False + logger.info("") + logger.info("[FreeLong] SPECTRAL BLENDING") + logger.info(f" Low-freq (global): {low_ratio:.0%} of spectrum (motion consistency)") + logger.info(f" High-freq (local): {1-low_ratio:.0%} of spectrum (sharp details)") + logger.info(f" Blend strength: {strength:.0%}") + + blended_x = freelong_spectral_blend(global_x, local_x, low_ratio, strength) + + return {"img": blended_x} + + except Exception as e: + # If anything fails, fall back to original block + logger.error(f"[FreeLong] Error in block {block_index}: {e}", exc_info=True) + return original_block(block_args) + + # Wan 2.2 typically has 40 blocks + num_blocks = 40 + + # Register the patch for transformer blocks + for i in range(num_blocks): + model.set_model_patch_replace( + freelong_block_patch, + "dit", + "double_block", + i + ) + + actual_end = blend_end_block if blend_end_block != -1 else num_blocks + blocks_to_patch = actual_end - blend_start_block + logger.info(f" Registered patches for {blocks_to_patch} transformer blocks ({blend_start_block} to {actual_end-1})") + logger.info("=" * 60) + logger.info("[FreeLong] Patching complete. FreeLong will activate during sampling.") + logger.info("=" * 60) + + return (model,)