ComfyPilotComfyPilot
工作流 / 视频 / SCAIL-2 Int8:角色替换
SCAIL-2 Int8:角色替换

SCAIL-2 Int8:角色替换

SCAIL-2 Int8: Character Replacement

使用使用驱动视频为参考角色制作动画,或通过 SCAIL-2 Int8 完全替换角色。该模型比 fp8 画质更高、运行更快。工作流接受一张参考图和一段驱动视频,输出身份已替换的动画角色序列,适合跨身份换脸、动物驱动动画,以及无需中间姿态的多角色场景。

视频 15 个节点 2 个输入 552 次使用 ComfyUI ≥ 0.25.0 ComfyUI 213 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

需要的权重

这个工作流引用了 7 个权重文件,其中 7 个能在本站模型库里找到。

Wan2_1_VAE_bf16.safetensors 在模型库查看
clip_vision_h.safetensors 在模型库查看
lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors 在模型库查看
sam3.1_multiplex_fp16.safetensors 在模型库查看
umt5_xxl_fp8_e4m3fn_scaled.safetensors 在模型库查看
wan2.1_14B_SCAIL_2_int8_convrot.safetensors 在模型库查看
wan2.1_SCAIL_2_DPO_lora_bf16.safetensors 在模型库查看

节点构成

SaveVideo × 2
CreateVideo × 2
MarkdownNote × 2
LoadVideo × 1
LoadImage × 1
GetVideoComponents × 1
GetImageSize × 1
ComfyMathExpression × 1
PreviewAny × 1
BatchImagesNode × 1
d1ab1953-6167-4827-b44e-b4108cea5702 × 1
56bf150b-bd14-4513-8e03-335e1972ba62 × 1

官方标注的模型

SCAIL-2

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "5e3b2cd8-2119-4be4-87d6-b524515abe69",
3 "revision": 0,
4 "last_node_id": 321,
5 "last_link_id": 569,
6 "nodes": [
7 {
8 "id": 155,
9 "type": "LoadVideo",
10 "pos": [
11 610,
12 4370
13 ],
14 "size": [
15 620,
16 540
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "VIDEO",
25 "type": "VIDEO",
26 "links": [
27 494,
28 516,
29 519
30 ]
31 }
32 ],
33 "properties": {
34 "Node name for S&R": "LoadVideo",
35 "cnr_id": "comfy-core",
36 "ver": "0.24.0"
37 },
38 "widgets_values": [
39 "girl_eats_apple.mp4",
40 "image"
41 ]
42 },
43 {
44 "id": 202,
45 "type": "SaveVideo",
46 "pos": [
47 1440,
48 5630
49 ],
50 "size": [
51 500,
52 490
53 ],
54 "flags": [],
55 "order": 10,
56 "mode": 0,
57 "inputs": [
58 {
59 "name": "video",
60 "type": "VIDEO",
61 "link": 471
62 }
63 ],
64 "outputs": [
65 {
66 "name": "video",
67 "type": "VIDEO",
68 "links": null
69 }
70 ],
71 "title": "Save Video (First Segement)",
72 "properties": {
73 "Node name for S&R": "SaveVideo",
74 "cnr_id": "comfy-core",
75 "ver": "0.24.0"
76 },
77 "widgets_values": [
78 "video/ComfyUI",
79 "auto",
80 "auto"
81 ]
82 },
83 {
84 "id": 30,
85 "type": "LoadImage",
86 "pos": [
87 630,
88 4960
89 ],
90 "size": [
91 600,
92 460
93 ],
94 "flags": [],
95 "order": 1,
96 "mode": 0,
97 "inputs": [],
98 "outputs": [
99 {
100 "name": "IMAGE",
101 "type": "IMAGE",
102 "links": [
103 495,
104 520
105 ]
106 },
107 {
108 "name": "MASK",
109 "type": "MASK",
110 "links": null
111 }
112 ],
113 "properties": {
114 "Node name for S&R": "LoadImage",
115 "cnr_id": "comfy-core",
116 "ver": "0.24.0"
117 },
118 "widgets_values": [
119 "asian_model_in_white_clothes.png",
120 "image"
121 ]
122 },
123 {
124 "id": 201,
125 "type": "CreateVideo",
126 "pos": [
127 1430,
128 5560
129 ],
130 "size": [
131 225,
132 8.46875
133 ],
134 "flags": {
135 "collapsed": true
136 },
137 "order": 7,
138 "mode": 0,
139 "inputs": [
140 {
141 "name": "images",
142 "type": "IMAGE",
143 "link": 498
144 },
145 {
146 "name": "audio",
147 "shape": 7,
148 "type": "AUDIO",
149 "link": 517
150 },
151 {
152 "name": "fps",
153 "type": "FLOAT",
154 "widget": {
155 "name": "fps"
156 },
157 "link": 518
158 }
159 ],
160 "outputs": [
161 {
162 "name": "VIDEO",
163 "type": "VIDEO",
164 "links": [
165 471
166 ]
167 }
168 ],
169 "properties": {
170 "Node name for S&R": "CreateVideo",
171 "cnr_id": "comfy-core",
172 "ver": "0.24.0"
173 },
174 "widgets_values": [
175 30,
176 8
177 ]
178 },
179 {
180 "id": 215,
181 "type": "GetVideoComponents",
182 "pos": [
183 640,
184 5480
185 ],
186 "size": [
187 230,
188 150
189 ],
190 "flags": {
191 "collapsed": false
192 },
193 "order": 4,
194 "mode": 0,
195 "inputs": [
196 {
197 "name": "video",
198 "type": "VIDEO",
199 "link": 516
200 }
201 ],
202 "outputs": [
203 {
204 "name": "images",
205 "type": "IMAGE",
206 "links": [
207 523
208 ]
209 },
210 {
211 "name": "audio",
212 "type": "AUDIO",
213 "links": [
214 517,
215 531
216 ]
217 },
218 {
219 "name": "fps",
220 "type": "FLOAT",
221 "links": [
222 518,
223 532
224 ]
225 },
226 {
227 "name": "bit_depth",
228 "type": "INT",
229 "links": null
230 }
231 ],
232 "properties": {
233 "Node name for S&R": "GetVideoComponents",
234 "cnr_id": "comfy-core",
235 "ver": "0.24.0"
236 },
237 "widgets_values": []
238 },
239 {
240 "id": 263,
241 "type": "GetImageSize",
242 "pos": [
243 650,
244 5730
245 ],
246 "size": [
247 225,
248 8.46875
249 ],
250 "flags": {
251 "collapsed": true
252 },
253 "order": 6,
254 "mode": 0,
255 "inputs": [
256 {
257 "name": "image",
258 "type": "IMAGE",
259 "link": 523
260 }
261 ],
262 "outputs": [
263 {
264 "name": "width",
265 "type": "INT",
266 "links": null
267 },
268 {
269 "name": "height",
270 "type": "INT",
271 "links": null
272 },
273 {
274 "name": "batch_size",
275 "type": "INT",
276 "links": [
277 524
278 ]
279 }
280 ],
281 "properties": {
282 "Node name for S&R": "GetImageSize",
283 "cnr_id": "comfy-core",
284 "ver": "0.24.0"
285 },
286 "widgets_values": []
287 },
288 {
289 "id": 264,
290 "type": "ComfyMathExpression",
291 "pos": [
292 650,
293 5800
294 ],
295 "size": [
296 250,
297 190
298 ],
299 "flags": {
300 "collapsed": false
301 },
302 "order": 9,
303 "mode": 0,
304 "inputs": [
305 {
306 "label": "a",
307 "name": "values.a",
308 "type": "FLOAT,INT,BOOLEAN",
309 "link": 524
310 },
311 {
312 "label": "b",
313 "name": "values.b",
314 "shape": 7,
315 "type": "FLOAT,INT,BOOLEAN",
316 "link": null
317 }
318 ],
319 "outputs": [
320 {
321 "name": "FLOAT",
322 "type": "FLOAT",
323 "links": null
324 },
325 {
326 "name": "INT",
327 "type": "INT",
328 "links": [
329 525
330 ]
331 },
332 {
333 "name": "BOOL",
334 "type": "BOOLEAN",
335 "links": null
336 }
337 ],
338 "properties": {
339 "Node name for S&R": "ComfyMathExpression",
340 "cnr_id": "comfy-core",
341 "ver": "0.24.0"
342 },
343 "widgets_values": [
344 "ceil(a / (81 - 5))"
345 ]
346 },
347 {
348 "id": 265,
349 "type": "PreviewAny",
350 "pos": [
351 920,
352 5800
353 ],
354 "size": [
355 400,
356 260
357 ],
358 "flags": [],
359 "order": 12,
360 "mode": 0,
361 "inputs": [
362 {
363 "name": "source",
364 "type": "*",
365 "link": 525
366 }
367 ],
368 "outputs": [
369 {
370 "name": "STRING",
371 "type": "STRING",
372 "links": null
373 }
374 ],
375 "title": "Preview as Text ()",
376 "properties": {
377 "Node name for S&R": "PreviewAny",
378 "cnr_id": "comfy-core",
379 "ver": "0.24.0"
380 },
381 "widgets_values": [
382 null,
383 null,
384 null
385 ]
386 },
387 {
388 "id": 269,
389 "type": "BatchImagesNode",
390 "pos": [
391 2560,
392 4340
393 ],
394 "size": [
395 230,
396 120.390625
397 ],
398 "flags": [],
399 "order": 11,
400 "mode": 0,
401 "inputs": [
402 {
403 "label": "image0",
404 "name": "images.image0",
405 "type": "IMAGE",
406 "link": 528
407 },
408 {
409 "label": "image1",
410 "name": "images.image1",
411 "shape": 7,
412 "type": "IMAGE",
413 "link": 529
414 },
415 {
416 "label": "image2",
417 "name": "images.image2",
418 "shape": 7,
419 "type": "IMAGE",
420 "link": null
421 }
422 ],
423 "outputs": [
424 {
425 "name": "IMAGE",
426 "type": "IMAGE",
427 "links": [
428 530
429 ]
430 }
431 ],
432 "properties": {
433 "Node name for S&R": "BatchImagesNode",
434 "cnr_id": "comfy-core",
435 "ver": "0.24.0"
436 },
437 "widgets_values": []
438 },
439 {
440 "id": 270,
441 "type": "CreateVideo",
442 "pos": [
443 2560,
444 4510
445 ],
446 "size": [
447 225,
448 8.46875
449 ],
450 "flags": {
451 "collapsed": true
452 },
453 "order": 13,
454 "mode": 0,
455 "inputs": [
456 {
457 "name": "images",
458 "type": "IMAGE",
459 "link": 530
460 },
461 {
462 "name": "audio",
463 "shape": 7,
464 "type": "AUDIO",
465 "link": 531
466 },
467 {
468 "name": "fps",
469 "type": "FLOAT",
470 "widget": {
471 "name": "fps"
472 },
473 "link": 532
474 }
475 ],
476 "outputs": [
477 {
478 "name": "VIDEO",
479 "type": "VIDEO",
480 "links": [
481 533
482 ]
483 }
484 ],
485 "properties": {
486 "Node name for S&R": "CreateVideo",
487 "cnr_id": "comfy-core",
488 "ver": "0.24.0"
489 },
490 "widgets_values": [
491 30,
492 8
493 ]
494 },
495 {
496 "id": 271,
497 "type": "SaveVideo",
498 "pos": [
499 2830,
500 4340
501 ],
502 "size": [
503 1150,
504 1110
505 ],
506 "flags": [],
507 "order": 14,
508 "mode": 0,
509 "inputs": [
510 {
511 "name": "video",
512 "type": "VIDEO",
513 "link": 533
514 }
515 ],
516 "outputs": [
517 {
518 "name": "video",
519 "type": "VIDEO",
520 "links": null
521 }
522 ],
523 "title": "Save Video (Final output)",
524 "properties": {
525 "Node name for S&R": "SaveVideo",
526 "cnr_id": "comfy-core",
527 "ver": "0.24.0"
528 },
529 "widgets_values": [
530 "video/SCAIL2",
531 "auto",
532 "auto"
533 ]
534 },
535 {
536 "id": 274,
537 "type": "MarkdownNote",
538 "pos": [
539 -430,
540 4330
541 ],
542 "size": [
543 970,
544 2200
545 ],
546 "flags": [],
547 "order": 2,
548 "mode": 0,
549 "inputs": [],
550 "outputs": [],
551 "title": "Note: About SCAIL-2",
552 "properties": [],
553 "widgets_values": [
554 "# SCAIL-2 Character Replacement\n\nThis workflow is using subgraph, please check [here](https://docs.comfy.org/interface/features/subgraph) for more details\n\n## About SCAIL-2\n\n[SCAIL-2](https://huggingface.co/zai-org/SCAIL-2) is an end-to-end character animation model that drives a reference character image with a driving video for character animation or in-video character replacement.\n\n\n---\n\n## Parameters\n\n### Shared (Base & Extend)\n\n| Input | Notes |\n|---|---|\n| `pose_video` | Driving video |\n| `reference_image` | Character to use |\n| `prompt` | Output video description — see **Prompt Writing** below |\n| `replace_mode` | `true` = Replacement (default), `false` = Animation |\n| `segment_index` | `1` first chunk; `2+` continue. Pose offset = `76 × (index − 1)` |\n| `width` / `height` | e.g. 896×512 |\n| `frame_count` | Default **81** (4n+1) |\n| `previous_frame_count` | Overlap **5** |\n| `pose_strength` / `pose_start` / `pose_end` | Pose conditioning |\n| `turbo_mode` | Lightx2v fast preset |\n| `distill_lora` / `dpo_lora` | Speed / quality LoRA strength |\n| `sam3_video_object` | SAM3 text for driving video — see **SAM3** below |\n| `sam3_image_object` | SAM3 text for reference image |\n\n### Extend only\n\n| Input | Notes |\n|---|---|\n| `previous_frames` | IMAGE from previous segment; only last `previous_frame_count` frames used |\n\n---\n\n## Two Modes (`replace_mode`)\n\n| Value | Mode | Summary |\n|---|---|---|\n| `true` | **Replacement** | Swap tracked person in driving video with reference character. Driving mask bg: **white**. **This workflow default.** |\n| `false` | **Animation** | Reference character performs driving motion. Driving mask bg: **black**. |\n\nSet on **both** subgraphs. Animation still needs masks; rewrite `prompt` accordingly.\n\n---\n\n## SAM3 (two inputs)\n\nNot the SCAIL-2 `prompt` — only for mask track/segment:\n\n| Pin | Target | Output mask |\n|---|---|---|\n| `sam3_video_object` | Driving video | `pose_video_mask` |\n| `sam3_image_object` | Reference image | `reference_image_mask` |\n\nOpen-vocabulary text (default `human`). Use the same word when subject matches; use different words if video/ref need different focus (e.g. crowded scene → be more specific).\n\nColored masks bind body regions between ref and driving. Main `prompt` controls final appearance.\n\n---\n\n\n## How This Workflow Works\n\n1. Load `pose_video` + `reference_image`.\n2. **Base** subgraph — segment 1 (`segment_index = 1`, no `previous_frames`).\n3. **Extend** subgraph — segment 2+ (`previous_frames` from prior output, increment `segment_index`).\n4. Preview / save; stitch segments if needed.\n\n\n---\n\n## Long Videos\n\n`ceil(total_frames / 76)` segments — see **Estimate Segment Count** group.\n\n| Segments | Action |\n|---|---|\n| 1 | Base only |\n| 2+ | Base + Extend(s); duplicate Extend, chain `previous_frames`, increase `segment_index` |\n\n**No auto loop:** `WanSCAILToVideo` cannot queue all segments automatically — run each segment manually.\n\n---\n\nRequires ComfyUI [PR#14373](https://github.com/Comfy-Org/ComfyUI/pull/14373)\n"
555 ],
556 "color": "#222",
557 "bgcolor": "#000"
558 },
559 {
560 "id": 213,
561 "type": "d1ab1953-6167-4827-b44e-b4108cea5702",
562 "pos": [
563 1440,
564 4340
565 ],
566 "size": [
567 490,
568 1180
569 ],
570 "flags": [],
571 "order": 5,
572 "mode": 0,
573 "inputs": [
574 {
575 "label": "pose_video",
576 "name": "video",
577 "type": "VIDEO",
578 "link": 494
579 },
580 {
581 "label": "reference_image",
582 "name": "images",
583 "type": "IMAGE",
584 "link": 495
585 },
586 {
587 "label": "prompt",
588 "name": "text",
589 "type": "STRING",
590 "widget": {
591 "name": "text"
592 },
593 "link": null
594 },
595 {
596 "label": "segment_index",
597 "name": "value",
598 "type": "INT",
599 "widget": {
600 "name": "value"
601 },
602 "link": null
603 },
604 {
605 "label": "replace_mode",
606 "name": "value_2",
607 "type": "BOOLEAN",
608 "widget": {
609 "name": "value_2"
610 },
611 "link": null
612 },
613 {
614 "label": "width",
615 "name": "value_3",
616 "type": "INT",
617 "widget": {
618 "name": "value_3"
619 },
620 "link": null
621 },
622 {
623 "label": "height",
624 "name": "value_4",
625 "type": "INT",
626 "widget": {
627 "name": "value_4"
628 },
629 "link": null
630 },
631 {
632 "label": "frame_count",
633 "name": "length",
634 "type": "INT",
635 "widget": {
636 "name": "length"
637 },
638 "link": null
639 },
640 {
641 "label": "turbo_mode",
642 "name": "value_5",
643 "type": "BOOLEAN",
644 "widget": {
645 "name": "value_5"
646 },
647 "link": null
648 },
649 {
650 "label": "distill_lora",
651 "name": "lora_name",
652 "type": "COMBO",
653 "widget": {
654 "name": "lora_name"
655 },
656 "link": null
657 },
658 {
659 "label": "dpo_lora",
660 "name": "lora_name_1",
661 "type": "COMBO",
662 "widget": {
663 "name": "lora_name_1"
664 },
665 "link": null
666 },
667 {
668 "label": "clip_vision",
669 "name": "clip_name_1",
670 "type": "COMBO",
671 "widget": {
672 "name": "clip_name_1"
673 },
674 "link": null
675 },
676 {
677 "label": "sam3_video_object",
678 "name": "text_1",
679 "type": "STRING",
680 "widget": {
681 "name": "text_1"
682 },
683 "link": null
684 },
685 {
686 "label": "sam3_image_object",
687 "name": "text_2",
688 "type": "STRING",
689 "widget": {
690 "name": "text_2"
691 },
692 "link": null
693 },
694 {
695 "label": "sam3_model",
696 "name": "ckpt_name",
697 "type": "COMBO",
698 "widget": {
699 "name": "ckpt_name"
700 },
701 "link": null
702 }
703 ],
704 "outputs": [
705 {
706 "name": "output",
707 "type": "IMAGE",
708 "links": [
709 498,
710 521,
711 528
712 ]
713 }
714 ],
715 "properties": {
716 "proxyWidgets": [
717 [
718 "3",
719 "text"
720 ],
721 [
722 "183",
723 "value"
724 ],
725 [
726 "203",
727 "value"
728 ],
729 [
730 "178",
731 "value"
732 ],
733 [
734 "179",
735 "value"
736 ],
737 [
738 "177",
739 "length"
740 ],
741 [
742 "114",
743 "previous_frame_count"
744 ],
745 [
746 "114",
747 "pose_strength"
748 ],
749 [
750 "114",
751 "pose_start"
752 ],
753 [
754 "114",
755 "pose_end"
756 ],
757 [
758 "172",
759 "value"
760 ],
761 [
762 "154",
763 "unet_name"
764 ],
765 [
766 "11",
767 "lora_name"
768 ],
769 [
770 "318",
771 "lora_name"
772 ],
773 [
774 "9",
775 "clip_name"
776 ],
777 [
778 "7",
779 "vae_name"
780 ],
781 [
782 "75",
783 "clip_name"
784 ],
785 [
786 "191",
787 "text"
788 ],
789 [
790 "212",
791 "text"
792 ],
793 [
794 "193",
795 "ckpt_name"
796 ],
797 [
798 "19",
799 "noise_seed"
800 ],
801 [
802 "200",
803 "$$canvas-image-preview"
804 ],
805 [
806 "199",
807 "$$canvas-image-preview"
808 ]
809 ],
810 "cnr_id": "comfy-core",
811 "ver": "0.24.0"
812 },
813 "widgets_values": []
814 },
815 {
816 "id": 262,
817 "type": "56bf150b-bd14-4513-8e03-335e1972ba62",
818 "pos": [
819 1980,
820 4340
821 ],
822 "size": [
823 530,
824 1200
825 ],
826 "flags": {
827 "collapsed": false
828 },
829 "order": 8,
830 "mode": 0,
831 "inputs": [
832 {
833 "label": "pose_video",
834 "name": "video",
835 "type": "VIDEO",
836 "link": 519
837 },
838 {
839 "label": "reference_image",
840 "name": "images",
841 "type": "IMAGE",
842 "link": 520
843 },
844 {
845 "label": "previous_frames",
846 "name": "image",
847 "type": "IMAGE",
848 "link": 521
849 },
850 {
851 "label": "prompt",
852 "name": "text",
853 "type": "STRING",
854 "widget": {
855 "name": "text"
856 },
857 "link": null
858 },
859 {
860 "label": "segment_index",
861 "name": "value",
862 "type": "INT",
863 "widget": {
864 "name": "value"
865 },
866 "link": null
867 },
868 {
869 "label": "replace_mode",
870 "name": "value_2",
871 "type": "BOOLEAN",
872 "widget": {
873 "name": "value_2"
874 },
875 "link": null
876 },
877 {
878 "label": "width",
879 "name": "value_3",
880 "type": "INT",
881 "widget": {
882 "name": "value_3"
883 },
884 "link": null
885 },
886 {
887 "label": "height",
888 "name": "value_4",
889 "type": "INT",
890 "widget": {
891 "name": "value_4"
892 },
893 "link": null
894 },
895 {
896 "label": "frame_count",
897 "name": "length",
898 "type": "INT",
899 "widget": {
900 "name": "length"
901 },
902 "link": null
903 },
904 {
905 "label": "turbo_mode",
906 "name": "value_5",
907 "type": "BOOLEAN",
908 "widget": {
909 "name": "value_5"
910 },
911 "link": null
912 },
913 {
914 "label": "distill_lora",
915 "name": "lora_name",
916 "type": "COMBO",
917 "widget": {
918 "name": "lora_name"
919 },
920 "link": null
921 },
922 {
923 "label": "dpo_lora",
924 "name": "lora_name_1",
925 "type": "COMBO",
926 "widget": {
927 "name": "lora_name_1"
928 },
929 "link": null
930 },
931 {
932 "label": "clip_vision",
933 "name": "clip_name_1",
934 "type": "COMBO",
935 "widget": {
936 "name": "clip_name_1"
937 },
938 "link": null
939 },
940 {
941 "label": "sam3_video_object",
942 "name": "text_1",
943 "type": "STRING",
944 "widget": {
945 "name": "text_1"
946 },
947 "link": null
948 },
949 {
950 "label": "sam3_image_object",
951 "name": "text_2",
952 "type": "STRING",
953 "widget": {
954 "name": "text_2"
955 },
956 "link": null
957 },
958 {
959 "label": "sam3_model",
960 "name": "ckpt_name",
961 "type": "COMBO",
962 "widget": {
963 "name": "ckpt_name"
964 },
965 "link": null
966 }
967 ],
968 "outputs": [
969 {
970 "name": "output",
971 "type": "IMAGE",
972 "links": [
973 529
974 ]
975 }
976 ],
977 "properties": {
978 "proxyWidgets": [
979 [
980 "258",
981 "text"
982 ],
983 [
984 "240",
985 "value"
986 ],
987 [
988 "247",
989 "value"
990 ],
991 [
992 "236",
993 "value"
994 ],
995 [
996 "237",
997 "value"
998 ],
999 [
1000 "235",
1001 "length"
1002 ],
1003 [
1004 "259",
1005 "previous_frame_count"
1006 ],
1007 [
1008 "259",
1009 "pose_strength"
1010 ],
1011 [
1012 "259",
1013 "pose_start"
1014 ],
1015 [
1016 "259",
1017 "pose_end"
1018 ],
1019 [
1020 "255",
1021 "value"
1022 ],
1023 [
1024 "223",
1025 "unet_name"
1026 ],
1027 [
1028 "216",
1029 "lora_name"
1030 ],
1031 [
1032 "319",
1033 "lora_name"
1034 ],
1035 [
1036 "221",
1037 "clip_name"
1038 ],
1039 [
1040 "217",
1041 "vae_name"
1042 ],
1043 [
1044 "222",
1045 "clip_name"
1046 ],
1047 [
1048 "242",
1049 "text"
1050 ],
1051 [
1052 "261",
1053 "text"
1054 ],
1055 [
1056 "243",
1057 "ckpt_name"
1058 ],
1059 [
1060 "227",
1061 "noise_seed"
1062 ],
1063 [
1064 "248",
1065 "$$canvas-image-preview"
1066 ],
1067 [
1068 "249",
1069 "$$canvas-image-preview"
1070 ]
1071 ],
1072 "cnr_id": "comfy-core",
1073 "ver": "0.24.0"
1074 },
1075 "widgets_values": []
1076 },
1077 {
1078 "id": 320,
1079 "type": "MarkdownNote",
1080 "pos": [
1081 -1020,
1082 4340
1083 ],
1084 "size": [
1085 550,
1086 1280
1087 ],
1088 "flags": [],
1089 "order": 3,
1090 "mode": 0,
1091 "inputs": [],
1092 "outputs": [],
1093 "title": "Model Links",
1094 "properties": [],
1095 "widgets_values": [
1096 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/SCAIL-2](https://huggingface.co/Comfy-Org/SCAIL-2)\n- [ModelScope:Comfy-Org/SCAIL-2](https://modelscope.cn/models/Comfy-Org/SCAIL-2)\n- [Hugging Face:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n- [ModelScope:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n- [Hugging Face:Comfy-Org/sam3.1](https://huggingface.co/Comfy-Org/sam3.1)\n- [ModelScope:Comfy-Org/sam3.1](https://modelscope.cn/models/Comfy-Org/sam3.1)\n\n**loras**\n\n- [lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors) (703.8 MB)\n- [wan2.1_SCAIL_2_DPO_lora_bf16.safetensors](https://huggingface.co/Comfy-Org/SCAIL-2/resolve/main/loras/wan2.1_SCAIL_2_DPO_lora_bf16.safetensors) (1.14 GB)\n\n**vae**\n\n- [Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors) (242 MB)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors) (6.27 GB)\n\n**clip_vision**\n\n- [clip_vision_h.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors) (1.18 GB)\n\n**diffusion_models**\n\n- [wan2.1_14B_SCAIL_2_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/SCAIL-2/resolve/main/diffusion_models/wan2.1_14B_SCAIL_2_int8_convrot.safetensors) (15.51 GB)\n\n**checkpoints**\n\n- [sam3.1_multiplex_fp16.safetensors](https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors) (1.63 GB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 loras/\n│ │ ├── lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors\n│ │ └── wan2.1_SCAIL_2_DPO_lora_bf16.safetensors\n│ ├── 📂 vae/\n│ │ └── Wan2_1_VAE_bf16.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│ ├── 📂 clip_vision/\n│ │ └── clip_vision_h.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── wan2.1_14B_SCAIL_2_int8_convrot.safetensors\n│ └── 📂 checkpoints/\n│ └── sam3.1_multiplex_fp16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
1097 ],
1098 "color": "#222",
1099 "bgcolor": "#000"
1100 }
1101 ],
1102 "links": [
1103 [
1104 471,
1105 201,
1106 0,
1107 202,
1108 0,
1109 "VIDEO"
1110 ],
1111 [
1112 494,
1113 155,
1114 0,
1115 213,
1116 0,
1117 "VIDEO"
1118 ],
1119 [
1120 495,
1121 30,
1122 0,
1123 213,
1124 1,
1125 "IMAGE"
1126 ],
1127 [
1128 498,
1129 213,
1130 0,
1131 201,
1132 0,
1133 "IMAGE"
1134 ],
1135 [
1136 516,
1137 155,
1138 0,
1139 215,
1140 0,
1141 "VIDEO"
1142 ],
1143 [
1144 517,
1145 215,
1146 1,
1147 201,
1148 1,
1149 "AUDIO"
1150 ],
1151 [
1152 518,
1153 215,
1154 2,
1155 201,
1156 2,
1157 "FLOAT"
1158 ],
1159 [
1160 519,
1161 155,
1162 0,
1163 262,
1164 0,
1165 "VIDEO"
1166 ],
1167 [
1168 520,
1169 30,
1170 0,
1171 262,
1172 1,
1173 "IMAGE"
1174 ],
1175 [
1176 521,
1177 213,
1178 0,
1179 262,
1180 2,
1181 "IMAGE"
1182 ],
1183 [
1184 523,
1185 215,
1186 0,
1187 263,
1188 0,
1189 "IMAGE"
1190 ],
1191 [
1192 524,
1193 263,
1194 2,
1195 264,
1196 0,
1197 "INT"
1198 ],
1199 [
1200 525,
1201 264,
1202 1,
1203 265,
1204 0,
1205 "INT"
1206 ],
1207 [
1208 528,
1209 213,
1210 0,
1211 269,
1212 0,
1213 "IMAGE"
1214 ],
1215 [
1216 529,
1217 262,
1218 0,
1219 269,
1220 1,
1221 "IMAGE"
1222 ],
1223 [
1224 530,
1225 269,
1226 0,
1227 270,
1228 0,
1229 "IMAGE"
1230 ],
1231 [
1232 531,
1233 215,
1234 1,
1235 270,
1236 1,
1237 "AUDIO"
1238 ],
1239 [
1240 532,
1241 215,
1242 2,
1243 270,
1244 2,
1245 "FLOAT"
1246 ],
1247 [
1248 533,
1249 270,
1250 0,
1251 271,
1252 0,
1253 "VIDEO"
1254 ]
1255 ],
1256 "groups": [
1257 {
1258 "id": 15,
1259 "title": "Estimate Segment Count (frame count: 81, previous frame count: 5)",
1260 "bounding": [
1261 630,
1262 5660,
1263 689.984375,
1264 409.96875
1265 ],
1266 "color": "#3f789e",
1267 "flags": []
1268 },
1269 {
1270 "id": 16,
1271 "title": "First segment Preview",
1272 "bounding": [
1273 1420,
1274 5490,
1275 520,
1276 640
1277 ],
1278 "color": "#3f789e",
1279 "flags": []
1280 },
1281 {
1282 "id": 17,
1283 "title": "Source Video and Reference image",
1284 "bounding": [
1285 600,
1286 4300,
1287 760,
1288 1840
1289 ],
1290 "color": "#3f789e",
1291 "flags": []
1292 }
1293 ],
1294 "definitions": {
1295 "subgraphs": [
1296 {
1297 "id": "d1ab1953-6167-4827-b44e-b4108cea5702",
1298 "version": 1,
1299 "state": {
1300 "lastGroupId": 17,
1301 "lastNodeId": 321,
1302 "lastLinkId": 569,
1303 "lastRerouteId": 0
1304 },
1305 "revision": 0,
1306 "config": [],
1307 "name": "Character Replacement (SCAIL-2 Int8 Base)",
1308 "inputNode": {
1309 "id": -10,
1310 "bounding": [
1311 -440,
1312 4190,
1313 173.015625,
1314 508
1315 ]
1316 },
1317 "outputNode": {
1318 "id": -20,
1319 "bounding": [
1320 3980,
1321 3870,
1322 128,
1323 68
1324 ]
1325 },
1326 "inputs": [
1327 {
1328 "id": "e9aedfaf-1991-4a75-ad9b-8c3a279b0488",
1329 "name": "video",
1330 "type": "VIDEO",
1331 "linkIds": [
1332 409
1333 ],
1334 "localized_name": "video",
1335 "label": "pose_video",
1336 "pos": [
1337 -290.984375,
1338 4214
1339 ]
1340 },
1341 {
1342 "id": "0badb26e-9abd-4e9c-b221-aab1237b8773",
1343 "name": "images",
1344 "type": "IMAGE",
1345 "linkIds": [
1346 469,
1347 408,
1348 473
1349 ],
1350 "localized_name": "images",
1351 "label": "reference_image",
1352 "pos": [
1353 -290.984375,
1354 4234
1355 ]
1356 },
1357 {
1358 "id": "098f15aa-a066-422e-b491-eaf140bafb2c",
1359 "name": "text",
1360 "type": "STRING",
1361 "linkIds": [
1362 499
1363 ],
1364 "label": "prompt",
1365 "pos": [
1366 -290.984375,
1367 4254
1368 ]
1369 },
1370 {
1371 "id": "861ea850-8329-491b-9413-2588cdd77bbd",
1372 "name": "value",
1373 "type": "INT",
1374 "linkIds": [
1375 502
1376 ],
1377 "label": "segment_index",
1378 "pos": [
1379 -290.984375,
1380 4274
1381 ]
1382 },
1383 {
1384 "id": "dcf3ebf8-1263-458a-966b-9e77a5ad704a",
1385 "name": "value_2",
1386 "type": "BOOLEAN",
1387 "linkIds": [
1388 504
1389 ],
1390 "label": "replace_mode",
1391 "pos": [
1392 -290.984375,
1393 4294
1394 ]
1395 },
1396 {
1397 "id": "dbee10ce-bb98-4733-88a0-d4cd5b13c691",
1398 "name": "value_3",
1399 "type": "INT",
1400 "linkIds": [
1401 505
1402 ],
1403 "label": "width",
1404 "pos": [
1405 -290.984375,
1406 4314
1407 ]
1408 },
1409 {
1410 "id": "363e3ac7-0096-4480-b875-1d6ff1b8a2d9",
1411 "name": "value_4",
1412 "type": "INT",
1413 "linkIds": [
1414 506
1415 ],
1416 "label": "height",
1417 "pos": [
1418 -290.984375,
1419 4334
1420 ]
1421 },
1422 {
1423 "id": "4017e1ed-96cd-4c1c-9949-dc1a8c30386a",
1424 "name": "length",
1425 "type": "INT",
1426 "linkIds": [
1427 522,
1428 541
1429 ],
1430 "label": "frame_count",
1431 "pos": [
1432 -290.984375,
1433 4354
1434 ]
1435 },
1436 {
1437 "id": "617809fd-9647-4067-8f44-10d8acc8af82",
1438 "name": "previous_frame_count",
1439 "type": "INT",
1440 "linkIds": [
1441 542,
1442 543
1443 ],
1444 "pos": [
1445 -290.984375,
1446 4374
1447 ]
1448 },
1449 {
1450 "id": "36ab49f6-528f-4301-a37a-0108aa7f5bec",
1451 "name": "pose_strength",
1452 "type": "FLOAT",
1453 "linkIds": [
1454 547
1455 ],
1456 "pos": [
1457 -290.984375,
1458 4394
1459 ]
1460 },
1461 {
1462 "id": "24c2e93f-7bbc-4c6d-898e-36b440b8469b",
1463 "name": "pose_start",
1464 "type": "FLOAT",
1465 "linkIds": [
1466 548
1467 ],
1468 "pos": [
1469 -290.984375,
1470 4414
1471 ]
1472 },
1473 {
1474 "id": "d1dbe632-bb2a-4c30-a7ea-5082f21dc686",
1475 "name": "pose_end",
1476 "type": "FLOAT",
1477 "linkIds": [
1478 549
1479 ],
1480 "pos": [
1481 -290.984375,
1482 4434
1483 ]
1484 },
1485 {
1486 "id": "ddf07ba4-2837-40ef-925f-5996ea436334",
1487 "name": "value_5",
1488 "type": "BOOLEAN",
1489 "linkIds": [
1490 507
1491 ],
1492 "label": "turbo_mode",
1493 "pos": [
1494 -290.984375,
1495 4454
1496 ]
1497 },
1498 {
1499 "id": "ee8c796d-b326-40c6-9f9d-65f564053974",
1500 "name": "unet_name",
1501 "type": "COMBO",
1502 "linkIds": [
1503 508
1504 ],
1505 "pos": [
1506 -290.984375,
1507 4474
1508 ]
1509 },
1510 {
1511 "id": "6ccae991-51d7-4c8e-adc8-c7f6377d681b",
1512 "name": "lora_name",
1513 "type": "COMBO",
1514 "linkIds": [
1515 509
1516 ],
1517 "label": "distill_lora",
1518 "pos": [
1519 -290.984375,
1520 4494
1521 ]
1522 },
1523 {
1524 "id": "30772913-ecf9-44f4-a638-2824404b24fb",
1525 "name": "lora_name_1",
1526 "type": "COMBO",
1527 "linkIds": [
1528 565
1529 ],
1530 "label": "dpo_lora",
1531 "pos": [
1532 -290.984375,
1533 4514
1534 ]
1535 },
1536 {
1537 "id": "2e9c2347-93fe-462f-b5ef-51613fb52c85",
1538 "name": "clip_name",
1539 "type": "COMBO",
1540 "linkIds": [
1541 510
1542 ],
1543 "pos": [
1544 -290.984375,
1545 4534
1546 ]
1547 },
1548 {
1549 "id": "bc1822c0-7484-47b7-8d59-cf94788290f7",
1550 "name": "vae_name",
1551 "type": "COMBO",
1552 "linkIds": [
1553 511
1554 ],
1555 "pos": [
1556 -290.984375,
1557 4554
1558 ]
1559 },
1560 {
1561 "id": "bbf2ee19-58b3-46f4-af6a-cd1557d60c8d",
1562 "name": "clip_name_1",
1563 "type": "COMBO",
1564 "linkIds": [
1565 512
1566 ],
1567 "label": "clip_vision",
1568 "pos": [
1569 -290.984375,
1570 4574
1571 ]
1572 },
1573 {
1574 "id": "556415bd-8ef3-4cfa-b182-0d7e3e4cd572",
1575 "name": "text_1",
1576 "type": "STRING",
1577 "linkIds": [
1578 513
1579 ],
1580 "label": "sam3_video_object",
1581 "pos": [
1582 -290.984375,
1583 4594
1584 ]
1585 },
1586 {
1587 "id": "c577930c-85a3-4e92-ac44-8ed639937217",
1588 "name": "text_2",
1589 "type": "STRING",
1590 "linkIds": [
1591 514
1592 ],
1593 "label": "sam3_image_object",
1594 "pos": [
1595 -290.984375,
1596 4614
1597 ]
1598 },
1599 {
1600 "id": "8f542c5e-da91-4dad-8ff8-4e81a42d5140",
1601 "name": "ckpt_name",
1602 "type": "COMBO",
1603 "linkIds": [
1604 515
1605 ],
1606 "label": "sam3_model",
1607 "pos": [
1608 -290.984375,
1609 4634
1610 ]
1611 },
1612 {
1613 "id": "3064d232-69a3-43b1-b350-05d8ca0e7c9f",
1614 "name": "noise_seed",
1615 "type": "INT",
1616 "linkIds": [
1617 558
1618 ],
1619 "pos": [
1620 -290.984375,
1621 4654
1622 ]
1623 }
1624 ],
1625 "outputs": [
1626 {
1627 "id": "7ae88834-7553-45ec-a4e8-bab7d5276b45",
1628 "name": "output",
1629 "type": "IMAGE",
1630 "linkIds": [
1631 544
1632 ],
1633 "localized_name": "output",
1634 "pos": [
1635 4004,
1636 3894
1637 ]
1638 }
1639 ],
1640 "widgets": [],
1641 "nodes": [
1642 {
1643 "id": 11,
1644 "type": "LoraLoaderModelOnly",
1645 "pos": [
1646 300,
1647 3590
1648 ],
1649 "size": [
1650 590,
1651 140
1652 ],
1653 "flags": [],
1654 "order": 10,
1655 "mode": 0,
1656 "inputs": [
1657 {
1658 "localized_name": "model",
1659 "name": "model",
1660 "type": "MODEL",
1661 "link": 563
1662 },
1663 {
1664 "localized_name": "lora_name",
1665 "name": "lora_name",
1666 "type": "COMBO",
1667 "widget": {
1668 "name": "lora_name"
1669 },
1670 "link": 509
1671 }
1672 ],
1673 "outputs": [
1674 {
1675 "localized_name": "MODEL",
1676 "name": "MODEL",
1677 "type": "MODEL",
1678 "links": [
1679 398,
1680 425
1681 ]
1682 }
1683 ],
1684 "properties": {
1685 "Node name for S&R": "LoraLoaderModelOnly",
1686 "cnr_id": "comfy-core",
1687 "ver": "0.24.0",
1688 "models": [
1689 {
1690 "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1691 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1692 "directory": "loras"
1693 }
1694 ]
1695 },
1696 "widgets_values": [
1697 "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1698 0.8
1699 ],
1700 "color": "#223",
1701 "bgcolor": "#335"
1702 },
1703 {
1704 "id": 7,
1705 "type": "VAELoader",
1706 "pos": [
1707 300,
1708 4020
1709 ],
1710 "size": [
1711 590,
1712 140
1713 ],
1714 "flags": [],
1715 "order": 8,
1716 "mode": 0,
1717 "inputs": [
1718 {
1719 "localized_name": "vae_name",
1720 "name": "vae_name",
1721 "type": "COMBO",
1722 "widget": {
1723 "name": "vae_name"
1724 },
1725 "link": 511
1726 }
1727 ],
1728 "outputs": [
1729 {
1730 "localized_name": "VAE",
1731 "name": "VAE",
1732 "type": "VAE",
1733 "links": [
1734 406,
1735 407
1736 ]
1737 }
1738 ],
1739 "properties": {
1740 "Node name for S&R": "VAELoader",
1741 "cnr_id": "comfy-core",
1742 "ver": "0.24.0",
1743 "models": [
1744 {
1745 "name": "Wan2_1_VAE_bf16.safetensors",
1746 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors",
1747 "directory": "vae"
1748 }
1749 ]
1750 },
1751 "widgets_values": [
1752 "Wan2_1_VAE_bf16.safetensors"
1753 ]
1754 },
1755 {
1756 "id": 156,
1757 "type": "ResizeImageMaskNode",
1758 "pos": [
1759 1280,
1760 4860
1761 ],
1762 "size": [
1763 270,
1764 160
1765 ],
1766 "flags": [],
1767 "order": 18,
1768 "mode": 0,
1769 "inputs": [
1770 {
1771 "localized_name": "input",
1772 "name": "input",
1773 "type": "IMAGE,MASK",
1774 "link": 491
1775 },
1776 {
1777 "localized_name": "width",
1778 "name": "resize_type.width",
1779 "type": "INT",
1780 "widget": {
1781 "name": "resize_type.width"
1782 },
1783 "link": 444
1784 },
1785 {
1786 "localized_name": "height",
1787 "name": "resize_type.height",
1788 "type": "INT",
1789 "widget": {
1790 "name": "resize_type.height"
1791 },
1792 "link": 446
1793 }
1794 ],
1795 "outputs": [
1796 {
1797 "localized_name": "resized",
1798 "name": "resized",
1799 "type": "IMAGE",
1800 "links": [
1801 420,
1802 492,
1803 493
1804 ]
1805 }
1806 ],
1807 "properties": {
1808 "Node name for S&R": "ResizeImageMaskNode",
1809 "cnr_id": "comfy-core",
1810 "ver": "0.24.0"
1811 },
1812 "widgets_values": [
1813 "scale dimensions",
1814 512,
1815 512,
1816 "center",
1817 "area"
1818 ]
1819 },
1820 {
1821 "id": 157,
1822 "type": "GetVideoComponents",
1823 "pos": [
1824 270,
1825 4500
1826 ],
1827 "size": [
1828 230,
1829 90
1830 ],
1831 "flags": {
1832 "collapsed": true
1833 },
1834 "order": 19,
1835 "mode": 0,
1836 "inputs": [
1837 {
1838 "localized_name": "video",
1839 "name": "video",
1840 "type": "VIDEO",
1841 "link": 409
1842 }
1843 ],
1844 "outputs": [
1845 {
1846 "localized_name": "images",
1847 "name": "images",
1848 "type": "IMAGE",
1849 "links": [
1850 490
1851 ]
1852 },
1853 {
1854 "localized_name": "audio",
1855 "name": "audio",
1856 "type": "AUDIO",
1857 "links": null
1858 },
1859 {
1860 "localized_name": "fps",
1861 "name": "fps",
1862 "type": "FLOAT",
1863 "links": []
1864 },
1865 {
1866 "localized_name": "bit_depth",
1867 "name": "bit_depth",
1868 "type": "INT",
1869 "links": null
1870 }
1871 ],
1872 "properties": {
1873 "Node name for S&R": "GetVideoComponents",
1874 "cnr_id": "comfy-core",
1875 "ver": "0.24.0"
1876 },
1877 "widgets_values": []
1878 },
1879 {
1880 "id": 163,
1881 "type": "GetImageSize",
1882 "pos": [
1883 1640,
1884 4500
1885 ],
1886 "size": [
1887 240,
1888 190
1889 ],
1890 "flags": [],
1891 "order": 20,
1892 "mode": 0,
1893 "inputs": [
1894 {
1895 "localized_name": "image",
1896 "name": "image",
1897 "type": "IMAGE",
1898 "link": 492
1899 }
1900 ],
1901 "outputs": [
1902 {
1903 "localized_name": "width",
1904 "name": "width",
1905 "type": "INT",
1906 "links": [
1907 414
1908 ]
1909 },
1910 {
1911 "localized_name": "height",
1912 "name": "height",
1913 "type": "INT",
1914 "links": [
1915 415
1916 ]
1917 },
1918 {
1919 "localized_name": "batch_size",
1920 "name": "batch_size",
1921 "type": "INT",
1922 "links": [
1923 416
1924 ]
1925 }
1926 ],
1927 "properties": {
1928 "Node name for S&R": "GetImageSize",
1929 "cnr_id": "comfy-core",
1930 "ver": "0.24.0"
1931 },
1932 "widgets_values": []
1933 },
1934 {
1935 "id": 9,
1936 "type": "CLIPLoader",
1937 "pos": [
1938 300,
1939 3790
1940 ],
1941 "size": [
1942 590,
1943 170
1944 ],
1945 "flags": [],
1946 "order": 9,
1947 "mode": 0,
1948 "inputs": [
1949 {
1950 "localized_name": "clip_name",
1951 "name": "clip_name",
1952 "type": "COMBO",
1953 "widget": {
1954 "name": "clip_name"
1955 },
1956 "link": 510
1957 }
1958 ],
1959 "outputs": [
1960 {
1961 "localized_name": "CLIP",
1962 "name": "CLIP",
1963 "type": "CLIP",
1964 "links": [
1965 7,
1966 8
1967 ]
1968 }
1969 ],
1970 "properties": {
1971 "Node name for S&R": "CLIPLoader",
1972 "cnr_id": "comfy-core",
1973 "ver": "0.24.0",
1974 "models": [
1975 {
1976 "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1977 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1978 "directory": "text_encoders"
1979 }
1980 ]
1981 },
1982 "widgets_values": [
1983 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1984 "wan",
1985 "default"
1986 ]
1987 },
1988 {
1989 "id": 75,
1990 "type": "CLIPVisionLoader",
1991 "pos": [
1992 300,
1993 4230
1994 ],
1995 "size": [
1996 590,
1997 110
1998 ],
1999 "flags": [],
2000 "order": 13,
2001 "mode": 0,
2002 "inputs": [
2003 {
2004 "localized_name": "clip_name",
2005 "name": "clip_name",
2006 "type": "COMBO",
2007 "widget": {
2008 "name": "clip_name"
2009 },
2010 "link": 512
2011 }
2012 ],
2013 "outputs": [
2014 {
2015 "localized_name": "CLIP_VISION",
2016 "name": "CLIP_VISION",
2017 "type": "CLIP_VISION",
2018 "links": [
2019 196
2020 ]
2021 }
2022 ],
2023 "properties": {
2024 "Node name for S&R": "CLIPVisionLoader",
2025 "cnr_id": "comfy-core",
2026 "ver": "0.24.0",
2027 "models": [
2028 {
2029 "name": "clip_vision_h.safetensors",
2030 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
2031 "directory": "clip_vision"
2032 }
2033 ]
2034 },
2035 "widgets_values": [
2036 "clip_vision_h.safetensors"
2037 ]
2038 },
2039 {
2040 "id": 154,
2041 "type": "UNETLoader",
2042 "pos": [
2043 300,
2044 3190
2045 ],
2046 "size": [
2047 590,
2048 140
2049 ],
2050 "flags": [],
2051 "order": 17,
2052 "mode": 0,
2053 "inputs": [
2054 {
2055 "localized_name": "unet_name",
2056 "name": "unet_name",
2057 "type": "COMBO",
2058 "widget": {
2059 "name": "unet_name"
2060 },
2061 "link": 508
2062 }
2063 ],
2064 "outputs": [
2065 {
2066 "localized_name": "MODEL",
2067 "name": "MODEL",
2068 "type": "MODEL",
2069 "links": [
2070 562
2071 ]
2072 }
2073 ],
2074 "properties": {
2075 "Node name for S&R": "UNETLoader",
2076 "cnr_id": "comfy-core",
2077 "ver": "0.24.0",
2078 "models": [
2079 {
2080 "name": "wan2.1_14B_SCAIL_2_int8_convrot.safetensors",
2081 "url": "https://huggingface.co/Comfy-Org/SCAIL-2/resolve/main/diffusion_models/wan2.1_14B_SCAIL_2_int8_convrot.safetensors",
2082 "directory": "diffusion_models"
2083 }
2084 ]
2085 },
2086 "widgets_values": [
2087 "wan2.1_14B_SCAIL_2_int8_convrot.safetensors",
2088 "default"
2089 ]
2090 },
2091 {
2092 "id": 95,
2093 "type": "ModelSamplingSD3",
2094 "pos": [
2095 2760,
2096 3370
2097 ],
2098 "size": [
2099 270,
2100 110
2101 ],
2102 "flags": [],
2103 "order": 15,
2104 "mode": 0,
2105 "inputs": [
2106 {
2107 "localized_name": "model",
2108 "name": "model",
2109 "type": "MODEL",
2110 "link": 424
2111 }
2112 ],
2113 "outputs": [
2114 {
2115 "localized_name": "MODEL",
2116 "name": "MODEL",
2117 "type": "MODEL",
2118 "links": [
2119 417
2120 ]
2121 }
2122 ],
2123 "properties": {
2124 "Node name for S&R": "ModelSamplingSD3",
2125 "cnr_id": "comfy-core",
2126 "ver": "0.24.0"
2127 },
2128 "widgets_values": [
2129 5
2130 ]
2131 },
2132 {
2133 "id": 27,
2134 "type": "KSamplerSelect",
2135 "pos": [
2136 2770,
2137 3520
2138 ],
2139 "size": [
2140 260,
2141 110
2142 ],
2143 "flags": [],
2144 "order": 0,
2145 "mode": 0,
2146 "inputs": [],
2147 "outputs": [
2148 {
2149 "localized_name": "SAMPLER",
2150 "name": "SAMPLER",
2151 "type": "SAMPLER",
2152 "links": [
2153 419
2154 ]
2155 }
2156 ],
2157 "properties": {
2158 "Node name for S&R": "KSamplerSelect",
2159 "cnr_id": "comfy-core",
2160 "ver": "0.24.0"
2161 },
2162 "widgets_values": [
2163 "euler"
2164 ]
2165 },
2166 {
2167 "id": 18,
2168 "type": "BasicScheduler",
2169 "pos": [
2170 2770,
2171 3670
2172 ],
2173 "size": [
2174 260,
2175 170
2176 ],
2177 "flags": [],
2178 "order": 11,
2179 "mode": 0,
2180 "inputs": [
2181 {
2182 "localized_name": "model",
2183 "name": "model",
2184 "type": "MODEL",
2185 "link": 398
2186 },
2187 {
2188 "localized_name": "steps",
2189 "name": "steps",
2190 "type": "INT",
2191 "widget": {
2192 "name": "steps"
2193 },
2194 "link": 428
2195 }
2196 ],
2197 "outputs": [
2198 {
2199 "localized_name": "SIGMAS",
2200 "name": "SIGMAS",
2201 "type": "SIGMAS",
2202 "links": [
2203 418
2204 ]
2205 }
2206 ],
2207 "properties": {
2208 "Node name for S&R": "BasicScheduler",
2209 "cnr_id": "comfy-core",
2210 "ver": "0.24.0"
2211 },
2212 "widgets_values": [
2213 "simple",
2214 6,
2215 1
2216 ]
2217 },
2218 {
2219 "id": 19,
2220 "type": "SamplerCustom",
2221 "pos": [
2222 3080,
2223 3370
2224 ],
2225 "size": [
2226 270,
2227 670
2228 ],
2229 "flags": [],
2230 "order": 12,
2231 "mode": 0,
2232 "inputs": [
2233 {
2234 "localized_name": "model",
2235 "name": "model",
2236 "type": "MODEL",
2237 "link": 417
2238 },
2239 {
2240 "localized_name": "positive",
2241 "name": "positive",
2242 "type": "CONDITIONING",
2243 "link": 333
2244 },
2245 {
2246 "localized_name": "negative",
2247 "name": "negative",
2248 "type": "CONDITIONING",
2249 "link": 334
2250 },
2251 {
2252 "localized_name": "sampler",
2253 "name": "sampler",
2254 "type": "SAMPLER",
2255 "link": 419
2256 },
2257 {
2258 "localized_name": "sigmas",
2259 "name": "sigmas",
2260 "type": "SIGMAS",
2261 "link": 418
2262 },
2263 {
2264 "localized_name": "latent_image",
2265 "name": "latent_image",
2266 "type": "LATENT",
2267 "link": 335
2268 },
2269 {
2270 "localized_name": "noise_seed",
2271 "name": "noise_seed",
2272 "type": "INT",
2273 "widget": {
2274 "name": "noise_seed"
2275 },
2276 "link": 558
2277 },
2278 {
2279 "localized_name": "cfg",
2280 "name": "cfg",
2281 "type": "FLOAT",
2282 "widget": {
2283 "name": "cfg"
2284 },
2285 "link": 431
2286 }
2287 ],
2288 "outputs": [
2289 {
2290 "localized_name": "output",
2291 "name": "output",
2292 "type": "LATENT",
2293 "links": []
2294 },
2295 {
2296 "localized_name": "denoised_output",
2297 "name": "denoised_output",
2298 "type": "LATENT",
2299 "links": [
2300 124
2301 ]
2302 }
2303 ],
2304 "properties": {
2305 "Node name for S&R": "SamplerCustom",
2306 "cnr_id": "comfy-core",
2307 "ver": "0.24.0"
2308 },
2309 "widgets_values": [
2310 true,
2311 1,
2312 "fixed",
2313 1
2314 ]
2315 },
2316 {
2317 "id": 168,
2318 "type": "PrimitiveInt",
2319 "pos": [
2320 2060,
2321 3750
2322 ],
2323 "size": [
2324 270,
2325 110
2326 ],
2327 "flags": [],
2328 "order": 1,
2329 "mode": 0,
2330 "inputs": [],
2331 "outputs": [
2332 {
2333 "localized_name": "INT",
2334 "name": "INT",
2335 "type": "INT",
2336 "links": [
2337 427
2338 ]
2339 }
2340 ],
2341 "title": "Int (Steps)",
2342 "properties": {
2343 "Node name for S&R": "PrimitiveInt",
2344 "cnr_id": "comfy-core",
2345 "ver": "0.24.0"
2346 },
2347 "widgets_values": [
2348 6,
2349 "fixed"
2350 ]
2351 },
2352 {
2353 "id": 167,
2354 "type": "PrimitiveFloat",
2355 "pos": [
2356 2060,
2357 3920
2358 ],
2359 "size": [
2360 270,
2361 110
2362 ],
2363 "flags": [],
2364 "order": 2,
2365 "mode": 0,
2366 "inputs": [],
2367 "outputs": [
2368 {
2369 "localized_name": "FLOAT",
2370 "name": "FLOAT",
2371 "type": "FLOAT",
2372 "links": [
2373 430
2374 ]
2375 }
2376 ],
2377 "title": "Float (CFG)",
2378 "properties": {
2379 "Node name for S&R": "PrimitiveFloat",
2380 "cnr_id": "comfy-core",
2381 "ver": "0.24.0"
2382 },
2383 "widgets_values": [
2384 1
2385 ]
2386 },
2387 {
2388 "id": 165,
2389 "type": "PrimitiveInt",
2390 "pos": [
2391 2060,
2392 3380
2393 ],
2394 "size": [
2395 270,
2396 110
2397 ],
2398 "flags": [],
2399 "order": 3,
2400 "mode": 0,
2401 "inputs": [],
2402 "outputs": [
2403 {
2404 "localized_name": "INT",
2405 "name": "INT",
2406 "type": "INT",
2407 "links": [
2408 426
2409 ]
2410 }
2411 ],
2412 "title": "Int (Steps)",
2413 "properties": {
2414 "Node name for S&R": "PrimitiveInt",
2415 "cnr_id": "comfy-core",
2416 "ver": "0.24.0"
2417 },
2418 "widgets_values": [
2419 40,
2420 "fixed"
2421 ]
2422 },
2423 {
2424 "id": 166,
2425 "type": "PrimitiveFloat",
2426 "pos": [
2427 2060,
2428 3530
2429 ],
2430 "size": [
2431 270,
2432 110
2433 ],
2434 "flags": [],
2435 "order": 4,
2436 "mode": 0,
2437 "inputs": [],
2438 "outputs": [
2439 {
2440 "localized_name": "FLOAT",
2441 "name": "FLOAT",
2442 "type": "FLOAT",
2443 "links": [
2444 429
2445 ]
2446 }
2447 ],
2448 "title": "Float (CFG)",
2449 "properties": {
2450 "Node name for S&R": "PrimitiveFloat",
2451 "cnr_id": "comfy-core",
2452 "ver": "0.24.0"
2453 },
2454 "widgets_values": [
2455 5
2456 ]
2457 },
2458 {
2459 "id": 169,
2460 "type": "ComfySwitchNode",
2461 "pos": [
2462 2400,
2463 3360
2464 ],
2465 "size": [
2466 270,
2467 130
2468 ],
2469 "flags": [],
2470 "order": 21,
2471 "mode": 0,
2472 "inputs": [
2473 {
2474 "localized_name": "on_false",
2475 "name": "on_false",
2476 "type": "MODEL",
2477 "link": 564
2478 },
2479 {
2480 "localized_name": "on_true",
2481 "name": "on_true",
2482 "type": "MODEL",
2483 "link": 425
2484 },
2485 {
2486 "localized_name": "switch",
2487 "name": "switch",
2488 "type": "BOOLEAN",
2489 "widget": {
2490 "name": "switch"
2491 },
2492 "link": 432
2493 }
2494 ],
2495 "outputs": [
2496 {
2497 "localized_name": "output",
2498 "name": "output",
2499 "type": "MODEL",
2500 "links": [
2501 424
2502 ]
2503 }
2504 ],
2505 "title": "Switch (Model)",
2506 "properties": {
2507 "Node name for S&R": "ComfySwitchNode",
2508 "cnr_id": "comfy-core",
2509 "ver": "0.24.0"
2510 },
2511 "widgets_values": [
2512 false
2513 ]
2514 },
2515 {
2516 "id": 170,
2517 "type": "ComfySwitchNode",
2518 "pos": [
2519 2400,
2520 3550
2521 ],
2522 "size": [
2523 270,
2524 130
2525 ],
2526 "flags": [],
2527 "order": 22,
2528 "mode": 0,
2529 "inputs": [
2530 {
2531 "localized_name": "on_false",
2532 "name": "on_false",
2533 "type": "INT",
2534 "link": 426
2535 },
2536 {
2537 "localized_name": "on_true",
2538 "name": "on_true",
2539 "type": "INT",
2540 "link": 427
2541 },
2542 {
2543 "localized_name": "switch",
2544 "name": "switch",
2545 "type": "BOOLEAN",
2546 "widget": {
2547 "name": "switch"
2548 },
2549 "link": 433
2550 }
2551 ],
2552 "outputs": [
2553 {
2554 "localized_name": "output",
2555 "name": "output",
2556 "type": "INT",
2557 "links": [
2558 428
2559 ]
2560 }
2561 ],
2562 "title": "Switch (Steps)",
2563 "properties": {
2564 "Node name for S&R": "ComfySwitchNode",
2565 "cnr_id": "comfy-core",
2566 "ver": "0.24.0"
2567 },
2568 "widgets_values": [
2569 false
2570 ]
2571 },
2572 {
2573 "id": 171,
2574 "type": "ComfySwitchNode",
2575 "pos": [
2576 2400,
2577 3730
2578 ],
2579 "size": [
2580 270,
2581 130
2582 ],
2583 "flags": [],
2584 "order": 23,
2585 "mode": 0,
2586 "inputs": [
2587 {
2588 "localized_name": "on_false",
2589 "name": "on_false",
2590 "type": "FLOAT",
2591 "link": 429
2592 },
2593 {
2594 "localized_name": "on_true",
2595 "name": "on_true",
2596 "type": "FLOAT",
2597 "link": 430
2598 },
2599 {
2600 "localized_name": "switch",
2601 "name": "switch",
2602 "type": "BOOLEAN",
2603 "widget": {
2604 "name": "switch"
2605 },
2606 "link": 434
2607 }
2608 ],
2609 "outputs": [
2610 {
2611 "localized_name": "output",
2612 "name": "output",
2613 "type": "FLOAT",
2614 "links": [
2615 431
2616 ]
2617 }
2618 ],
2619 "title": "Switch (Steps)",
2620 "properties": {
2621 "Node name for S&R": "ComfySwitchNode",
2622 "cnr_id": "comfy-core",
2623 "ver": "0.24.0"
2624 },
2625 "widgets_values": [
2626 false
2627 ]
2628 },
2629 {
2630 "id": 177,
2631 "type": "ImageFromBatch",
2632 "pos": [
2633 880,
2634 4490
2635 ],
2636 "size": [
2637 270,
2638 140
2639 ],
2640 "flags": [],
2641 "order": 25,
2642 "mode": 0,
2643 "inputs": [
2644 {
2645 "localized_name": "image",
2646 "name": "image",
2647 "type": "IMAGE",
2648 "link": 490
2649 },
2650 {
2651 "localized_name": "batch_index",
2652 "name": "batch_index",
2653 "type": "INT",
2654 "widget": {
2655 "name": "batch_index"
2656 },
2657 "link": 450
2658 },
2659 {
2660 "localized_name": "length",
2661 "name": "length",
2662 "type": "INT",
2663 "widget": {
2664 "name": "length"
2665 },
2666 "link": 522
2667 }
2668 ],
2669 "outputs": [
2670 {
2671 "localized_name": "IMAGE",
2672 "name": "IMAGE",
2673 "type": "IMAGE",
2674 "links": [
2675 491
2676 ]
2677 }
2678 ],
2679 "properties": {
2680 "Node name for S&R": "ImageFromBatch",
2681 "cnr_id": "comfy-core",
2682 "ver": "0.24.0"
2683 },
2684 "widgets_values": [
2685 0,
2686 81
2687 ]
2688 },
2689 {
2690 "id": 178,
2691 "type": "PrimitiveInt",
2692 "pos": [
2693 250,
2694 4820
2695 ],
2696 "size": [
2697 270,
2698 110
2699 ],
2700 "flags": [],
2701 "order": 26,
2702 "mode": 0,
2703 "inputs": [
2704 {
2705 "localized_name": "value",
2706 "name": "value",
2707 "type": "INT",
2708 "widget": {
2709 "name": "value"
2710 },
2711 "link": 505
2712 }
2713 ],
2714 "outputs": [
2715 {
2716 "localized_name": "INT",
2717 "name": "INT",
2718 "type": "INT",
2719 "links": [
2720 441
2721 ]
2722 }
2723 ],
2724 "title": "Int (Width)",
2725 "properties": {
2726 "Node name for S&R": "PrimitiveInt",
2727 "cnr_id": "comfy-core",
2728 "ver": "0.24.0"
2729 },
2730 "widgets_values": [
2731 896,
2732 "fixed"
2733 ]
2734 },
2735 {
2736 "id": 179,
2737 "type": "PrimitiveInt",
2738 "pos": [
2739 250,
2740 5000
2741 ],
2742 "size": [
2743 270,
2744 110
2745 ],
2746 "flags": [],
2747 "order": 27,
2748 "mode": 0,
2749 "inputs": [
2750 {
2751 "localized_name": "value",
2752 "name": "value",
2753 "type": "INT",
2754 "widget": {
2755 "name": "value"
2756 },
2757 "link": 506
2758 }
2759 ],
2760 "outputs": [
2761 {
2762 "localized_name": "INT",
2763 "name": "INT",
2764 "type": "INT",
2765 "links": [
2766 445
2767 ]
2768 }
2769 ],
2770 "title": "Int (Height)",
2771 "properties": {
2772 "Node name for S&R": "PrimitiveInt",
2773 "cnr_id": "comfy-core",
2774 "ver": "0.24.0"
2775 },
2776 "widgets_values": [
2777 512,
2778 "fixed"
2779 ]
2780 },
2781 {
2782 "id": 180,
2783 "type": "ComfyMathExpression",
2784 "pos": [
2785 590,
2786 4820
2787 ],
2788 "size": [
2789 230,
2790 190
2791 ],
2792 "flags": {
2793 "collapsed": false
2794 },
2795 "order": 28,
2796 "mode": 0,
2797 "inputs": [
2798 {
2799 "label": "a",
2800 "localized_name": "values.a",
2801 "name": "values.a",
2802 "type": "FLOAT,INT,BOOLEAN",
2803 "link": 441
2804 },
2805 {
2806 "label": "b",
2807 "localized_name": "values.b",
2808 "name": "values.b",
2809 "shape": 7,
2810 "type": "FLOAT,INT,BOOLEAN",
2811 "link": null
2812 }
2813 ],
2814 "outputs": [
2815 {
2816 "localized_name": "FLOAT",
2817 "name": "FLOAT",
2818 "type": "FLOAT",
2819 "links": []
2820 },
2821 {
2822 "localized_name": "INT",
2823 "name": "INT",
2824 "type": "INT",
2825 "links": [
2826 444
2827 ]
2828 },
2829 {
2830 "localized_name": "BOOL",
2831 "name": "BOOL",
2832 "type": "BOOLEAN",
2833 "links": null
2834 }
2835 ],
2836 "properties": {
2837 "Node name for S&R": "ComfyMathExpression",
2838 "cnr_id": "comfy-core",
2839 "ver": "0.24.0"
2840 },
2841 "widgets_values": [
2842 "(a // 32) * 32"
2843 ]
2844 },
2845 {
2846 "id": 182,
2847 "type": "ComfyMathExpression",
2848 "pos": [
2849 940,
2850 4990
2851 ],
2852 "size": [
2853 230,
2854 190
2855 ],
2856 "flags": {
2857 "collapsed": false
2858 },
2859 "order": 29,
2860 "mode": 0,
2861 "inputs": [
2862 {
2863 "label": "a",
2864 "localized_name": "values.a",
2865 "name": "values.a",
2866 "type": "FLOAT,INT,BOOLEAN",
2867 "link": 445
2868 },
2869 {
2870 "label": "b",
2871 "localized_name": "values.b",
2872 "name": "values.b",
2873 "shape": 7,
2874 "type": "FLOAT,INT,BOOLEAN",
2875 "link": null
2876 }
2877 ],
2878 "outputs": [
2879 {
2880 "localized_name": "FLOAT",
2881 "name": "FLOAT",
2882 "type": "FLOAT",
2883 "links": []
2884 },
2885 {
2886 "localized_name": "INT",
2887 "name": "INT",
2888 "type": "INT",
2889 "links": [
2890 446
2891 ]
2892 },
2893 {
2894 "localized_name": "BOOL",
2895 "name": "BOOL",
2896 "type": "BOOLEAN",
2897 "links": null
2898 }
2899 ],
2900 "properties": {
2901 "Node name for S&R": "ComfyMathExpression",
2902 "cnr_id": "comfy-core",
2903 "ver": "0.24.0"
2904 },
2905 "widgets_values": [
2906 "(a // 32) * 32"
2907 ]
2908 },
2909 {
2910 "id": 183,
2911 "type": "PrimitiveInt",
2912 "pos": [
2913 260,
2914 4570
2915 ],
2916 "size": [
2917 270,
2918 110
2919 ],
2920 "flags": [],
2921 "order": 30,
2922 "mode": 0,
2923 "inputs": [
2924 {
2925 "localized_name": "value",
2926 "name": "value",
2927 "type": "INT",
2928 "widget": {
2929 "name": "value"
2930 },
2931 "link": 502
2932 }
2933 ],
2934 "outputs": [
2935 {
2936 "localized_name": "INT",
2937 "name": "INT",
2938 "type": "INT",
2939 "links": [
2940 447
2941 ]
2942 }
2943 ],
2944 "title": "Int (segment index)",
2945 "properties": {
2946 "Node name for S&R": "PrimitiveInt",
2947 "cnr_id": "comfy-core",
2948 "ver": "0.24.0"
2949 },
2950 "widgets_values": [
2951 1,
2952 "fixed"
2953 ]
2954 },
2955 {
2956 "id": 184,
2957 "type": "ComfyMathExpression",
2958 "pos": [
2959 590,
2960 4490
2961 ],
2962 "size": [
2963 230,
2964 220
2965 ],
2966 "flags": {
2967 "collapsed": false
2968 },
2969 "order": 31,
2970 "mode": 0,
2971 "inputs": [
2972 {
2973 "label": "a",
2974 "localized_name": "values.a",
2975 "name": "values.a",
2976 "type": "FLOAT,INT,BOOLEAN",
2977 "link": 447
2978 },
2979 {
2980 "label": "b",
2981 "localized_name": "values.b",
2982 "name": "values.b",
2983 "shape": 7,
2984 "type": "FLOAT,INT,BOOLEAN",
2985 "link": 541
2986 },
2987 {
2988 "label": "c",
2989 "localized_name": "values.c",
2990 "name": "values.c",
2991 "shape": 7,
2992 "type": "FLOAT,INT,BOOLEAN",
2993 "link": 543
2994 },
2995 {
2996 "label": "d",
2997 "localized_name": "values.d",
2998 "name": "values.d",
2999 "shape": 7,
3000 "type": "FLOAT,INT,BOOLEAN",
3001 "link": null
3002 }
3003 ],
3004 "outputs": [
3005 {
3006 "localized_name": "FLOAT",
3007 "name": "FLOAT",
3008 "type": "FLOAT",
3009 "links": null
3010 },
3011 {
3012 "localized_name": "INT",
3013 "name": "INT",
3014 "type": "INT",
3015 "links": [
3016 450
3017 ]
3018 },
3019 {
3020 "localized_name": "BOOL",
3021 "name": "BOOL",
3022 "type": "BOOLEAN",
3023 "links": null
3024 }
3025 ],
3026 "properties": {
3027 "Node name for S&R": "ComfyMathExpression",
3028 "cnr_id": "comfy-core",
3029 "ver": "0.24.0"
3030 },
3031 "widgets_values": [
3032 "(b - c) * (a - 1)"
3033 ]
3034 },
3035 {
3036 "id": 191,
3037 "type": "CLIPTextEncode",
3038 "pos": [
3039 660,
3040 5360
3041 ],
3042 "size": [
3043 380,
3044 160
3045 ],
3046 "flags": [],
3047 "order": 32,
3048 "mode": 0,
3049 "inputs": [
3050 {
3051 "localized_name": "clip",
3052 "name": "clip",
3053 "type": "CLIP",
3054 "link": 454
3055 },
3056 {
3057 "localized_name": "text",
3058 "name": "text",
3059 "type": "STRING",
3060 "widget": {
3061 "name": "text"
3062 },
3063 "link": 513
3064 }
3065 ],
3066 "outputs": [
3067 {
3068 "localized_name": "CONDITIONING",
3069 "name": "CONDITIONING",
3070 "type": "CONDITIONING",
3071 "links": [
3072 461
3073 ]
3074 }
3075 ],
3076 "properties": {
3077 "Node name for S&R": "CLIPTextEncode",
3078 "cnr_id": "comfy-core",
3079 "ver": "0.19.3",
3080 "enableTabs": false,
3081 "hasSecondTab": false,
3082 "secondTabOffset": 80,
3083 "secondTabText": "Send Back",
3084 "secondTabWidth": 65,
3085 "tabWidth": 65,
3086 "tabXOffset": 10
3087 },
3088 "widgets_values": [
3089 "girl, handkerchief"
3090 ]
3091 },
3092 {
3093 "id": 193,
3094 "type": "CheckpointLoaderSimple",
3095 "pos": [
3096 270,
3097 5340
3098 ],
3099 "size": [
3100 330,
3101 160
3102 ],
3103 "flags": [],
3104 "order": 33,
3105 "mode": 0,
3106 "inputs": [
3107 {
3108 "localized_name": "ckpt_name",
3109 "name": "ckpt_name",
3110 "type": "COMBO",
3111 "widget": {
3112 "name": "ckpt_name"
3113 },
3114 "link": 515
3115 }
3116 ],
3117 "outputs": [
3118 {
3119 "localized_name": "MODEL",
3120 "name": "MODEL",
3121 "type": "MODEL",
3122 "links": [
3123 458,
3124 463
3125 ]
3126 },
3127 {
3128 "localized_name": "CLIP",
3129 "name": "CLIP",
3130 "type": "CLIP",
3131 "links": [
3132 454,
3133 489
3134 ]
3135 },
3136 {
3137 "localized_name": "VAE",
3138 "name": "VAE",
3139 "type": "VAE",
3140 "links": []
3141 }
3142 ],
3143 "properties": {
3144 "Node name for S&R": "CheckpointLoaderSimple",
3145 "cnr_id": "comfy-core",
3146 "ver": "0.19.3",
3147 "models": [
3148 {
3149 "name": "sam3.1_multiplex_fp16.safetensors",
3150 "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors",
3151 "directory": "checkpoints"
3152 }
3153 ],
3154 "enableTabs": false,
3155 "hasSecondTab": false,
3156 "secondTabOffset": 80,
3157 "secondTabText": "Send Back",
3158 "secondTabWidth": 65,
3159 "tabWidth": 65,
3160 "tabXOffset": 10
3161 },
3162 "widgets_values": [
3163 "sam3.1_multiplex_fp16.safetensors"
3164 ]
3165 },
3166 {
3167 "id": 196,
3168 "type": "SAM3_VideoTrack",
3169 "pos": [
3170 1190,
3171 5320
3172 ],
3173 "size": [
3174 280,
3175 250
3176 ],
3177 "flags": [],
3178 "order": 34,
3179 "mode": 0,
3180 "inputs": [
3181 {
3182 "label": "images",
3183 "localized_name": "images",
3184 "name": "images",
3185 "type": "IMAGE",
3186 "link": 493
3187 },
3188 {
3189 "label": "model",
3190 "localized_name": "model",
3191 "name": "model",
3192 "type": "MODEL",
3193 "link": 458
3194 },
3195 {
3196 "label": "initial_mask",
3197 "localized_name": "initial_mask",
3198 "name": "initial_mask",
3199 "shape": 7,
3200 "type": "MASK",
3201 "link": null
3202 },
3203 {
3204 "label": "conditioning",
3205 "localized_name": "conditioning",
3206 "name": "conditioning",
3207 "shape": 7,
3208 "type": "CONDITIONING",
3209 "link": 461
3210 }
3211 ],
3212 "outputs": [
3213 {
3214 "localized_name": "track_data",
3215 "name": "track_data",
3216 "type": "SAM3_TRACK_DATA",
3217 "links": [
3218 460
3219 ]
3220 }
3221 ],
3222 "properties": {
3223 "Node name for S&R": "SAM3_VideoTrack",
3224 "cnr_id": "comfy-core",
3225 "ver": "0.24.0"
3226 },
3227 "widgets_values": [
3228 0.5,
3229 4,
3230 1
3231 ]
3232 },
3233 {
3234 "id": 197,
3235 "type": "SCAIL2ColoredMask",
3236 "pos": [
3237 1550,
3238 5470
3239 ],
3240 "size": [
3241 370,
3242 200
3243 ],
3244 "flags": [],
3245 "order": 35,
3246 "mode": 0,
3247 "inputs": [
3248 {
3249 "localized_name": "driving_track_data",
3250 "name": "driving_track_data",
3251 "type": "SAM3_TRACK_DATA",
3252 "link": 460
3253 },
3254 {
3255 "localized_name": "ref_track_data",
3256 "name": "ref_track_data",
3257 "shape": 7,
3258 "type": "SAM3_TRACK_DATA,MASK",
3259 "link": 464
3260 },
3261 {
3262 "localized_name": "replacement_mode",
3263 "name": "replacement_mode",
3264 "type": "BOOLEAN",
3265 "widget": {
3266 "name": "replacement_mode"
3267 },
3268 "link": 476
3269 }
3270 ],
3271 "outputs": [
3272 {
3273 "localized_name": "pose_video_mask",
3274 "name": "pose_video_mask",
3275 "type": "IMAGE",
3276 "links": [
3277 466,
3278 467
3279 ]
3280 },
3281 {
3282 "localized_name": "reference_image_mask",
3283 "name": "reference_image_mask",
3284 "type": "IMAGE",
3285 "links": [
3286 465,
3287 472
3288 ]
3289 }
3290 ],
3291 "properties": {
3292 "Node name for S&R": "SCAIL2ColoredMask",
3293 "cnr_id": "comfy-core",
3294 "ver": "0.24.0"
3295 },
3296 "widgets_values": [
3297 "",
3298 "left_to_right",
3299 true
3300 ]
3301 },
3302 {
3303 "id": 198,
3304 "type": "SAM3_VideoTrack",
3305 "pos": [
3306 1190,
3307 5620
3308 ],
3309 "size": [
3310 280,
3311 250
3312 ],
3313 "flags": [],
3314 "order": 36,
3315 "mode": 0,
3316 "inputs": [
3317 {
3318 "label": "images",
3319 "localized_name": "images",
3320 "name": "images",
3321 "type": "IMAGE",
3322 "link": 469
3323 },
3324 {
3325 "label": "model",
3326 "localized_name": "model",
3327 "name": "model",
3328 "type": "MODEL",
3329 "link": 463
3330 },
3331 {
3332 "label": "initial_mask",
3333 "localized_name": "initial_mask",
3334 "name": "initial_mask",
3335 "shape": 7,
3336 "type": "MASK",
3337 "link": null
3338 },
3339 {
3340 "label": "conditioning",
3341 "localized_name": "conditioning",
3342 "name": "conditioning",
3343 "shape": 7,
3344 "type": "CONDITIONING",
3345 "link": 488
3346 }
3347 ],
3348 "outputs": [
3349 {
3350 "localized_name": "track_data",
3351 "name": "track_data",
3352 "type": "SAM3_TRACK_DATA",
3353 "links": [
3354 464
3355 ]
3356 }
3357 ],
3358 "properties": {
3359 "Node name for S&R": "SAM3_VideoTrack",
3360 "cnr_id": "comfy-core",
3361 "ver": "0.24.0"
3362 },
3363 "widgets_values": [
3364 0.5,
3365 4,
3366 1
3367 ]
3368 },
3369 {
3370 "id": 203,
3371 "type": "PrimitiveBoolean",
3372 "pos": [
3373 1660,
3374 4200
3375 ],
3376 "size": [
3377 270,
3378 110
3379 ],
3380 "flags": [],
3381 "order": 39,
3382 "mode": 0,
3383 "inputs": [
3384 {
3385 "localized_name": "value",
3386 "name": "value",
3387 "type": "BOOLEAN",
3388 "widget": {
3389 "name": "value"
3390 },
3391 "link": 504
3392 }
3393 ],
3394 "outputs": [
3395 {
3396 "localized_name": "BOOLEAN",
3397 "name": "BOOLEAN",
3398 "type": "BOOLEAN",
3399 "links": [
3400 475,
3401 476
3402 ]
3403 }
3404 ],
3405 "title": "Boolean (Replace Mode)",
3406 "properties": {
3407 "Node name for S&R": "PrimitiveBoolean",
3408 "cnr_id": "comfy-core",
3409 "ver": "0.24.0"
3410 },
3411 "widgets_values": [
3412 true
3413 ]
3414 },
3415 {
3416 "id": 200,
3417 "type": "PreviewImage",
3418 "pos": [
3419 2040,
3420 4470
3421 ],
3422 "size": [
3423 350,
3424 1190
3425 ],
3426 "flags": [],
3427 "order": 38,
3428 "mode": 4,
3429 "inputs": [
3430 {
3431 "localized_name": "images",
3432 "name": "images",
3433 "type": "IMAGE",
3434 "link": 466
3435 }
3436 ],
3437 "outputs": [
3438 {
3439 "localized_name": "images",
3440 "name": "images",
3441 "type": "IMAGE",
3442 "links": null
3443 }
3444 ],
3445 "properties": {
3446 "Node name for S&R": "PreviewImage",
3447 "cnr_id": "comfy-core",
3448 "ver": "0.24.0"
3449 },
3450 "widgets_values": []
3451 },
3452 {
3453 "id": 199,
3454 "type": "PreviewImage",
3455 "pos": [
3456 2440,
3457 4470
3458 ],
3459 "size": [
3460 230,
3461 310
3462 ],
3463 "flags": [],
3464 "order": 37,
3465 "mode": 4,
3466 "inputs": [
3467 {
3468 "localized_name": "images",
3469 "name": "images",
3470 "type": "IMAGE",
3471 "link": 465
3472 }
3473 ],
3474 "outputs": [
3475 {
3476 "localized_name": "images",
3477 "name": "images",
3478 "type": "IMAGE",
3479 "links": null
3480 }
3481 ],
3482 "properties": {
3483 "Node name for S&R": "PreviewImage",
3484 "cnr_id": "comfy-core",
3485 "ver": "0.24.0"
3486 },
3487 "widgets_values": []
3488 },
3489 {
3490 "id": 6,
3491 "type": "VAEDecode",
3492 "pos": [
3493 3080,
3494 4120
3495 ],
3496 "size": [
3497 270,
3498 100
3499 ],
3500 "flags": {
3501 "collapsed": false
3502 },
3503 "order": 7,
3504 "mode": 0,
3505 "inputs": [
3506 {
3507 "localized_name": "samples",
3508 "name": "samples",
3509 "type": "LATENT",
3510 "link": 124
3511 },
3512 {
3513 "localized_name": "vae",
3514 "name": "vae",
3515 "type": "VAE",
3516 "link": 407
3517 }
3518 ],
3519 "outputs": [
3520 {
3521 "localized_name": "IMAGE",
3522 "name": "IMAGE",
3523 "type": "IMAGE",
3524 "links": [
3525 544
3526 ]
3527 }
3528 ],
3529 "properties": {
3530 "Node name for S&R": "VAEDecode",
3531 "cnr_id": "comfy-core",
3532 "ver": "0.24.0"
3533 },
3534 "widgets_values": []
3535 },
3536 {
3537 "id": 172,
3538 "type": "PrimitiveBoolean",
3539 "pos": [
3540 2410,
3541 3940
3542 ],
3543 "size": [
3544 270,
3545 110
3546 ],
3547 "flags": [],
3548 "order": 24,
3549 "mode": 0,
3550 "inputs": [
3551 {
3552 "localized_name": "value",
3553 "name": "value",
3554 "type": "BOOLEAN",
3555 "widget": {
3556 "name": "value"
3557 },
3558 "link": 507
3559 }
3560 ],
3561 "outputs": [
3562 {
3563 "localized_name": "BOOLEAN",
3564 "name": "BOOLEAN",
3565 "type": "BOOLEAN",
3566 "links": [
3567 432,
3568 433,
3569 434
3570 ]
3571 }
3572 ],
3573 "title": "Boolean (Enable Distill LoRA?)",
3574 "properties": {
3575 "Node name for S&R": "PrimitiveBoolean",
3576 "cnr_id": "comfy-core",
3577 "ver": "0.24.0"
3578 },
3579 "widgets_values": [
3580 true
3581 ]
3582 },
3583 {
3584 "id": 76,
3585 "type": "CLIPVisionEncode",
3586 "pos": [
3587 1200,
3588 4260
3589 ],
3590 "size": [
3591 230,
3592 60
3593 ],
3594 "flags": {
3595 "collapsed": true
3596 },
3597 "order": 14,
3598 "mode": 0,
3599 "inputs": [
3600 {
3601 "localized_name": "clip_vision",
3602 "name": "clip_vision",
3603 "type": "CLIP_VISION",
3604 "link": 196
3605 },
3606 {
3607 "localized_name": "image",
3608 "name": "image",
3609 "type": "IMAGE",
3610 "link": 408
3611 }
3612 ],
3613 "outputs": [
3614 {
3615 "localized_name": "CLIP_VISION_OUTPUT",
3616 "name": "CLIP_VISION_OUTPUT",
3617 "type": "CLIP_VISION_OUTPUT",
3618 "links": [
3619 404
3620 ]
3621 }
3622 ],
3623 "properties": {
3624 "Node name for S&R": "CLIPVisionEncode",
3625 "cnr_id": "comfy-core",
3626 "ver": "0.24.0"
3627 },
3628 "widgets_values": [
3629 "none"
3630 ]
3631 },
3632 {
3633 "id": 4,
3634 "type": "CLIPTextEncode",
3635 "pos": [
3636 1000,
3637 3970
3638 ],
3639 "size": [
3640 520,
3641 210
3642 ],
3643 "flags": [],
3644 "order": 6,
3645 "mode": 0,
3646 "inputs": [
3647 {
3648 "localized_name": "clip",
3649 "name": "clip",
3650 "type": "CLIP",
3651 "link": 8
3652 }
3653 ],
3654 "outputs": [
3655 {
3656 "localized_name": "CONDITIONING",
3657 "name": "CONDITIONING",
3658 "type": "CONDITIONING",
3659 "links": [
3660 326
3661 ]
3662 }
3663 ],
3664 "properties": {
3665 "Node name for S&R": "CLIPTextEncode",
3666 "cnr_id": "comfy-core",
3667 "ver": "0.24.0"
3668 },
3669 "widgets_values": [
3670 ""
3671 ],
3672 "color": "#223",
3673 "bgcolor": "#335"
3674 },
3675 {
3676 "id": 3,
3677 "type": "CLIPTextEncode",
3678 "pos": [
3679 990,
3680 3170
3681 ],
3682 "size": [
3683 550,
3684 750
3685 ],
3686 "flags": [],
3687 "order": 5,
3688 "mode": 0,
3689 "inputs": [
3690 {
3691 "localized_name": "clip",
3692 "name": "clip",
3693 "type": "CLIP",
3694 "link": 7
3695 },
3696 {
3697 "localized_name": "text",
3698 "name": "text",
3699 "type": "STRING",
3700 "widget": {
3701 "name": "text"
3702 },
3703 "link": 499
3704 }
3705 ],
3706 "outputs": [
3707 {
3708 "localized_name": "CONDITIONING",
3709 "name": "CONDITIONING",
3710 "type": "CONDITIONING",
3711 "links": [
3712 325
3713 ]
3714 }
3715 ],
3716 "properties": {
3717 "Node name for S&R": "CLIPTextEncode",
3718 "cnr_id": "comfy-core",
3719 "ver": "0.24.0"
3720 },
3721 "widgets_values": [
3722 "A young East Asian woman with dark hair neatly pulled back, wearing a white sleeveless ribbed mock-neck top, is standing in a lush apple orchard. She holds a large glossy red apple with both hands, using a white paper handkerchief to wipe and clean the apple before smelling and eating it with her eyes closed and a blissful expression. Ripe red and yellow apples hang from leafy branches in the foreground, with rows of green apple trees softly blurred in the background under natural daylight."
3723 ],
3724 "color": "#232",
3725 "bgcolor": "#353"
3726 },
3727 {
3728 "id": 114,
3729 "type": "WanSCAILToVideo",
3730 "pos": [
3731 1640,
3732 3400
3733 ],
3734 "size": [
3735 310,
3736 580
3737 ],
3738 "flags": [],
3739 "order": 16,
3740 "mode": 0,
3741 "inputs": [
3742 {
3743 "localized_name": "positive",
3744 "name": "positive",
3745 "type": "CONDITIONING",
3746 "link": 325
3747 },
3748 {
3749 "localized_name": "negative",
3750 "name": "negative",
3751 "type": "CONDITIONING",
3752 "link": 326
3753 },
3754 {
3755 "localized_name": "vae",
3756 "name": "vae",
3757 "type": "VAE",
3758 "link": 406
3759 },
3760 {
3761 "localized_name": "pose_video",
3762 "name": "pose_video",
3763 "shape": 7,
3764 "type": "IMAGE",
3765 "link": 420
3766 },
3767 {
3768 "localized_name": "pose_video_mask",
3769 "name": "pose_video_mask",
3770 "shape": 7,
3771 "type": "IMAGE",
3772 "link": 467
3773 },
3774 {
3775 "localized_name": "reference_image",
3776 "name": "reference_image",
3777 "shape": 7,
3778 "type": "IMAGE",
3779 "link": 473
3780 },
3781 {
3782 "localized_name": "reference_image_mask",
3783 "name": "reference_image_mask",
3784 "shape": 7,
3785 "type": "IMAGE",
3786 "link": 472
3787 },
3788 {
3789 "localized_name": "clip_vision_output",
3790 "name": "clip_vision_output",
3791 "shape": 7,
3792 "type": "CLIP_VISION_OUTPUT",
3793 "link": 404
3794 },
3795 {
3796 "localized_name": "previous_frames",
3797 "name": "previous_frames",
3798 "shape": 7,
3799 "type": "IMAGE",
3800 "link": null
3801 },
3802 {
3803 "localized_name": "width",
3804 "name": "width",
3805 "type": "INT",
3806 "widget": {
3807 "name": "width"
3808 },
3809 "link": 414
3810 },
3811 {
3812 "localized_name": "height",
3813 "name": "height",
3814 "type": "INT",
3815 "widget": {
3816 "name": "height"
3817 },
3818 "link": 415
3819 },
3820 {
3821 "localized_name": "length",
3822 "name": "length",
3823 "type": "INT",
3824 "widget": {
3825 "name": "length"
3826 },
3827 "link": 416
3828 },
3829 {
3830 "localized_name": "pose_strength",
3831 "name": "pose_strength",
3832 "type": "FLOAT",
3833 "widget": {
3834 "name": "pose_strength"
3835 },
3836 "link": 547
3837 },
3838 {
3839 "localized_name": "pose_start",
3840 "name": "pose_start",
3841 "type": "FLOAT",
3842 "widget": {
3843 "name": "pose_start"
3844 },
3845 "link": 548
3846 },
3847 {
3848 "localized_name": "pose_end",
3849 "name": "pose_end",
3850 "type": "FLOAT",
3851 "widget": {
3852 "name": "pose_end"
3853 },
3854 "link": 549
3855 },
3856 {
3857 "localized_name": "previous_frame_count",
3858 "name": "previous_frame_count",
3859 "type": "INT",
3860 "widget": {
3861 "name": "previous_frame_count"
3862 },
3863 "link": 542
3864 },
3865 {
3866 "localized_name": "replacement_mode",
3867 "name": "replacement_mode",
3868 "shape": 7,
3869 "type": "BOOLEAN",
3870 "widget": {
3871 "name": "replacement_mode"
3872 },
3873 "link": 475
3874 }
3875 ],
3876 "outputs": [
3877 {
3878 "localized_name": "positive",
3879 "name": "positive",
3880 "type": "CONDITIONING",
3881 "links": [
3882 333
3883 ]
3884 },
3885 {
3886 "localized_name": "negative",
3887 "name": "negative",
3888 "type": "CONDITIONING",
3889 "links": [
3890 334
3891 ]
3892 },
3893 {
3894 "localized_name": "latent",
3895 "name": "latent",
3896 "type": "LATENT",
3897 "links": [
3898 335
3899 ]
3900 },
3901 {
3902 "localized_name": "video_frame_offset",
3903 "name": "video_frame_offset",
3904 "type": "INT",
3905 "links": []
3906 }
3907 ],
3908 "properties": {
3909 "Node name for S&R": "WanSCAILToVideo",
3910 "cnr_id": "comfy-core",
3911 "ver": "0.24.0"
3912 },
3913 "widgets_values": [
3914 512,
3915 896,
3916 65,
3917 1,
3918 1,
3919 0,
3920 1,
3921 0,
3922 5,
3923 true
3924 ],
3925 "color": "#322",
3926 "bgcolor": "#533"
3927 },
3928 {
3929 "id": 212,
3930 "type": "CLIPTextEncode",
3931 "pos": [
3932 670,
3933 5690
3934 ],
3935 "size": [
3936 380,
3937 160
3938 ],
3939 "flags": [],
3940 "order": 40,
3941 "mode": 0,
3942 "inputs": [
3943 {
3944 "localized_name": "clip",
3945 "name": "clip",
3946 "type": "CLIP",
3947 "link": 489
3948 },
3949 {
3950 "localized_name": "text",
3951 "name": "text",
3952 "type": "STRING",
3953 "widget": {
3954 "name": "text"
3955 },
3956 "link": 514
3957 }
3958 ],
3959 "outputs": [
3960 {
3961 "localized_name": "CONDITIONING",
3962 "name": "CONDITIONING",
3963 "type": "CONDITIONING",
3964 "links": [
3965 488
3966 ]
3967 }
3968 ],
3969 "properties": {
3970 "Node name for S&R": "CLIPTextEncode",
3971 "cnr_id": "comfy-core",
3972 "ver": "0.19.3",
3973 "enableTabs": false,
3974 "hasSecondTab": false,
3975 "secondTabOffset": 80,
3976 "secondTabText": "Send Back",
3977 "secondTabWidth": 65,
3978 "tabWidth": 65,
3979 "tabXOffset": 10
3980 },
3981 "widgets_values": [
3982 "human"
3983 ]
3984 },
3985 {
3986 "id": 318,
3987 "type": "LoraLoaderModelOnly",
3988 "pos": [
3989 310,
3990 3390
3991 ],
3992 "size": [
3993 580,
3994 140
3995 ],
3996 "flags": [],
3997 "order": 41,
3998 "mode": 0,
3999 "inputs": [
4000 {
4001 "localized_name": "model",
4002 "name": "model",
4003 "type": "MODEL",
4004 "link": 562
4005 },
4006 {
4007 "localized_name": "lora_name",
4008 "name": "lora_name",
4009 "type": "COMBO",
4010 "widget": {
4011 "name": "lora_name"
4012 },
4013 "link": 565
4014 }
4015 ],
4016 "outputs": [
4017 {
4018 "localized_name": "MODEL",
4019 "name": "MODEL",
4020 "type": "MODEL",
4021 "links": [
4022 563,
4023 564
4024 ]
4025 }
4026 ],
4027 "properties": {
4028 "Node name for S&R": "LoraLoaderModelOnly",
4029 "cnr_id": "comfy-core",
4030 "ver": "0.24.0",
4031 "models": [
4032 {
4033 "name": "wan2.1_SCAIL_2_DPO_lora_bf16.safetensors",
4034 "url": "https://huggingface.co/Comfy-Org/SCAIL-2/resolve/main/loras/wan2.1_SCAIL_2_DPO_lora_bf16.safetensors",
4035 "directory": "loras"
4036 }
4037 ]
4038 },
4039 "widgets_values": [
4040 "wan2.1_SCAIL_2_DPO_lora_bf16.safetensors",
4041 1
4042 ]
4043 }
4044 ],
4045 "groups": [
4046 {
4047 "id": 3,
4048 "title": "Models",
4049 "bounding": [
4050 240,
4051 3100,
4052 710,
4053 1270
4054 ],
4055 "color": "#3f789e",
4056 "flags": []
4057 },
4058 {
4059 "id": 4,
4060 "title": "Prompt",
4061 "bounding": [
4062 980,
4063 3100,
4064 570,
4065 1270
4066 ],
4067 "color": "#3f789e",
4068 "flags": []
4069 },
4070 {
4071 "id": 5,
4072 "title": "Sampling",
4073 "bounding": [
4074 2730,
4075 3100,
4076 660,
4077 1270
4078 ],
4079 "color": "#3f789e",
4080 "flags": []
4081 },
4082 {
4083 "id": 6,
4084 "title": "SCAIL Conditioning",
4085 "bounding": [
4086 1580,
4087 3100,
4088 420,
4089 1270
4090 ],
4091 "color": "#3f789e",
4092 "flags": []
4093 },
4094 {
4095 "id": 9,
4096 "title": "Switch Settings",
4097 "bounding": [
4098 2030,
4099 3100,
4100 670,
4101 1270
4102 ],
4103 "color": "#3f789e",
4104 "flags": []
4105 },
4106 {
4107 "id": 7,
4108 "title": "Original Settings",
4109 "bounding": [
4110 2050,
4111 3320,
4112 300,
4113 340
4114 ],
4115 "color": "#3f789e",
4116 "flags": []
4117 },
4118 {
4119 "id": 8,
4120 "title": "Distill LoRA Settings",
4121 "bounding": [
4122 2050,
4123 3680,
4124 300,
4125 370
4126 ],
4127 "color": "#3f789e",
4128 "flags": []
4129 },
4130 {
4131 "id": 10,
4132 "title": "Create Mask",
4133 "bounding": [
4134 240,
4135 5230,
4136 1760,
4137 670
4138 ],
4139 "flags": []
4140 },
4141 {
4142 "id": 11,
4143 "title": "Resize Images",
4144 "bounding": [
4145 240,
4146 4750,
4147 1760,
4148 450
4149 ],
4150 "flags": []
4151 },
4152 {
4153 "id": 12,
4154 "title": "Trim Frames from Video",
4155 "bounding": [
4156 240,
4157 4410,
4158 1760,
4159 310
4160 ],
4161 "flags": []
4162 },
4163 {
4164 "id": 13,
4165 "title": "Preview Masks",
4166 "bounding": [
4167 2030,
4168 4410,
4169 660,
4170 1490
4171 ],
4172 "flags": []
4173 }
4174 ],
4175 "links": [
4176 {
4177 "id": 491,
4178 "origin_id": 177,
4179 "origin_slot": 0,
4180 "target_id": 156,
4181 "target_slot": 0,
4182 "type": "IMAGE"
4183 },
4184 {
4185 "id": 444,
4186 "origin_id": 180,
4187 "origin_slot": 1,
4188 "target_id": 156,
4189 "target_slot": 1,
4190 "type": "INT"
4191 },
4192 {
4193 "id": 446,
4194 "origin_id": 182,
4195 "origin_slot": 1,
4196 "target_id": 156,
4197 "target_slot": 2,
4198 "type": "INT"
4199 },
4200 {
4201 "id": 492,
4202 "origin_id": 156,
4203 "origin_slot": 0,
4204 "target_id": 163,
4205 "target_slot": 0,
4206 "type": "IMAGE"
4207 },
4208 {
4209 "id": 424,
4210 "origin_id": 169,
4211 "origin_slot": 0,
4212 "target_id": 95,
4213 "target_slot": 0,
4214 "type": "MODEL"
4215 },
4216 {
4217 "id": 398,
4218 "origin_id": 11,
4219 "origin_slot": 0,
4220 "target_id": 18,
4221 "target_slot": 0,
4222 "type": "MODEL"
4223 },
4224 {
4225 "id": 428,
4226 "origin_id": 170,
4227 "origin_slot": 0,
4228 "target_id": 18,
4229 "target_slot": 1,
4230 "type": "INT"
4231 },
4232 {
4233 "id": 417,
4234 "origin_id": 95,
4235 "origin_slot": 0,
4236 "target_id": 19,
4237 "target_slot": 0,
4238 "type": "MODEL"
4239 },
4240 {
4241 "id": 333,
4242 "origin_id": 114,
4243 "origin_slot": 0,
4244 "target_id": 19,
4245 "target_slot": 1,
4246 "type": "CONDITIONING"
4247 },
4248 {
4249 "id": 334,
4250 "origin_id": 114,
4251 "origin_slot": 1,
4252 "target_id": 19,
4253 "target_slot": 2,
4254 "type": "CONDITIONING"
4255 },
4256 {
4257 "id": 419,
4258 "origin_id": 27,
4259 "origin_slot": 0,
4260 "target_id": 19,
4261 "target_slot": 3,
4262 "type": "SAMPLER"
4263 },
4264 {
4265 "id": 418,
4266 "origin_id": 18,
4267 "origin_slot": 0,
4268 "target_id": 19,
4269 "target_slot": 4,
4270 "type": "SIGMAS"
4271 },
4272 {
4273 "id": 335,
4274 "origin_id": 114,
4275 "origin_slot": 2,
4276 "target_id": 19,
4277 "target_slot": 5,
4278 "type": "LATENT"
4279 },
4280 {
4281 "id": 431,
4282 "origin_id": 171,
4283 "origin_slot": 0,
4284 "target_id": 19,
4285 "target_slot": 7,
4286 "type": "FLOAT"
4287 },
4288 {
4289 "id": 425,
4290 "origin_id": 11,
4291 "origin_slot": 0,
4292 "target_id": 169,
4293 "target_slot": 1,
4294 "type": "MODEL"
4295 },
4296 {
4297 "id": 432,
4298 "origin_id": 172,
4299 "origin_slot": 0,
4300 "target_id": 169,
4301 "target_slot": 2,
4302 "type": "BOOLEAN"
4303 },
4304 {
4305 "id": 426,
4306 "origin_id": 165,
4307 "origin_slot": 0,
4308 "target_id": 170,
4309 "target_slot": 0,
4310 "type": "INT"
4311 },
4312 {
4313 "id": 427,
4314 "origin_id": 168,
4315 "origin_slot": 0,
4316 "target_id": 170,
4317 "target_slot": 1,
4318 "type": "INT"
4319 },
4320 {
4321 "id": 433,
4322 "origin_id": 172,
4323 "origin_slot": 0,
4324 "target_id": 170,
4325 "target_slot": 2,
4326 "type": "BOOLEAN"
4327 },
4328 {
4329 "id": 429,
4330 "origin_id": 166,
4331 "origin_slot": 0,
4332 "target_id": 171,
4333 "target_slot": 0,
4334 "type": "FLOAT"
4335 },
4336 {
4337 "id": 430,
4338 "origin_id": 167,
4339 "origin_slot": 0,
4340 "target_id": 171,
4341 "target_slot": 1,
4342 "type": "FLOAT"
4343 },
4344 {
4345 "id": 434,
4346 "origin_id": 172,
4347 "origin_slot": 0,
4348 "target_id": 171,
4349 "target_slot": 2,
4350 "type": "BOOLEAN"
4351 },
4352 {
4353 "id": 490,
4354 "origin_id": 157,
4355 "origin_slot": 0,
4356 "target_id": 177,
4357 "target_slot": 0,
4358 "type": "IMAGE"
4359 },
4360 {
4361 "id": 450,
4362 "origin_id": 184,
4363 "origin_slot": 1,
4364 "target_id": 177,
4365 "target_slot": 1,
4366 "type": "INT"
4367 },
4368 {
4369 "id": 441,
4370 "origin_id": 178,
4371 "origin_slot": 0,
4372 "target_id": 180,
4373 "target_slot": 0,
4374 "type": "INT"
4375 },
4376 {
4377 "id": 445,
4378 "origin_id": 179,
4379 "origin_slot": 0,
4380 "target_id": 182,
4381 "target_slot": 0,
4382 "type": "INT"
4383 },
4384 {
4385 "id": 447,
4386 "origin_id": 183,
4387 "origin_slot": 0,
4388 "target_id": 184,
4389 "target_slot": 0,
4390 "type": "INT"
4391 },
4392 {
4393 "id": 454,
4394 "origin_id": 193,
4395 "origin_slot": 1,
4396 "target_id": 191,
4397 "target_slot": 0,
4398 "type": "CLIP"
4399 },
4400 {
4401 "id": 493,
4402 "origin_id": 156,
4403 "origin_slot": 0,
4404 "target_id": 196,
4405 "target_slot": 0,
4406 "type": "IMAGE"
4407 },
4408 {
4409 "id": 458,
4410 "origin_id": 193,
4411 "origin_slot": 0,
4412 "target_id": 196,
4413 "target_slot": 1,
4414 "type": "MODEL"
4415 },
4416 {
4417 "id": 461,
4418 "origin_id": 191,
4419 "origin_slot": 0,
4420 "target_id": 196,
4421 "target_slot": 3,
4422 "type": "CONDITIONING"
4423 },
4424 {
4425 "id": 460,
4426 "origin_id": 196,
4427 "origin_slot": 0,
4428 "target_id": 197,
4429 "target_slot": 0,
4430 "type": "SAM3_TRACK_DATA"
4431 },
4432 {
4433 "id": 464,
4434 "origin_id": 198,
4435 "origin_slot": 0,
4436 "target_id": 197,
4437 "target_slot": 1,
4438 "type": "SAM3_TRACK_DATA"
4439 },
4440 {
4441 "id": 476,
4442 "origin_id": 203,
4443 "origin_slot": 0,
4444 "target_id": 197,
4445 "target_slot": 2,
4446 "type": "BOOLEAN"
4447 },
4448 {
4449 "id": 463,
4450 "origin_id": 193,
4451 "origin_slot": 0,
4452 "target_id": 198,
4453 "target_slot": 1,
4454 "type": "MODEL"
4455 },
4456 {
4457 "id": 488,
4458 "origin_id": 212,
4459 "origin_slot": 0,
4460 "target_id": 198,
4461 "target_slot": 3,
4462 "type": "CONDITIONING"
4463 },
4464 {
4465 "id": 466,
4466 "origin_id": 197,
4467 "origin_slot": 0,
4468 "target_id": 200,
4469 "target_slot": 0,
4470 "type": "IMAGE"
4471 },
4472 {
4473 "id": 465,
4474 "origin_id": 197,
4475 "origin_slot": 1,
4476 "target_id": 199,
4477 "target_slot": 0,
4478 "type": "IMAGE"
4479 },
4480 {
4481 "id": 124,
4482 "origin_id": 19,
4483 "origin_slot": 1,
4484 "target_id": 6,
4485 "target_slot": 0,
4486 "type": "LATENT"
4487 },
4488 {
4489 "id": 407,
4490 "origin_id": 7,
4491 "origin_slot": 0,
4492 "target_id": 6,
4493 "target_slot": 1,
4494 "type": "VAE"
4495 },
4496 {
4497 "id": 196,
4498 "origin_id": 75,
4499 "origin_slot": 0,
4500 "target_id": 76,
4501 "target_slot": 0,
4502 "type": "CLIP_VISION"
4503 },
4504 {
4505 "id": 8,
4506 "origin_id": 9,
4507 "origin_slot": 0,
4508 "target_id": 4,
4509 "target_slot": 0,
4510 "type": "CLIP"
4511 },
4512 {
4513 "id": 7,
4514 "origin_id": 9,
4515 "origin_slot": 0,
4516 "target_id": 3,
4517 "target_slot": 0,
4518 "type": "CLIP"
4519 },
4520 {
4521 "id": 325,
4522 "origin_id": 3,
4523 "origin_slot": 0,
4524 "target_id": 114,
4525 "target_slot": 0,
4526 "type": "CONDITIONING"
4527 },
4528 {
4529 "id": 326,
4530 "origin_id": 4,
4531 "origin_slot": 0,
4532 "target_id": 114,
4533 "target_slot": 1,
4534 "type": "CONDITIONING"
4535 },
4536 {
4537 "id": 406,
4538 "origin_id": 7,
4539 "origin_slot": 0,
4540 "target_id": 114,
4541 "target_slot": 2,
4542 "type": "VAE"
4543 },
4544 {
4545 "id": 420,
4546 "origin_id": 156,
4547 "origin_slot": 0,
4548 "target_id": 114,
4549 "target_slot": 3,
4550 "type": "IMAGE"
4551 },
4552 {
4553 "id": 467,
4554 "origin_id": 197,
4555 "origin_slot": 0,
4556 "target_id": 114,
4557 "target_slot": 4,
4558 "type": "IMAGE"
4559 },
4560 {
4561 "id": 472,
4562 "origin_id": 197,
4563 "origin_slot": 1,
4564 "target_id": 114,
4565 "target_slot": 6,
4566 "type": "IMAGE"
4567 },
4568 {
4569 "id": 404,
4570 "origin_id": 76,
4571 "origin_slot": 0,
4572 "target_id": 114,
4573 "target_slot": 7,
4574 "type": "CLIP_VISION_OUTPUT"
4575 },
4576 {
4577 "id": 414,
4578 "origin_id": 163,
4579 "origin_slot": 0,
4580 "target_id": 114,
4581 "target_slot": 9,
4582 "type": "INT"
4583 },
4584 {
4585 "id": 415,
4586 "origin_id": 163,
4587 "origin_slot": 1,
4588 "target_id": 114,
4589 "target_slot": 10,
4590 "type": "INT"
4591 },
4592 {
4593 "id": 416,
4594 "origin_id": 163,
4595 "origin_slot": 2,
4596 "target_id": 114,
4597 "target_slot": 11,
4598 "type": "INT"
4599 },
4600 {
4601 "id": 475,
4602 "origin_id": 203,
4603 "origin_slot": 0,
4604 "target_id": 114,
4605 "target_slot": 16,
4606 "type": "BOOLEAN"
4607 },
4608 {
4609 "id": 489,
4610 "origin_id": 193,
4611 "origin_slot": 1,
4612 "target_id": 212,
4613 "target_slot": 0,
4614 "type": "CLIP"
4615 },
4616 {
4617 "id": 409,
4618 "origin_id": -10,
4619 "origin_slot": 0,
4620 "target_id": 157,
4621 "target_slot": 0,
4622 "type": "VIDEO"
4623 },
4624 {
4625 "id": 469,
4626 "origin_id": -10,
4627 "origin_slot": 1,
4628 "target_id": 198,
4629 "target_slot": 0,
4630 "type": "IMAGE"
4631 },
4632 {
4633 "id": 408,
4634 "origin_id": -10,
4635 "origin_slot": 1,
4636 "target_id": 76,
4637 "target_slot": 1,
4638 "type": "IMAGE"
4639 },
4640 {
4641 "id": 473,
4642 "origin_id": -10,
4643 "origin_slot": 1,
4644 "target_id": 114,
4645 "target_slot": 5,
4646 "type": "IMAGE"
4647 },
4648 {
4649 "id": 499,
4650 "origin_id": -10,
4651 "origin_slot": 2,
4652 "target_id": 3,
4653 "target_slot": 1,
4654 "type": "STRING"
4655 },
4656 {
4657 "id": 502,
4658 "origin_id": -10,
4659 "origin_slot": 3,
4660 "target_id": 183,
4661 "target_slot": 0,
4662 "type": "INT"
4663 },
4664 {
4665 "id": 504,
4666 "origin_id": -10,
4667 "origin_slot": 4,
4668 "target_id": 203,
4669 "target_slot": 0,
4670 "type": "BOOLEAN"
4671 },
4672 {
4673 "id": 505,
4674 "origin_id": -10,
4675 "origin_slot": 5,
4676 "target_id": 178,
4677 "target_slot": 0,
4678 "type": "INT"
4679 },
4680 {
4681 "id": 506,
4682 "origin_id": -10,
4683 "origin_slot": 6,
4684 "target_id": 179,
4685 "target_slot": 0,
4686 "type": "INT"
4687 },
4688 {
4689 "id": 507,
4690 "origin_id": -10,
4691 "origin_slot": 12,
4692 "target_id": 172,
4693 "target_slot": 0,
4694 "type": "BOOLEAN"
4695 },
4696 {
4697 "id": 508,
4698 "origin_id": -10,
4699 "origin_slot": 13,
4700 "target_id": 154,
4701 "target_slot": 0,
4702 "type": "COMBO"
4703 },
4704 {
4705 "id": 509,
4706 "origin_id": -10,
4707 "origin_slot": 14,
4708 "target_id": 11,
4709 "target_slot": 1,
4710 "type": "COMBO"
4711 },
4712 {
4713 "id": 510,
4714 "origin_id": -10,
4715 "origin_slot": 16,
4716 "target_id": 9,
4717 "target_slot": 0,
4718 "type": "COMBO"
4719 },
4720 {
4721 "id": 511,
4722 "origin_id": -10,
4723 "origin_slot": 17,
4724 "target_id": 7,
4725 "target_slot": 0,
4726 "type": "COMBO"
4727 },
4728 {
4729 "id": 512,
4730 "origin_id": -10,
4731 "origin_slot": 18,
4732 "target_id": 75,
4733 "target_slot": 0,
4734 "type": "COMBO"
4735 },
4736 {
4737 "id": 513,
4738 "origin_id": -10,
4739 "origin_slot": 19,
4740 "target_id": 191,
4741 "target_slot": 1,
4742 "type": "STRING"
4743 },
4744 {
4745 "id": 514,
4746 "origin_id": -10,
4747 "origin_slot": 20,
4748 "target_id": 212,
4749 "target_slot": 1,
4750 "type": "STRING"
4751 },
4752 {
4753 "id": 515,
4754 "origin_id": -10,
4755 "origin_slot": 21,
4756 "target_id": 193,
4757 "target_slot": 0,
4758 "type": "COMBO"
4759 },
4760 {
4761 "id": 522,
4762 "origin_id": -10,
4763 "origin_slot": 7,
4764 "target_id": 177,
4765 "target_slot": 2,
4766 "type": "INT"
4767 },
4768 {
4769 "id": 541,
4770 "origin_id": -10,
4771 "origin_slot": 7,
4772 "target_id": 184,
4773 "target_slot": 1,
4774 "type": "FLOAT,INT,BOOLEAN"
4775 },
4776 {
4777 "id": 542,
4778 "origin_id": -10,
4779 "origin_slot": 8,
4780 "target_id": 114,
4781 "target_slot": 15,
4782 "type": "INT"
4783 },
4784 {
4785 "id": 543,
4786 "origin_id": -10,
4787 "origin_slot": 8,
4788 "target_id": 184,
4789 "target_slot": 2,
4790 "type": "FLOAT,INT,BOOLEAN"
4791 },
4792 {
4793 "id": 544,
4794 "origin_id": 6,
4795 "origin_slot": 0,
4796 "target_id": -20,
4797 "target_slot": 0,
4798 "type": "IMAGE"
4799 },
4800 {
4801 "id": 547,
4802 "origin_id": -10,
4803 "origin_slot": 9,
4804 "target_id": 114,
4805 "target_slot": 12,
4806 "type": "FLOAT"
4807 },
4808 {
4809 "id": 548,
4810 "origin_id": -10,
4811 "origin_slot": 10,
4812 "target_id": 114,
4813 "target_slot": 13,
4814 "type": "FLOAT"
4815 },
4816 {
4817 "id": 549,
4818 "origin_id": -10,
4819 "origin_slot": 11,
4820 "target_id": 114,
4821 "target_slot": 14,
4822 "type": "FLOAT"
4823 },
4824 {
4825 "id": 558,
4826 "origin_id": -10,
4827 "origin_slot": 22,
4828 "target_id": 19,
4829 "target_slot": 6,
4830 "type": "INT"
4831 },
4832 {
4833 "id": 562,
4834 "origin_id": 154,
4835 "origin_slot": 0,
4836 "target_id": 318,
4837 "target_slot": 0,
4838 "type": "MODEL"
4839 },
4840 {
4841 "id": 563,
4842 "origin_id": 318,
4843 "origin_slot": 0,
4844 "target_id": 11,
4845 "target_slot": 0,
4846 "type": "MODEL"
4847 },
4848 {
4849 "id": 564,
4850 "origin_id": 318,
4851 "origin_slot": 0,
4852 "target_id": 169,
4853 "target_slot": 0,
4854 "type": "MODEL"
4855 },
4856 {
4857 "id": 565,
4858 "origin_id": -10,
4859 "origin_slot": 15,
4860 "target_id": 318,
4861 "target_slot": 1,
4862 "type": "COMBO"
4863 }
4864 ],
4865 "extra": []
4866 },
4867 {
4868 "id": "56bf150b-bd14-4513-8e03-335e1972ba62",
4869 "version": 1,
4870 "state": {
4871 "lastGroupId": 17,
4872 "lastNodeId": 321,
4873 "lastLinkId": 569,
4874 "lastRerouteId": 0
4875 },
4876 "revision": 0,
4877 "config": [],
4878 "name": "Character Replacement (SCAIL-2 Int8 Extend)",
4879 "inputNode": {
4880 "id": -10,
4881 "bounding": [
4882 -300,
4883 4240,
4884 173.015625,
4885 528
4886 ]
4887 },
4888 "outputNode": {
4889 "id": -20,
4890 "bounding": [
4891 3570,
4892 4500,
4893 128,
4894 68
4895 ]
4896 },
4897 "inputs": [
4898 {
4899 "id": "e9aedfaf-1991-4a75-ad9b-8c3a279b0488",
4900 "name": "video",
4901 "type": "VIDEO",
4902 "linkIds": [
4903 409
4904 ],
4905 "localized_name": "video",
4906 "label": "pose_video",
4907 "pos": [
4908 -150.984375,
4909 4264
4910 ]
4911 },
4912 {
4913 "id": "0badb26e-9abd-4e9c-b221-aab1237b8773",
4914 "name": "images",
4915 "type": "IMAGE",
4916 "linkIds": [
4917 469,
4918 408,
4919 473
4920 ],
4921 "localized_name": "images",
4922 "label": "reference_image",
4923 "pos": [
4924 -150.984375,
4925 4284
4926 ]
4927 },
4928 {
4929 "id": "9f424e9e-d5a2-4dd9-9934-cc6f6fc8da09",
4930 "name": "image",
4931 "type": "IMAGE",
4932 "linkIds": [
4933 486,
4934 485
4935 ],
4936 "localized_name": "image",
4937 "label": "previous_frames",
4938 "pos": [
4939 -150.984375,
4940 4304
4941 ]
4942 },
4943 {
4944 "id": "098f15aa-a066-422e-b491-eaf140bafb2c",
4945 "name": "text",
4946 "type": "STRING",
4947 "linkIds": [
4948 499
4949 ],
4950 "label": "prompt",
4951 "pos": [
4952 -150.984375,
4953 4324
4954 ]
4955 },
4956 {
4957 "id": "861ea850-8329-491b-9413-2588cdd77bbd",
4958 "name": "value",
4959 "type": "INT",
4960 "linkIds": [
4961 502
4962 ],
4963 "label": "segment_index",
4964 "pos": [
4965 -150.984375,
4966 4344
4967 ]
4968 },
4969 {
4970 "id": "dcf3ebf8-1263-458a-966b-9e77a5ad704a",
4971 "name": "value_2",
4972 "type": "BOOLEAN",
4973 "linkIds": [
4974 504
4975 ],
4976 "label": "replace_mode",
4977 "pos": [
4978 -150.984375,
4979 4364
4980 ]
4981 },
4982 {
4983 "id": "dbee10ce-bb98-4733-88a0-d4cd5b13c691",
4984 "name": "value_3",
4985 "type": "INT",
4986 "linkIds": [
4987 505
4988 ],
4989 "label": "width",
4990 "pos": [
4991 -150.984375,
4992 4384
4993 ]
4994 },
4995 {
4996 "id": "363e3ac7-0096-4480-b875-1d6ff1b8a2d9",
4997 "name": "value_4",
4998 "type": "INT",
4999 "linkIds": [
5000 506
5001 ],
5002 "label": "height",
5003 "pos": [
5004 -150.984375,
5005 4404
5006 ]
5007 },
5008 {
5009 "id": "dc19eaf1-dd24-4c1e-9b08-6d8d98e0e7f2",
5010 "name": "length",
5011 "type": "INT",
5012 "linkIds": [
5013 550,
5014 557
5015 ],
5016 "label": "frame_count",
5017 "pos": [
5018 -150.984375,
5019 4424
5020 ]
5021 },
5022 {
5023 "id": "39d2f098-1740-419e-9c29-e4c4e4a7c3fd",
5024 "name": "previous_frame_count",
5025 "type": "INT",
5026 "linkIds": [
5027 551,
5028 556
5029 ],
5030 "pos": [
5031 -150.984375,
5032 4444
5033 ]
5034 },
5035 {
5036 "id": "8d248225-a7f5-42c5-86bd-31eaf695f66e",
5037 "name": "pose_strength",
5038 "type": "FLOAT",
5039 "linkIds": [
5040 552
5041 ],
5042 "pos": [
5043 -150.984375,
5044 4464
5045 ]
5046 },
5047 {
5048 "id": "04c56360-963a-48ba-944e-4864e2c0349c",
5049 "name": "pose_start",
5050 "type": "FLOAT",
5051 "linkIds": [
5052 553
5053 ],
5054 "pos": [
5055 -150.984375,
5056 4484
5057 ]
5058 },
5059 {
5060 "id": "1ecd0315-d61f-4986-837c-27fb3f2d0470",
5061 "name": "pose_end",
5062 "type": "FLOAT",
5063 "linkIds": [
5064 554
5065 ],
5066 "pos": [
5067 -150.984375,
5068 4504
5069 ]
5070 },
5071 {
5072 "id": "ddf07ba4-2837-40ef-925f-5996ea436334",
5073 "name": "value_5",
5074 "type": "BOOLEAN",
5075 "linkIds": [
5076 507
5077 ],
5078 "label": "turbo_mode",
5079 "pos": [
5080 -150.984375,
5081 4524
5082 ]
5083 },
5084 {
5085 "id": "ee8c796d-b326-40c6-9f9d-65f564053974",
5086 "name": "unet_name",
5087 "type": "COMBO",
5088 "linkIds": [
5089 508
5090 ],
5091 "pos": [
5092 -150.984375,
5093 4544
5094 ]
5095 },
5096 {
5097 "id": "6ccae991-51d7-4c8e-adc8-c7f6377d681b",
5098 "name": "lora_name",
5099 "type": "COMBO",
5100 "linkIds": [
5101 509
5102 ],
5103 "label": "distill_lora",
5104 "pos": [
5105 -150.984375,
5106 4564
5107 ]
5108 },
5109 {
5110 "id": "1f1ac950-6ce5-4253-a266-edba58acd135",
5111 "name": "lora_name_1",
5112 "type": "COMBO",
5113 "linkIds": [
5114 569
5115 ],
5116 "label": "dpo_lora",
5117 "pos": [
5118 -150.984375,
5119 4584
5120 ]
5121 },
5122 {
5123 "id": "2e9c2347-93fe-462f-b5ef-51613fb52c85",
5124 "name": "clip_name",
5125 "type": "COMBO",
5126 "linkIds": [
5127 510
5128 ],
5129 "pos": [
5130 -150.984375,
5131 4604
5132 ]
5133 },
5134 {
5135 "id": "bc1822c0-7484-47b7-8d59-cf94788290f7",
5136 "name": "vae_name",
5137 "type": "COMBO",
5138 "linkIds": [
5139 511
5140 ],
5141 "pos": [
5142 -150.984375,
5143 4624
5144 ]
5145 },
5146 {
5147 "id": "bbf2ee19-58b3-46f4-af6a-cd1557d60c8d",
5148 "name": "clip_name_1",
5149 "type": "COMBO",
5150 "linkIds": [
5151 512
5152 ],
5153 "label": "clip_vision",
5154 "pos": [
5155 -150.984375,
5156 4644
5157 ]
5158 },
5159 {
5160 "id": "556415bd-8ef3-4cfa-b182-0d7e3e4cd572",
5161 "name": "text_1",
5162 "type": "STRING",
5163 "linkIds": [
5164 513
5165 ],
5166 "label": "sam3_video_object",
5167 "pos": [
5168 -150.984375,
5169 4664
5170 ]
5171 },
5172 {
5173 "id": "c577930c-85a3-4e92-ac44-8ed639937217",
5174 "name": "text_2",
5175 "type": "STRING",
5176 "linkIds": [
5177 514
5178 ],
5179 "label": "sam3_image_object",
5180 "pos": [
5181 -150.984375,
5182 4684
5183 ]
5184 },
5185 {
5186 "id": "8f542c5e-da91-4dad-8ff8-4e81a42d5140",
5187 "name": "ckpt_name",
5188 "type": "COMBO",
5189 "linkIds": [
5190 515
5191 ],
5192 "label": "sam3_model",
5193 "pos": [
5194 -150.984375,
5195 4704
5196 ]
5197 },
5198 {
5199 "id": "9764a497-f066-429c-b77c-bcd5b8c7a68d",
5200 "name": "noise_seed",
5201 "type": "INT",
5202 "linkIds": [
5203 559
5204 ],
5205 "pos": [
5206 -150.984375,
5207 4724
5208 ]
5209 }
5210 ],
5211 "outputs": [
5212 {
5213 "id": "7ae88834-7553-45ec-a4e8-bab7d5276b45",
5214 "name": "output",
5215 "type": "IMAGE",
5216 "linkIds": [
5217 546
5218 ],
5219 "localized_name": "output",
5220 "pos": [
5221 3594,
5222 4524
5223 ]
5224 }
5225 ],
5226 "widgets": [],
5227 "nodes": [
5228 {
5229 "id": 216,
5230 "type": "LoraLoaderModelOnly",
5231 "pos": [
5232 300,
5233 3590
5234 ],
5235 "size": [
5236 590,
5237 140
5238 ],
5239 "flags": [],
5240 "order": 5,
5241 "mode": 0,
5242 "inputs": [
5243 {
5244 "localized_name": "model",
5245 "name": "model",
5246 "type": "MODEL",
5247 "link": 566
5248 },
5249 {
5250 "localized_name": "lora_name",
5251 "name": "lora_name",
5252 "type": "COMBO",
5253 "widget": {
5254 "name": "lora_name"
5255 },
5256 "link": 509
5257 }
5258 ],
5259 "outputs": [
5260 {
5261 "localized_name": "MODEL",
5262 "name": "MODEL",
5263 "type": "MODEL",
5264 "links": [
5265 398,
5266 425
5267 ]
5268 }
5269 ],
5270 "properties": {
5271 "Node name for S&R": "LoraLoaderModelOnly",
5272 "cnr_id": "comfy-core",
5273 "ver": "0.24.0",
5274 "models": [
5275 {
5276 "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
5277 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
5278 "directory": "loras"
5279 }
5280 ]
5281 },
5282 "widgets_values": [
5283 "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
5284 0.8
5285 ],
5286 "color": "#223",
5287 "bgcolor": "#335"
5288 },
5289 {
5290 "id": 217,
5291 "type": "VAELoader",
5292 "pos": [
5293 300,
5294 4020
5295 ],
5296 "size": [
5297 590,
5298 140
5299 ],
5300 "flags": [],
5301 "order": 6,
5302 "mode": 0,
5303 "inputs": [
5304 {
5305 "localized_name": "vae_name",
5306 "name": "vae_name",
5307 "type": "COMBO",
5308 "widget": {
5309 "name": "vae_name"
5310 },
5311 "link": 511
5312 }
5313 ],
5314 "outputs": [
5315 {
5316 "localized_name": "VAE",
5317 "name": "VAE",
5318 "type": "VAE",
5319 "links": [
5320 406,
5321 407
5322 ]
5323 }
5324 ],
5325 "properties": {
5326 "Node name for S&R": "VAELoader",
5327 "cnr_id": "comfy-core",
5328 "ver": "0.24.0",
5329 "models": [
5330 {
5331 "name": "Wan2_1_VAE_bf16.safetensors",
5332 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors",
5333 "directory": "vae"
5334 }
5335 ]
5336 },
5337 "widgets_values": [
5338 "Wan2_1_VAE_bf16.safetensors"
5339 ]
5340 },
5341 {
5342 "id": 218,
5343 "type": "ResizeImageMaskNode",
5344 "pos": [
5345 1280,
5346 4880
5347 ],
5348 "size": [
5349 270,
5350 160
5351 ],
5352 "flags": [],
5353 "order": 7,
5354 "mode": 0,
5355 "inputs": [
5356 {
5357 "localized_name": "input",
5358 "name": "input",
5359 "type": "IMAGE,MASK",
5360 "link": 491
5361 },
5362 {
5363 "localized_name": "width",
5364 "name": "resize_type.width",
5365 "type": "INT",
5366 "widget": {
5367 "name": "resize_type.width"
5368 },
5369 "link": 444
5370 },
5371 {
5372 "localized_name": "height",
5373 "name": "resize_type.height",
5374 "type": "INT",
5375 "widget": {
5376 "name": "resize_type.height"
5377 },
5378 "link": 446
5379 }
5380 ],
5381 "outputs": [
5382 {
5383 "localized_name": "resized",
5384 "name": "resized",
5385 "type": "IMAGE",
5386 "links": [
5387 420,
5388 492,
5389 493
5390 ]
5391 }
5392 ],
5393 "properties": {
5394 "Node name for S&R": "ResizeImageMaskNode",
5395 "cnr_id": "comfy-core",
5396 "ver": "0.24.0"
5397 },
5398 "widgets_values": [
5399 "scale dimensions",
5400 512,
5401 512,
5402 "center",
5403 "area"
5404 ]
5405 },
5406 {
5407 "id": 219,
5408 "type": "GetVideoComponents",
5409 "pos": [
5410 270,
5411 4520
5412 ],
5413 "size": [
5414 230,
5415 90
5416 ],
5417 "flags": {
5418 "collapsed": true
5419 },
5420 "order": 8,
5421 "mode": 0,
5422 "inputs": [
5423 {
5424 "localized_name": "video",
5425 "name": "video",
5426 "type": "VIDEO",
5427 "link": 409
5428 }
5429 ],
5430 "outputs": [
5431 {
5432 "localized_name": "images",
5433 "name": "images",
5434 "type": "IMAGE",
5435 "links": [
5436 490
5437 ]
5438 },
5439 {
5440 "localized_name": "audio",
5441 "name": "audio",
5442 "type": "AUDIO",
5443 "links": null
5444 },
5445 {
5446 "localized_name": "fps",
5447 "name": "fps",
5448 "type": "FLOAT",
5449 "links": []
5450 },
5451 {
5452 "localized_name": "bit_depth",
5453 "name": "bit_depth",
5454 "type": "INT",
5455 "links": null
5456 }
5457 ],
5458 "properties": {
5459 "Node name for S&R": "GetVideoComponents",
5460 "cnr_id": "comfy-core",
5461 "ver": "0.24.0"
5462 },
5463 "widgets_values": []
5464 },
5465 {
5466 "id": 220,
5467 "type": "GetImageSize",
5468 "pos": [
5469 1640,
5470 4520
5471 ],
5472 "size": [
5473 240,
5474 190
5475 ],
5476 "flags": [],
5477 "order": 9,
5478 "mode": 0,
5479 "inputs": [
5480 {
5481 "localized_name": "image",
5482 "name": "image",
5483 "type": "IMAGE",
5484 "link": 492
5485 }
5486 ],
5487 "outputs": [
5488 {
5489 "localized_name": "width",
5490 "name": "width",
5491 "type": "INT",
5492 "links": [
5493 414
5494 ]
5495 },
5496 {
5497 "localized_name": "height",
5498 "name": "height",
5499 "type": "INT",
5500 "links": [
5501 415
5502 ]
5503 },
5504 {
5505 "localized_name": "batch_size",
5506 "name": "batch_size",
5507 "type": "INT",
5508 "links": [
5509 416
5510 ]
5511 }
5512 ],
5513 "properties": {
5514 "Node name for S&R": "GetImageSize",
5515 "cnr_id": "comfy-core",
5516 "ver": "0.24.0"
5517 },
5518 "widgets_values": []
5519 },
5520 {
5521 "id": 221,
5522 "type": "CLIPLoader",
5523 "pos": [
5524 300,
5525 3790
5526 ],
5527 "size": [
5528 590,
5529 170
5530 ],
5531 "flags": [],
5532 "order": 10,
5533 "mode": 0,
5534 "inputs": [
5535 {
5536 "localized_name": "clip_name",
5537 "name": "clip_name",
5538 "type": "COMBO",
5539 "widget": {
5540 "name": "clip_name"
5541 },
5542 "link": 510
5543 }
5544 ],
5545 "outputs": [
5546 {
5547 "localized_name": "CLIP",
5548 "name": "CLIP",
5549 "type": "CLIP",
5550 "links": [
5551 7,
5552 8
5553 ]
5554 }
5555 ],
5556 "properties": {
5557 "Node name for S&R": "CLIPLoader",
5558 "cnr_id": "comfy-core",
5559 "ver": "0.24.0",
5560 "models": [
5561 {
5562 "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
5563 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
5564 "directory": "text_encoders"
5565 }
5566 ]
5567 },
5568 "widgets_values": [
5569 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
5570 "wan",
5571 "default"
5572 ]
5573 },
5574 {
5575 "id": 222,
5576 "type": "CLIPVisionLoader",
5577 "pos": [
5578 300,
5579 4230
5580 ],
5581 "size": [
5582 590,
5583 110
5584 ],
5585 "flags": [],
5586 "order": 11,
5587 "mode": 0,
5588 "inputs": [
5589 {
5590 "localized_name": "clip_name",
5591 "name": "clip_name",
5592 "type": "COMBO",
5593 "widget": {
5594 "name": "clip_name"
5595 },
5596 "link": 512
5597 }
5598 ],
5599 "outputs": [
5600 {
5601 "localized_name": "CLIP_VISION",
5602 "name": "CLIP_VISION",
5603 "type": "CLIP_VISION",
5604 "links": [
5605 196
5606 ]
5607 }
5608 ],
5609 "properties": {
5610 "Node name for S&R": "CLIPVisionLoader",
5611 "cnr_id": "comfy-core",
5612 "ver": "0.24.0",
5613 "models": [
5614 {
5615 "name": "clip_vision_h.safetensors",
5616 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
5617 "directory": "clip_vision"
5618 }
5619 ]
5620 },
5621 "widgets_values": [
5622 "clip_vision_h.safetensors"
5623 ]
5624 },
5625 {
5626 "id": 223,
5627 "type": "UNETLoader",
5628 "pos": [
5629 300,
5630 3190
5631 ],
5632 "size": [
5633 590,
5634 140
5635 ],
5636 "flags": [],
5637 "order": 12,
5638 "mode": 0,
5639 "inputs": [
5640 {
5641 "localized_name": "unet_name",
5642 "name": "unet_name",
5643 "type": "COMBO",
5644 "widget": {
5645 "name": "unet_name"
5646 },
5647 "link": 508
5648 }
5649 ],
5650 "outputs": [
5651 {
5652 "localized_name": "MODEL",
5653 "name": "MODEL",
5654 "type": "MODEL",
5655 "links": [
5656 568
5657 ]
5658 }
5659 ],
5660 "properties": {
5661 "Node name for S&R": "UNETLoader",
5662 "cnr_id": "comfy-core",
5663 "ver": "0.24.0",
5664 "models": [
5665 {
5666 "name": "wan2.1_14B_SCAIL_2_int8_convrot.safetensors",
5667 "url": "https://huggingface.co/Comfy-Org/SCAIL-2/resolve/main/diffusion_models/wan2.1_14B_SCAIL_2_int8_convrot.safetensors",
5668 "directory": "diffusion_models"
5669 }
5670 ]
5671 },
5672 "widgets_values": [
5673 "wan2.1_14B_SCAIL_2_int8_convrot.safetensors",
5674 "default"
5675 ]
5676 },
5677 {
5678 "id": 224,
5679 "type": "ModelSamplingSD3",
5680 "pos": [
5681 2820,
5682 3430
5683 ],
5684 "size": [
5685 270,
5686 110
5687 ],
5688 "flags": [],
5689 "order": 13,
5690 "mode": 0,
5691 "inputs": [
5692 {
5693 "localized_name": "model",
5694 "name": "model",
5695 "type": "MODEL",
5696 "link": 424
5697 }
5698 ],
5699 "outputs": [
5700 {
5701 "localized_name": "MODEL",
5702 "name": "MODEL",
5703 "type": "MODEL",
5704 "links": [
5705 417
5706 ]
5707 }
5708 ],
5709 "properties": {
5710 "Node name for S&R": "ModelSamplingSD3",
5711 "cnr_id": "comfy-core",
5712 "ver": "0.24.0"
5713 },
5714 "widgets_values": [
5715 5
5716 ]
5717 },
5718 {
5719 "id": 225,
5720 "type": "KSamplerSelect",
5721 "pos": [
5722 2830,
5723 3580
5724 ],
5725 "size": [
5726 260,
5727 110
5728 ],
5729 "flags": [],
5730 "order": 0,
5731 "mode": 0,
5732 "inputs": [],
5733 "outputs": [
5734 {
5735 "localized_name": "SAMPLER",
5736 "name": "SAMPLER",
5737 "type": "SAMPLER",
5738 "links": [
5739 419
5740 ]
5741 }
5742 ],
5743 "properties": {
5744 "Node name for S&R": "KSamplerSelect",
5745 "cnr_id": "comfy-core",
5746 "ver": "0.24.0"
5747 },
5748 "widgets_values": [
5749 "euler"
5750 ]
5751 },
5752 {
5753 "id": 226,
5754 "type": "BasicScheduler",
5755 "pos": [
5756 2830,
5757 3730
5758 ],
5759 "size": [
5760 260,
5761 170
5762 ],
5763 "flags": [],
5764 "order": 14,
5765 "mode": 0,
5766 "inputs": [
5767 {
5768 "localized_name": "model",
5769 "name": "model",
5770 "type": "MODEL",
5771 "link": 398
5772 },
5773 {
5774 "localized_name": "steps",
5775 "name": "steps",
5776 "type": "INT",
5777 "widget": {
5778 "name": "steps"
5779 },
5780 "link": 428
5781 }
5782 ],
5783 "outputs": [
5784 {
5785 "localized_name": "SIGMAS",
5786 "name": "SIGMAS",
5787 "type": "SIGMAS",
5788 "links": [
5789 418
5790 ]
5791 }
5792 ],
5793 "properties": {
5794 "Node name for S&R": "BasicScheduler",
5795 "cnr_id": "comfy-core",
5796 "ver": "0.24.0"
5797 },
5798 "widgets_values": [
5799 "simple",
5800 6,
5801 1
5802 ]
5803 },
5804 {
5805 "id": 227,
5806 "type": "SamplerCustom",
5807 "pos": [
5808 3140,
5809 3430
5810 ],
5811 "size": [
5812 270,
5813 670
5814 ],
5815 "flags": [],
5816 "order": 15,
5817 "mode": 0,
5818 "inputs": [
5819 {
5820 "localized_name": "model",
5821 "name": "model",
5822 "type": "MODEL",
5823 "link": 417
5824 },
5825 {
5826 "localized_name": "positive",
5827 "name": "positive",
5828 "type": "CONDITIONING",
5829 "link": 333
5830 },
5831 {
5832 "localized_name": "negative",
5833 "name": "negative",
5834 "type": "CONDITIONING",
5835 "link": 334
5836 },
5837 {
5838 "localized_name": "sampler",
5839 "name": "sampler",
5840 "type": "SAMPLER",
5841 "link": 419
5842 },
5843 {
5844 "localized_name": "sigmas",
5845 "name": "sigmas",
5846 "type": "SIGMAS",
5847 "link": 418
5848 },
5849 {
5850 "localized_name": "latent_image",
5851 "name": "latent_image",
5852 "type": "LATENT",
5853 "link": 335
5854 },
5855 {
5856 "localized_name": "noise_seed",
5857 "name": "noise_seed",
5858 "type": "INT",
5859 "widget": {
5860 "name": "noise_seed"
5861 },
5862 "link": 559
5863 },
5864 {
5865 "localized_name": "cfg",
5866 "name": "cfg",
5867 "type": "FLOAT",
5868 "widget": {
5869 "name": "cfg"
5870 },
5871 "link": 431
5872 }
5873 ],
5874 "outputs": [
5875 {
5876 "localized_name": "output",
5877 "name": "output",
5878 "type": "LATENT",
5879 "links": []
5880 },
5881 {
5882 "localized_name": "denoised_output",
5883 "name": "denoised_output",
5884 "type": "LATENT",
5885 "links": [
5886 124
5887 ]
5888 }
5889 ],
5890 "properties": {
5891 "Node name for S&R": "SamplerCustom",
5892 "cnr_id": "comfy-core",
5893 "ver": "0.24.0"
5894 },
5895 "widgets_values": [
5896 true,
5897 1,
5898 "fixed",
5899 1
5900 ]
5901 },
5902 {
5903 "id": 228,
5904 "type": "PrimitiveInt",
5905 "pos": [
5906 2090,
5907 3760
5908 ],
5909 "size": [
5910 270,
5911 110
5912 ],
5913 "flags": [],
5914 "order": 1,
5915 "mode": 0,
5916 "inputs": [],
5917 "outputs": [
5918 {
5919 "localized_name": "INT",
5920 "name": "INT",
5921 "type": "INT",
5922 "links": [
5923 427
5924 ]
5925 }
5926 ],
5927 "title": "Int (Steps)",
5928 "properties": {
5929 "Node name for S&R": "PrimitiveInt",
5930 "cnr_id": "comfy-core",
5931 "ver": "0.24.0"
5932 },
5933 "widgets_values": [
5934 6,
5935 "fixed"
5936 ]
5937 },
5938 {
5939 "id": 229,
5940 "type": "PrimitiveFloat",
5941 "pos": [
5942 2090,
5943 3930
5944 ],
5945 "size": [
5946 270,
5947 110
5948 ],
5949 "flags": [],
5950 "order": 2,
5951 "mode": 0,
5952 "inputs": [],
5953 "outputs": [
5954 {
5955 "localized_name": "FLOAT",
5956 "name": "FLOAT",
5957 "type": "FLOAT",
5958 "links": [
5959 430
5960 ]
5961 }
5962 ],
5963 "title": "Float (CFG)",
5964 "properties": {
5965 "Node name for S&R": "PrimitiveFloat",
5966 "cnr_id": "comfy-core",
5967 "ver": "0.24.0"
5968 },
5969 "widgets_values": [
5970 1
5971 ]
5972 },
5973 {
5974 "id": 230,
5975 "type": "PrimitiveInt",
5976 "pos": [
5977 2090,
5978 3390
5979 ],
5980 "size": [
5981 270,
5982 110
5983 ],
5984 "flags": [],
5985 "order": 3,
5986 "mode": 0,
5987 "inputs": [],
5988 "outputs": [
5989 {
5990 "localized_name": "INT",
5991 "name": "INT",
5992 "type": "INT",
5993 "links": [
5994 426
5995 ]
5996 }
5997 ],
5998 "title": "Int (Steps)",
5999 "properties": {
6000 "Node name for S&R": "PrimitiveInt",
6001 "cnr_id": "comfy-core",
6002 "ver": "0.24.0"
6003 },
6004 "widgets_values": [
6005 40,
6006 "fixed"
6007 ]
6008 },
6009 {
6010 "id": 231,
6011 "type": "PrimitiveFloat",
6012 "pos": [
6013 2090,
6014 3540
6015 ],
6016 "size": [
6017 270,
6018 110
6019 ],
6020 "flags": [],
6021 "order": 4,
6022 "mode": 0,
6023 "inputs": [],
6024 "outputs": [
6025 {
6026 "localized_name": "FLOAT",
6027 "name": "FLOAT",
6028 "type": "FLOAT",
6029 "links": [
6030 429
6031 ]
6032 }
6033 ],
6034 "title": "Float (CFG)",
6035 "properties": {
6036 "Node name for S&R": "PrimitiveFloat",
6037 "cnr_id": "comfy-core",
6038 "ver": "0.24.0"
6039 },
6040 "widgets_values": [
6041 5
6042 ]
6043 },
6044 {
6045 "id": 232,
6046 "type": "ComfySwitchNode",
6047 "pos": [
6048 2430,
6049 3370
6050 ],
6051 "size": [
6052 270,
6053 130
6054 ],
6055 "flags": [],
6056 "order": 16,
6057 "mode": 0,
6058 "inputs": [
6059 {
6060 "localized_name": "on_false",
6061 "name": "on_false",
6062 "type": "MODEL",
6063 "link": 567
6064 },
6065 {
6066 "localized_name": "on_true",
6067 "name": "on_true",
6068 "type": "MODEL",
6069 "link": 425
6070 },
6071 {
6072 "localized_name": "switch",
6073 "name": "switch",
6074 "type": "BOOLEAN",
6075 "widget": {
6076 "name": "switch"
6077 },
6078 "link": 432
6079 }
6080 ],
6081 "outputs": [
6082 {
6083 "localized_name": "output",
6084 "name": "output",
6085 "type": "MODEL",
6086 "links": [
6087 424
6088 ]
6089 }
6090 ],
6091 "title": "Switch (Model)",
6092 "properties": {
6093 "Node name for S&R": "ComfySwitchNode",
6094 "cnr_id": "comfy-core",
6095 "ver": "0.24.0"
6096 },
6097 "widgets_values": [
6098 false
6099 ]
6100 },
6101 {
6102 "id": 233,
6103 "type": "ComfySwitchNode",
6104 "pos": [
6105 2430,
6106 3560
6107 ],
6108 "size": [
6109 270,
6110 130
6111 ],
6112 "flags": [],
6113 "order": 17,
6114 "mode": 0,
6115 "inputs": [
6116 {
6117 "localized_name": "on_false",
6118 "name": "on_false",
6119 "type": "INT",
6120 "link": 426
6121 },
6122 {
6123 "localized_name": "on_true",
6124 "name": "on_true",
6125 "type": "INT",
6126 "link": 427
6127 },
6128 {
6129 "localized_name": "switch",
6130 "name": "switch",
6131 "type": "BOOLEAN",
6132 "widget": {
6133 "name": "switch"
6134 },
6135 "link": 433
6136 }
6137 ],
6138 "outputs": [
6139 {
6140 "localized_name": "output",
6141 "name": "output",
6142 "type": "INT",
6143 "links": [
6144 428
6145 ]
6146 }
6147 ],
6148 "title": "Switch (Steps)",
6149 "properties": {
6150 "Node name for S&R": "ComfySwitchNode",
6151 "cnr_id": "comfy-core",
6152 "ver": "0.24.0"
6153 },
6154 "widgets_values": [
6155 false
6156 ]
6157 },
6158 {
6159 "id": 234,
6160 "type": "ComfySwitchNode",
6161 "pos": [
6162 2430,
6163 3740
6164 ],
6165 "size": [
6166 270,
6167 130
6168 ],
6169 "flags": [],
6170 "order": 18,
6171 "mode": 0,
6172 "inputs": [
6173 {
6174 "localized_name": "on_false",
6175 "name": "on_false",
6176 "type": "FLOAT",
6177 "link": 429
6178 },
6179 {
6180 "localized_name": "on_true",
6181 "name": "on_true",
6182 "type": "FLOAT",
6183 "link": 430
6184 },
6185 {
6186 "localized_name": "switch",
6187 "name": "switch",
6188 "type": "BOOLEAN",
6189 "widget": {
6190 "name": "switch"
6191 },
6192 "link": 434
6193 }
6194 ],
6195 "outputs": [
6196 {
6197 "localized_name": "output",
6198 "name": "output",
6199 "type": "FLOAT",
6200 "links": [
6201 431
6202 ]
6203 }
6204 ],
6205 "title": "Switch (Steps)",
6206 "properties": {
6207 "Node name for S&R": "ComfySwitchNode",
6208 "cnr_id": "comfy-core",
6209 "ver": "0.24.0"
6210 },
6211 "widgets_values": [
6212 false
6213 ]
6214 },
6215 {
6216 "id": 235,
6217 "type": "ImageFromBatch",
6218 "pos": [
6219 880,
6220 4510
6221 ],
6222 "size": [
6223 270,
6224 140
6225 ],
6226 "flags": [],
6227 "order": 19,
6228 "mode": 0,
6229 "inputs": [
6230 {
6231 "localized_name": "image",
6232 "name": "image",
6233 "type": "IMAGE",
6234 "link": 490
6235 },
6236 {
6237 "localized_name": "batch_index",
6238 "name": "batch_index",
6239 "type": "INT",
6240 "widget": {
6241 "name": "batch_index"
6242 },
6243 "link": 450
6244 },
6245 {
6246 "localized_name": "length",
6247 "name": "length",
6248 "type": "INT",
6249 "widget": {
6250 "name": "length"
6251 },
6252 "link": 550
6253 }
6254 ],
6255 "outputs": [
6256 {
6257 "localized_name": "IMAGE",
6258 "name": "IMAGE",
6259 "type": "IMAGE",
6260 "links": [
6261 491
6262 ]
6263 }
6264 ],
6265 "properties": {
6266 "Node name for S&R": "ImageFromBatch",
6267 "cnr_id": "comfy-core",
6268 "ver": "0.24.0"
6269 },
6270 "widgets_values": [
6271 0,
6272 81
6273 ]
6274 },
6275 {
6276 "id": 236,
6277 "type": "PrimitiveInt",
6278 "pos": [
6279 250,
6280 4840
6281 ],
6282 "size": [
6283 270,
6284 110
6285 ],
6286 "flags": [],
6287 "order": 20,
6288 "mode": 0,
6289 "inputs": [
6290 {
6291 "localized_name": "value",
6292 "name": "value",
6293 "type": "INT",
6294 "widget": {
6295 "name": "value"
6296 },
6297 "link": 505
6298 }
6299 ],
6300 "outputs": [
6301 {
6302 "localized_name": "INT",
6303 "name": "INT",
6304 "type": "INT",
6305 "links": [
6306 441
6307 ]
6308 }
6309 ],
6310 "title": "Int (Width)",
6311 "properties": {
6312 "Node name for S&R": "PrimitiveInt",
6313 "cnr_id": "comfy-core",
6314 "ver": "0.24.0"
6315 },
6316 "widgets_values": [
6317 896,
6318 "fixed"
6319 ]
6320 },
6321 {
6322 "id": 237,
6323 "type": "PrimitiveInt",
6324 "pos": [
6325 250,
6326 5020
6327 ],
6328 "size": [
6329 270,
6330 110
6331 ],
6332 "flags": [],
6333 "order": 21,
6334 "mode": 0,
6335 "inputs": [
6336 {
6337 "localized_name": "value",
6338 "name": "value",
6339 "type": "INT",
6340 "widget": {
6341 "name": "value"
6342 },
6343 "link": 506
6344 }
6345 ],
6346 "outputs": [
6347 {
6348 "localized_name": "INT",
6349 "name": "INT",
6350 "type": "INT",
6351 "links": [
6352 445
6353 ]
6354 }
6355 ],
6356 "title": "Int (Height)",
6357 "properties": {
6358 "Node name for S&R": "PrimitiveInt",
6359 "cnr_id": "comfy-core",
6360 "ver": "0.24.0"
6361 },
6362 "widgets_values": [
6363 512,
6364 "fixed"
6365 ]
6366 },
6367 {
6368 "id": 238,
6369 "type": "ComfyMathExpression",
6370 "pos": [
6371 560,
6372 4850
6373 ],
6374 "size": [
6375 230,
6376 190
6377 ],
6378 "flags": {
6379 "collapsed": false
6380 },
6381 "order": 22,
6382 "mode": 0,
6383 "inputs": [
6384 {
6385 "label": "a",
6386 "localized_name": "values.a",
6387 "name": "values.a",
6388 "type": "FLOAT,INT,BOOLEAN",
6389 "link": 441
6390 },
6391 {
6392 "label": "b",
6393 "localized_name": "values.b",
6394 "name": "values.b",
6395 "shape": 7,
6396 "type": "FLOAT,INT,BOOLEAN",
6397 "link": null
6398 }
6399 ],
6400 "outputs": [
6401 {
6402 "localized_name": "FLOAT",
6403 "name": "FLOAT",
6404 "type": "FLOAT",
6405 "links": []
6406 },
6407 {
6408 "localized_name": "INT",
6409 "name": "INT",
6410 "type": "INT",
6411 "links": [
6412 444
6413 ]
6414 },
6415 {
6416 "localized_name": "BOOL",
6417 "name": "BOOL",
6418 "type": "BOOLEAN",
6419 "links": null
6420 }
6421 ],
6422 "properties": {
6423 "Node name for S&R": "ComfyMathExpression",
6424 "cnr_id": "comfy-core",
6425 "ver": "0.24.0"
6426 },
6427 "widgets_values": [
6428 "(a // 32) * 32"
6429 ]
6430 },
6431 {
6432 "id": 239,
6433 "type": "ComfyMathExpression",
6434 "pos": [
6435 870,
6436 5020
6437 ],
6438 "size": [
6439 230,
6440 80
6441 ],
6442 "flags": {
6443 "collapsed": true
6444 },
6445 "order": 23,
6446 "mode": 0,
6447 "inputs": [
6448 {
6449 "label": "a",
6450 "localized_name": "values.a",
6451 "name": "values.a",
6452 "type": "FLOAT,INT,BOOLEAN",
6453 "link": 445
6454 },
6455 {
6456 "label": "b",
6457 "localized_name": "values.b",
6458 "name": "values.b",
6459 "shape": 7,
6460 "type": "FLOAT,INT,BOOLEAN",
6461 "link": null
6462 }
6463 ],
6464 "outputs": [
6465 {
6466 "localized_name": "FLOAT",
6467 "name": "FLOAT",
6468 "type": "FLOAT",
6469 "links": []
6470 },
6471 {
6472 "localized_name": "INT",
6473 "name": "INT",
6474 "type": "INT",
6475 "links": [
6476 446
6477 ]
6478 },
6479 {
6480 "localized_name": "BOOL",
6481 "name": "BOOL",
6482 "type": "BOOLEAN",
6483 "links": null
6484 }
6485 ],
6486 "properties": {
6487 "Node name for S&R": "ComfyMathExpression",
6488 "cnr_id": "comfy-core",
6489 "ver": "0.24.0"
6490 },
6491 "widgets_values": [
6492 "(a // 32) * 32"
6493 ]
6494 },
6495 {
6496 "id": 240,
6497 "type": "PrimitiveInt",
6498 "pos": [
6499 270,
6500 4580
6501 ],
6502 "size": [
6503 270,
6504 110
6505 ],
6506 "flags": [],
6507 "order": 24,
6508 "mode": 0,
6509 "inputs": [
6510 {
6511 "localized_name": "value",
6512 "name": "value",
6513 "type": "INT",
6514 "widget": {
6515 "name": "value"
6516 },
6517 "link": 502
6518 }
6519 ],
6520 "outputs": [
6521 {
6522 "localized_name": "INT",
6523 "name": "INT",
6524 "type": "INT",
6525 "links": [
6526 447
6527 ]
6528 }
6529 ],
6530 "title": "Int (segment index)",
6531 "properties": {
6532 "Node name for S&R": "PrimitiveInt",
6533 "cnr_id": "comfy-core",
6534 "ver": "0.24.0"
6535 },
6536 "widgets_values": [
6537 2,
6538 "fixed"
6539 ]
6540 },
6541 {
6542 "id": 241,
6543 "type": "ComfyMathExpression",
6544 "pos": [
6545 570,
6546 4510
6547 ],
6548 "size": [
6549 230,
6550 220
6551 ],
6552 "flags": {
6553 "collapsed": false
6554 },
6555 "order": 25,
6556 "mode": 0,
6557 "inputs": [
6558 {
6559 "label": "a",
6560 "localized_name": "values.a",
6561 "name": "values.a",
6562 "type": "FLOAT,INT,BOOLEAN",
6563 "link": 447
6564 },
6565 {
6566 "label": "b",
6567 "localized_name": "values.b",
6568 "name": "values.b",
6569 "shape": 7,
6570 "type": "FLOAT,INT,BOOLEAN",
6571 "link": 557
6572 },
6573 {
6574 "label": "c",
6575 "localized_name": "values.c",
6576 "name": "values.c",
6577 "shape": 7,
6578 "type": "FLOAT,INT,BOOLEAN",
6579 "link": 556
6580 },
6581 {
6582 "label": "d",
6583 "localized_name": "values.d",
6584 "name": "values.d",
6585 "shape": 7,
6586 "type": "FLOAT,INT,BOOLEAN",
6587 "link": null
6588 }
6589 ],
6590 "outputs": [
6591 {
6592 "localized_name": "FLOAT",
6593 "name": "FLOAT",
6594 "type": "FLOAT",
6595 "links": null
6596 },
6597 {
6598 "localized_name": "INT",
6599 "name": "INT",
6600 "type": "INT",
6601 "links": [
6602 450
6603 ]
6604 },
6605 {
6606 "localized_name": "BOOL",
6607 "name": "BOOL",
6608 "type": "BOOLEAN",
6609 "links": null
6610 }
6611 ],
6612 "properties": {
6613 "Node name for S&R": "ComfyMathExpression",
6614 "cnr_id": "comfy-core",
6615 "ver": "0.24.0"
6616 },
6617 "widgets_values": [
6618 "(b - c) * (a - 1)"
6619 ]
6620 },
6621 {
6622 "id": 242,
6623 "type": "CLIPTextEncode",
6624 "pos": [
6625 660,
6626 5380
6627 ],
6628 "size": [
6629 380,
6630 160
6631 ],
6632 "flags": [],
6633 "order": 26,
6634 "mode": 0,
6635 "inputs": [
6636 {
6637 "localized_name": "clip",
6638 "name": "clip",
6639 "type": "CLIP",
6640 "link": 454
6641 },
6642 {
6643 "localized_name": "text",
6644 "name": "text",
6645 "type": "STRING",
6646 "widget": {
6647 "name": "text"
6648 },
6649 "link": 513
6650 }
6651 ],
6652 "outputs": [
6653 {
6654 "localized_name": "CONDITIONING",
6655 "name": "CONDITIONING",
6656 "type": "CONDITIONING",
6657 "links": [
6658 461
6659 ]
6660 }
6661 ],
6662 "properties": {
6663 "Node name for S&R": "CLIPTextEncode",
6664 "cnr_id": "comfy-core",
6665 "ver": "0.19.3",
6666 "enableTabs": false,
6667 "hasSecondTab": false,
6668 "secondTabOffset": 80,
6669 "secondTabText": "Send Back",
6670 "secondTabWidth": 65,
6671 "tabWidth": 65,
6672 "tabXOffset": 10
6673 },
6674 "widgets_values": [
6675 "girl, handkerchief"
6676 ]
6677 },
6678 {
6679 "id": 243,
6680 "type": "CheckpointLoaderSimple",
6681 "pos": [
6682 270,
6683 5360
6684 ],
6685 "size": [
6686 330,
6687 160
6688 ],
6689 "flags": [],
6690 "order": 27,
6691 "mode": 0,
6692 "inputs": [
6693 {
6694 "localized_name": "ckpt_name",
6695 "name": "ckpt_name",
6696 "type": "COMBO",
6697 "widget": {
6698 "name": "ckpt_name"
6699 },
6700 "link": 515
6701 }
6702 ],
6703 "outputs": [
6704 {
6705 "localized_name": "MODEL",
6706 "name": "MODEL",
6707 "type": "MODEL",
6708 "links": [
6709 458,
6710 463
6711 ]
6712 },
6713 {
6714 "localized_name": "CLIP",
6715 "name": "CLIP",
6716 "type": "CLIP",
6717 "links": [
6718 454,
6719 489
6720 ]
6721 },
6722 {
6723 "localized_name": "VAE",
6724 "name": "VAE",
6725 "type": "VAE",
6726 "links": []
6727 }
6728 ],
6729 "properties": {
6730 "Node name for S&R": "CheckpointLoaderSimple",
6731 "cnr_id": "comfy-core",
6732 "ver": "0.19.3",
6733 "models": [
6734 {
6735 "name": "sam3.1_multiplex_fp16.safetensors",
6736 "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors",
6737 "directory": "checkpoints"
6738 }
6739 ],
6740 "enableTabs": false,
6741 "hasSecondTab": false,
6742 "secondTabOffset": 80,
6743 "secondTabText": "Send Back",
6744 "secondTabWidth": 65,
6745 "tabWidth": 65,
6746 "tabXOffset": 10
6747 },
6748 "widgets_values": [
6749 "sam3.1_multiplex_fp16.safetensors"
6750 ]
6751 },
6752 {
6753 "id": 244,
6754 "type": "SAM3_VideoTrack",
6755 "pos": [
6756 1190,
6757 5340
6758 ],
6759 "size": [
6760 280,
6761 250
6762 ],
6763 "flags": [],
6764 "order": 28,
6765 "mode": 0,
6766 "inputs": [
6767 {
6768 "label": "images",
6769 "localized_name": "images",
6770 "name": "images",
6771 "type": "IMAGE",
6772 "link": 493
6773 },
6774 {
6775 "label": "model",
6776 "localized_name": "model",
6777 "name": "model",
6778 "type": "MODEL",
6779 "link": 458
6780 },
6781 {
6782 "label": "initial_mask",
6783 "localized_name": "initial_mask",
6784 "name": "initial_mask",
6785 "shape": 7,
6786 "type": "MASK",
6787 "link": null
6788 },
6789 {
6790 "label": "conditioning",
6791 "localized_name": "conditioning",
6792 "name": "conditioning",
6793 "shape": 7,
6794 "type": "CONDITIONING",
6795 "link": 461
6796 }
6797 ],
6798 "outputs": [
6799 {
6800 "localized_name": "track_data",
6801 "name": "track_data",
6802 "type": "SAM3_TRACK_DATA",
6803 "links": [
6804 460
6805 ]
6806 }
6807 ],
6808 "properties": {
6809 "Node name for S&R": "SAM3_VideoTrack",
6810 "cnr_id": "comfy-core",
6811 "ver": "0.24.0"
6812 },
6813 "widgets_values": [
6814 0.5,
6815 4,
6816 1
6817 ]
6818 },
6819 {
6820 "id": 245,
6821 "type": "SCAIL2ColoredMask",
6822 "pos": [
6823 1550,
6824 5490
6825 ],
6826 "size": [
6827 370,
6828 200
6829 ],
6830 "flags": [],
6831 "order": 29,
6832 "mode": 0,
6833 "inputs": [
6834 {
6835 "localized_name": "driving_track_data",
6836 "name": "driving_track_data",
6837 "type": "SAM3_TRACK_DATA",
6838 "link": 460
6839 },
6840 {
6841 "localized_name": "ref_track_data",
6842 "name": "ref_track_data",
6843 "shape": 7,
6844 "type": "SAM3_TRACK_DATA,MASK",
6845 "link": 464
6846 },
6847 {
6848 "localized_name": "replacement_mode",
6849 "name": "replacement_mode",
6850 "type": "BOOLEAN",
6851 "widget": {
6852 "name": "replacement_mode"
6853 },
6854 "link": 476
6855 }
6856 ],
6857 "outputs": [
6858 {
6859 "localized_name": "pose_video_mask",
6860 "name": "pose_video_mask",
6861 "type": "IMAGE",
6862 "links": [
6863 466,
6864 467
6865 ]
6866 },
6867 {
6868 "localized_name": "reference_image_mask",
6869 "name": "reference_image_mask",
6870 "type": "IMAGE",
6871 "links": [
6872 465,
6873 472
6874 ]
6875 }
6876 ],
6877 "properties": {
6878 "Node name for S&R": "SCAIL2ColoredMask",
6879 "cnr_id": "comfy-core",
6880 "ver": "0.24.0"
6881 },
6882 "widgets_values": [
6883 "",
6884 "left_to_right",
6885 true
6886 ]
6887 },
6888 {
6889 "id": 246,
6890 "type": "SAM3_VideoTrack",
6891 "pos": [
6892 1190,
6893 5640
6894 ],
6895 "size": [
6896 280,
6897 250
6898 ],
6899 "flags": [],
6900 "order": 30,
6901 "mode": 0,
6902 "inputs": [
6903 {
6904 "label": "images",
6905 "localized_name": "images",
6906 "name": "images",
6907 "type": "IMAGE",
6908 "link": 469
6909 },
6910 {
6911 "label": "model",
6912 "localized_name": "model",
6913 "name": "model",
6914 "type": "MODEL",
6915 "link": 463
6916 },
6917 {
6918 "label": "initial_mask",
6919 "localized_name": "initial_mask",
6920 "name": "initial_mask",
6921 "shape": 7,
6922 "type": "MASK",
6923 "link": null
6924 },
6925 {
6926 "label": "conditioning",
6927 "localized_name": "conditioning",
6928 "name": "conditioning",
6929 "shape": 7,
6930 "type": "CONDITIONING",
6931 "link": 488
6932 }
6933 ],
6934 "outputs": [
6935 {
6936 "localized_name": "track_data",
6937 "name": "track_data",
6938 "type": "SAM3_TRACK_DATA",
6939 "links": [
6940 464
6941 ]
6942 }
6943 ],
6944 "properties": {
6945 "Node name for S&R": "SAM3_VideoTrack",
6946 "cnr_id": "comfy-core",
6947 "ver": "0.24.0"
6948 },
6949 "widgets_values": [
6950 0.5,
6951 4,
6952 1
6953 ]
6954 },
6955 {
6956 "id": 247,
6957 "type": "PrimitiveBoolean",
6958 "pos": [
6959 1660,
6960 4030
6961 ],
6962 "size": [
6963 270,
6964 110
6965 ],
6966 "flags": [],
6967 "order": 31,
6968 "mode": 0,
6969 "inputs": [
6970 {
6971 "localized_name": "value",
6972 "name": "value",
6973 "type": "BOOLEAN",
6974 "widget": {
6975 "name": "value"
6976 },
6977 "link": 504
6978 }
6979 ],
6980 "outputs": [
6981 {
6982 "localized_name": "BOOLEAN",
6983 "name": "BOOLEAN",
6984 "type": "BOOLEAN",
6985 "links": [
6986 475,
6987 476
6988 ]
6989 }
6990 ],
6991 "title": "Boolean (Replace Mode)",
6992 "properties": {
6993 "Node name for S&R": "PrimitiveBoolean",
6994 "cnr_id": "comfy-core",
6995 "ver": "0.24.0"
6996 },
6997 "widgets_values": [
6998 true
6999 ]
7000 },
7001 {
7002 "id": 248,
7003 "type": "PreviewImage",
7004 "pos": [
7005 2060,
7006 4500
7007 ],
7008 "size": [
7009 350,
7010 1190
7011 ],
7012 "flags": [],
7013 "order": 32,
7014 "mode": 4,
7015 "inputs": [
7016 {
7017 "localized_name": "images",
7018 "name": "images",
7019 "type": "IMAGE",
7020 "link": 466
7021 }
7022 ],
7023 "outputs": [
7024 {
7025 "localized_name": "images",
7026 "name": "images",
7027 "type": "IMAGE",
7028 "links": null
7029 }
7030 ],
7031 "properties": {
7032 "Node name for S&R": "PreviewImage",
7033 "cnr_id": "comfy-core",
7034 "ver": "0.24.0"
7035 },
7036 "widgets_values": []
7037 },
7038 {
7039 "id": 249,
7040 "type": "PreviewImage",
7041 "pos": [
7042 2460,
7043 4500
7044 ],
7045 "size": [
7046 230,
7047 310
7048 ],
7049 "flags": [],
7050 "order": 33,
7051 "mode": 4,
7052 "inputs": [
7053 {
7054 "localized_name": "images",
7055 "name": "images",
7056 "type": "IMAGE",
7057 "link": 465
7058 }
7059 ],
7060 "outputs": [
7061 {
7062 "localized_name": "images",
7063 "name": "images",
7064 "type": "IMAGE",
7065 "links": null
7066 }
7067 ],
7068 "properties": {
7069 "Node name for S&R": "PreviewImage",
7070 "cnr_id": "comfy-core",
7071 "ver": "0.24.0"
7072 },
7073 "widgets_values": []
7074 },
7075 {
7076 "id": 250,
7077 "type": "VAEDecode",
7078 "pos": [
7079 2920,
7080 4510
7081 ],
7082 "size": [
7083 270,
7084 100
7085 ],
7086 "flags": {
7087 "collapsed": false
7088 },
7089 "order": 34,
7090 "mode": 0,
7091 "inputs": [
7092 {
7093 "localized_name": "samples",
7094 "name": "samples",
7095 "type": "LATENT",
7096 "link": 124
7097 },
7098 {
7099 "localized_name": "vae",
7100 "name": "vae",
7101 "type": "VAE",
7102 "link": 407
7103 }
7104 ],
7105 "outputs": [
7106 {
7107 "localized_name": "IMAGE",
7108 "name": "IMAGE",
7109 "type": "IMAGE",
7110 "links": [
7111 483
7112 ]
7113 }
7114 ],
7115 "properties": {
7116 "Node name for S&R": "VAEDecode",
7117 "cnr_id": "comfy-core",
7118 "ver": "0.24.0"
7119 },
7120 "widgets_values": []
7121 },
7122 {
7123 "id": 251,
7124 "type": "ImageFromBatch",
7125 "pos": [
7126 2920,
7127 4680
7128 ],
7129 "size": [
7130 270,
7131 140
7132 ],
7133 "flags": [],
7134 "order": 35,
7135 "mode": 0,
7136 "inputs": [
7137 {
7138 "localized_name": "image",
7139 "name": "image",
7140 "type": "IMAGE",
7141 "link": 483
7142 }
7143 ],
7144 "outputs": [
7145 {
7146 "localized_name": "IMAGE",
7147 "name": "IMAGE",
7148 "type": "IMAGE",
7149 "links": [
7150 484
7151 ]
7152 }
7153 ],
7154 "properties": {
7155 "Node name for S&R": "ImageFromBatch",
7156 "cnr_id": "comfy-core",
7157 "ver": "0.24.0"
7158 },
7159 "widgets_values": [
7160 5,
7161 4096
7162 ]
7163 },
7164 {
7165 "id": 252,
7166 "type": "ColorTransfer",
7167 "pos": [
7168 2920,
7169 5050
7170 ],
7171 "size": [
7172 270,
7173 130
7174 ],
7175 "flags": [],
7176 "order": 36,
7177 "mode": 0,
7178 "inputs": [
7179 {
7180 "localized_name": "image_target",
7181 "name": "image_target",
7182 "type": "IMAGE",
7183 "link": 484
7184 },
7185 {
7186 "localized_name": "image_ref",
7187 "name": "image_ref",
7188 "type": "IMAGE",
7189 "link": 482
7190 }
7191 ],
7192 "outputs": [
7193 {
7194 "localized_name": "image",
7195 "name": "image",
7196 "type": "IMAGE",
7197 "links": [
7198 546
7199 ]
7200 }
7201 ],
7202 "properties": {
7203 "Node name for S&R": "ColorTransfer",
7204 "cnr_id": "comfy-core",
7205 "ver": "0.24.0"
7206 },
7207 "widgets_values": [
7208 "reinhard_lab",
7209 "per_frame",
7210 1
7211 ]
7212 },
7213 {
7214 "id": 253,
7215 "type": "ImageFromBatch",
7216 "pos": [
7217 2920,
7218 4870
7219 ],
7220 "size": [
7221 270,
7222 140
7223 ],
7224 "flags": [],
7225 "order": 37,
7226 "mode": 0,
7227 "inputs": [
7228 {
7229 "localized_name": "image",
7230 "name": "image",
7231 "type": "IMAGE",
7232 "link": 486
7233 }
7234 ],
7235 "outputs": [
7236 {
7237 "localized_name": "IMAGE",
7238 "name": "IMAGE",
7239 "type": "IMAGE",
7240 "links": [
7241 482
7242 ]
7243 }
7244 ],
7245 "properties": {
7246 "Node name for S&R": "ImageFromBatch",
7247 "cnr_id": "comfy-core",
7248 "ver": "0.24.0"
7249 },
7250 "widgets_values": [
7251 -1,
7252 1
7253 ]
7254 },
7255 {
7256 "id": 255,
7257 "type": "PrimitiveBoolean",
7258 "pos": [
7259 2440,
7260 3950
7261 ],
7262 "size": [
7263 270,
7264 110
7265 ],
7266 "flags": [],
7267 "order": 38,
7268 "mode": 0,
7269 "inputs": [
7270 {
7271 "localized_name": "value",
7272 "name": "value",
7273 "type": "BOOLEAN",
7274 "widget": {
7275 "name": "value"
7276 },
7277 "link": 507
7278 }
7279 ],
7280 "outputs": [
7281 {
7282 "localized_name": "BOOLEAN",
7283 "name": "BOOLEAN",
7284 "type": "BOOLEAN",
7285 "links": [
7286 432,
7287 433,
7288 434
7289 ]
7290 }
7291 ],
7292 "title": "Boolean (Enable Distill LoRA?)",
7293 "properties": {
7294 "Node name for S&R": "PrimitiveBoolean",
7295 "cnr_id": "comfy-core",
7296 "ver": "0.24.0"
7297 },
7298 "widgets_values": [
7299 true
7300 ]
7301 },
7302 {
7303 "id": 256,
7304 "type": "CLIPVisionEncode",
7305 "pos": [
7306 1230,
7307 4310
7308 ],
7309 "size": [
7310 230,
7311 60
7312 ],
7313 "flags": {
7314 "collapsed": true
7315 },
7316 "order": 39,
7317 "mode": 0,
7318 "inputs": [
7319 {
7320 "localized_name": "clip_vision",
7321 "name": "clip_vision",
7322 "type": "CLIP_VISION",
7323 "link": 196
7324 },
7325 {
7326 "localized_name": "image",
7327 "name": "image",
7328 "type": "IMAGE",
7329 "link": 408
7330 }
7331 ],
7332 "outputs": [
7333 {
7334 "localized_name": "CLIP_VISION_OUTPUT",
7335 "name": "CLIP_VISION_OUTPUT",
7336 "type": "CLIP_VISION_OUTPUT",
7337 "links": [
7338 404
7339 ]
7340 }
7341 ],
7342 "properties": {
7343 "Node name for S&R": "CLIPVisionEncode",
7344 "cnr_id": "comfy-core",
7345 "ver": "0.24.0"
7346 },
7347 "widgets_values": [
7348 "none"
7349 ]
7350 },
7351 {
7352 "id": 257,
7353 "type": "CLIPTextEncode",
7354 "pos": [
7355 1030,
7356 4020
7357 ],
7358 "size": [
7359 520,
7360 210
7361 ],
7362 "flags": [],
7363 "order": 40,
7364 "mode": 0,
7365 "inputs": [
7366 {
7367 "localized_name": "clip",
7368 "name": "clip",
7369 "type": "CLIP",
7370 "link": 8
7371 }
7372 ],
7373 "outputs": [
7374 {
7375 "localized_name": "CONDITIONING",
7376 "name": "CONDITIONING",
7377 "type": "CONDITIONING",
7378 "links": [
7379 326
7380 ]
7381 }
7382 ],
7383 "properties": {
7384 "Node name for S&R": "CLIPTextEncode",
7385 "cnr_id": "comfy-core",
7386 "ver": "0.24.0"
7387 },
7388 "widgets_values": [
7389 ""
7390 ],
7391 "color": "#223",
7392 "bgcolor": "#335"
7393 },
7394 {
7395 "id": 258,
7396 "type": "CLIPTextEncode",
7397 "pos": [
7398 1020,
7399 3180
7400 ],
7401 "size": [
7402 520,
7403 720
7404 ],
7405 "flags": [],
7406 "order": 41,
7407 "mode": 0,
7408 "inputs": [
7409 {
7410 "localized_name": "clip",
7411 "name": "clip",
7412 "type": "CLIP",
7413 "link": 7
7414 },
7415 {
7416 "localized_name": "text",
7417 "name": "text",
7418 "type": "STRING",
7419 "widget": {
7420 "name": "text"
7421 },
7422 "link": 499
7423 }
7424 ],
7425 "outputs": [
7426 {
7427 "localized_name": "CONDITIONING",
7428 "name": "CONDITIONING",
7429 "type": "CONDITIONING",
7430 "links": [
7431 325
7432 ]
7433 }
7434 ],
7435 "properties": {
7436 "Node name for S&R": "CLIPTextEncode",
7437 "cnr_id": "comfy-core",
7438 "ver": "0.24.0"
7439 },
7440 "widgets_values": [
7441 "A young East Asian woman with dark hair neatly pulled back, wearing a white sleeveless ribbed mock-neck top, is standing in a lush apple orchard. She holds a large glossy red apple with both hands, using a white paper handkerchief to wipe and clean the apple before smelling and eating it with her eyes closed and a blissful expression. Ripe red and yellow apples hang from leafy branches in the foreground, with rows of green apple trees softly blurred in the background under natural daylight."
7442 ],
7443 "color": "#232",
7444 "bgcolor": "#353"
7445 },
7446 {
7447 "id": 259,
7448 "type": "WanSCAILToVideo",
7449 "pos": [
7450 1650,
7451 3310
7452 ],
7453 "size": [
7454 310,
7455 580
7456 ],
7457 "flags": [],
7458 "order": 42,
7459 "mode": 0,
7460 "inputs": [
7461 {
7462 "localized_name": "positive",
7463 "name": "positive",
7464 "type": "CONDITIONING",
7465 "link": 325
7466 },
7467 {
7468 "localized_name": "negative",
7469 "name": "negative",
7470 "type": "CONDITIONING",
7471 "link": 326
7472 },
7473 {
7474 "localized_name": "vae",
7475 "name": "vae",
7476 "type": "VAE",
7477 "link": 406
7478 },
7479 {
7480 "localized_name": "pose_video",
7481 "name": "pose_video",
7482 "shape": 7,
7483 "type": "IMAGE",
7484 "link": 420
7485 },
7486 {
7487 "localized_name": "pose_video_mask",
7488 "name": "pose_video_mask",
7489 "shape": 7,
7490 "type": "IMAGE",
7491 "link": 467
7492 },
7493 {
7494 "localized_name": "reference_image",
7495 "name": "reference_image",
7496 "shape": 7,
7497 "type": "IMAGE",
7498 "link": 473
7499 },
7500 {
7501 "localized_name": "reference_image_mask",
7502 "name": "reference_image_mask",
7503 "shape": 7,
7504 "type": "IMAGE",
7505 "link": 472
7506 },
7507 {
7508 "localized_name": "clip_vision_output",
7509 "name": "clip_vision_output",
7510 "shape": 7,
7511 "type": "CLIP_VISION_OUTPUT",
7512 "link": 404
7513 },
7514 {
7515 "localized_name": "previous_frames",
7516 "name": "previous_frames",
7517 "shape": 7,
7518 "type": "IMAGE",
7519 "link": 485
7520 },
7521 {
7522 "localized_name": "width",
7523 "name": "width",
7524 "type": "INT",
7525 "widget": {
7526 "name": "width"
7527 },
7528 "link": 414
7529 },
7530 {
7531 "localized_name": "height",
7532 "name": "height",
7533 "type": "INT",
7534 "widget": {
7535 "name": "height"
7536 },
7537 "link": 415
7538 },
7539 {
7540 "localized_name": "length",
7541 "name": "length",
7542 "type": "INT",
7543 "widget": {
7544 "name": "length"
7545 },
7546 "link": 416
7547 },
7548 {
7549 "localized_name": "pose_strength",
7550 "name": "pose_strength",
7551 "type": "FLOAT",
7552 "widget": {
7553 "name": "pose_strength"
7554 },
7555 "link": 552
7556 },
7557 {
7558 "localized_name": "pose_start",
7559 "name": "pose_start",
7560 "type": "FLOAT",
7561 "widget": {
7562 "name": "pose_start"
7563 },
7564 "link": 553
7565 },
7566 {
7567 "localized_name": "pose_end",
7568 "name": "pose_end",
7569 "type": "FLOAT",
7570 "widget": {
7571 "name": "pose_end"
7572 },
7573 "link": 554
7574 },
7575 {
7576 "localized_name": "previous_frame_count",
7577 "name": "previous_frame_count",
7578 "type": "INT",
7579 "widget": {
7580 "name": "previous_frame_count"
7581 },
7582 "link": 551
7583 },
7584 {
7585 "localized_name": "replacement_mode",
7586 "name": "replacement_mode",
7587 "shape": 7,
7588 "type": "BOOLEAN",
7589 "widget": {
7590 "name": "replacement_mode"
7591 },
7592 "link": 475
7593 }
7594 ],
7595 "outputs": [
7596 {
7597 "localized_name": "positive",
7598 "name": "positive",
7599 "type": "CONDITIONING",
7600 "links": [
7601 333
7602 ]
7603 },
7604 {
7605 "localized_name": "negative",
7606 "name": "negative",
7607 "type": "CONDITIONING",
7608 "links": [
7609 334
7610 ]
7611 },
7612 {
7613 "localized_name": "latent",
7614 "name": "latent",
7615 "type": "LATENT",
7616 "links": [
7617 335
7618 ]
7619 },
7620 {
7621 "localized_name": "video_frame_offset",
7622 "name": "video_frame_offset",
7623 "type": "INT",
7624 "links": []
7625 }
7626 ],
7627 "properties": {
7628 "Node name for S&R": "WanSCAILToVideo",
7629 "cnr_id": "comfy-core",
7630 "ver": "0.24.0"
7631 },
7632 "widgets_values": [
7633 512,
7634 896,
7635 65,
7636 1,
7637 1,
7638 0,
7639 1,
7640 0,
7641 5,
7642 true
7643 ],
7644 "color": "#322",
7645 "bgcolor": "#533"
7646 },
7647 {
7648 "id": 261,
7649 "type": "CLIPTextEncode",
7650 "pos": [
7651 670,
7652 5710
7653 ],
7654 "size": [
7655 380,
7656 160
7657 ],
7658 "flags": [],
7659 "order": 43,
7660 "mode": 0,
7661 "inputs": [
7662 {
7663 "localized_name": "clip",
7664 "name": "clip",
7665 "type": "CLIP",
7666 "link": 489
7667 },
7668 {
7669 "localized_name": "text",
7670 "name": "text",
7671 "type": "STRING",
7672 "widget": {
7673 "name": "text"
7674 },
7675 "link": 514
7676 }
7677 ],
7678 "outputs": [
7679 {
7680 "localized_name": "CONDITIONING",
7681 "name": "CONDITIONING",
7682 "type": "CONDITIONING",
7683 "links": [
7684 488
7685 ]
7686 }
7687 ],
7688 "properties": {
7689 "Node name for S&R": "CLIPTextEncode",
7690 "cnr_id": "comfy-core",
7691 "ver": "0.19.3",
7692 "enableTabs": false,
7693 "hasSecondTab": false,
7694 "secondTabOffset": 80,
7695 "secondTabText": "Send Back",
7696 "secondTabWidth": 65,
7697 "tabWidth": 65,
7698 "tabXOffset": 10
7699 },
7700 "widgets_values": [
7701 "human"
7702 ]
7703 },
7704 {
7705 "id": 319,
7706 "type": "LoraLoaderModelOnly",
7707 "pos": [
7708 300,
7709 3390
7710 ],
7711 "size": [
7712 580,
7713 140
7714 ],
7715 "flags": [],
7716 "order": 44,
7717 "mode": 0,
7718 "inputs": [
7719 {
7720 "localized_name": "model",
7721 "name": "model",
7722 "type": "MODEL",
7723 "link": 568
7724 },
7725 {
7726 "localized_name": "lora_name",
7727 "name": "lora_name",
7728 "type": "COMBO",
7729 "widget": {
7730 "name": "lora_name"
7731 },
7732 "link": 569
7733 }
7734 ],
7735 "outputs": [
7736 {
7737 "localized_name": "MODEL",
7738 "name": "MODEL",
7739 "type": "MODEL",
7740 "links": [
7741 566,
7742 567
7743 ]
7744 }
7745 ],
7746 "properties": {
7747 "Node name for S&R": "LoraLoaderModelOnly",
7748 "cnr_id": "comfy-core",
7749 "ver": "0.24.0",
7750 "models": [
7751 {
7752 "name": "wan2.1_SCAIL_2_DPO_lora_bf16.safetensors",
7753 "url": "https://huggingface.co/Comfy-Org/SCAIL-2/resolve/main/loras/wan2.1_SCAIL_2_DPO_lora_bf16.safetensors",
7754 "directory": "loras"
7755 }
7756 ]
7757 },
7758 "widgets_values": [
7759 "wan2.1_SCAIL_2_DPO_lora_bf16.safetensors",
7760 1
7761 ]
7762 }
7763 ],
7764 "groups": [
7765 {
7766 "id": 3,
7767 "title": "Models",
7768 "bounding": [
7769 240,
7770 3100,
7771 720,
7772 1300
7773 ],
7774 "color": "#3f789e",
7775 "flags": []
7776 },
7777 {
7778 "id": 4,
7779 "title": "Prompt",
7780 "bounding": [
7781 990,
7782 3100,
7783 580,
7784 1300
7785 ],
7786 "color": "#3f789e",
7787 "flags": []
7788 },
7789 {
7790 "id": 5,
7791 "title": "Sampling",
7792 "bounding": [
7793 2770,
7794 3100,
7795 700,
7796 1300
7797 ],
7798 "color": "#3f789e",
7799 "flags": []
7800 },
7801 {
7802 "id": 6,
7803 "title": "SCAIL Conditioning",
7804 "bounding": [
7805 1590,
7806 3100,
7807 430,
7808 1300
7809 ],
7810 "color": "#3f789e",
7811 "flags": []
7812 },
7813 {
7814 "id": 9,
7815 "title": "Switch Settings",
7816 "bounding": [
7817 2050,
7818 3100,
7819 690,
7820 1300
7821 ],
7822 "color": "#3f789e",
7823 "flags": []
7824 },
7825 {
7826 "id": 7,
7827 "title": "Original Settings",
7828 "bounding": [
7829 2080,
7830 3330,
7831 300,
7832 340
7833 ],
7834 "color": "#3f789e",
7835 "flags": []
7836 },
7837 {
7838 "id": 8,
7839 "title": "Distill LoRA Settings",
7840 "bounding": [
7841 2080,
7842 3690,
7843 300,
7844 370
7845 ],
7846 "color": "#3f789e",
7847 "flags": []
7848 },
7849 {
7850 "id": 10,
7851 "title": "Create Mask",
7852 "bounding": [
7853 240,
7854 5250,
7855 1780,
7856 670
7857 ],
7858 "flags": []
7859 },
7860 {
7861 "id": 11,
7862 "title": "Resize Images",
7863 "bounding": [
7864 240,
7865 4770,
7866 1780,
7867 450
7868 ],
7869 "flags": []
7870 },
7871 {
7872 "id": 12,
7873 "title": "Trim Frames from Video",
7874 "bounding": [
7875 240,
7876 4430,
7877 1780,
7878 310
7879 ],
7880 "flags": []
7881 },
7882 {
7883 "id": 13,
7884 "title": "Preview Masks",
7885 "bounding": [
7886 2050,
7887 4430,
7888 690,
7889 1490
7890 ],
7891 "flags": []
7892 },
7893 {
7894 "id": 14,
7895 "title": "Group",
7896 "bounding": [
7897 2770,
7898 4430,
7899 700,
7900 1490
7901 ],
7902 "color": "#3f789e",
7903 "flags": []
7904 }
7905 ],
7906 "links": [
7907 {
7908 "id": 491,
7909 "origin_id": 235,
7910 "origin_slot": 0,
7911 "target_id": 218,
7912 "target_slot": 0,
7913 "type": "IMAGE"
7914 },
7915 {
7916 "id": 444,
7917 "origin_id": 238,
7918 "origin_slot": 1,
7919 "target_id": 218,
7920 "target_slot": 1,
7921 "type": "INT"
7922 },
7923 {
7924 "id": 446,
7925 "origin_id": 239,
7926 "origin_slot": 1,
7927 "target_id": 218,
7928 "target_slot": 2,
7929 "type": "INT"
7930 },
7931 {
7932 "id": 492,
7933 "origin_id": 218,
7934 "origin_slot": 0,
7935 "target_id": 220,
7936 "target_slot": 0,
7937 "type": "IMAGE"
7938 },
7939 {
7940 "id": 424,
7941 "origin_id": 232,
7942 "origin_slot": 0,
7943 "target_id": 224,
7944 "target_slot": 0,
7945 "type": "MODEL"
7946 },
7947 {
7948 "id": 398,
7949 "origin_id": 216,
7950 "origin_slot": 0,
7951 "target_id": 226,
7952 "target_slot": 0,
7953 "type": "MODEL"
7954 },
7955 {
7956 "id": 428,
7957 "origin_id": 233,
7958 "origin_slot": 0,
7959 "target_id": 226,
7960 "target_slot": 1,
7961 "type": "INT"
7962 },
7963 {
7964 "id": 417,
7965 "origin_id": 224,
7966 "origin_slot": 0,
7967 "target_id": 227,
7968 "target_slot": 0,
7969 "type": "MODEL"
7970 },
7971 {
7972 "id": 333,
7973 "origin_id": 259,
7974 "origin_slot": 0,
7975 "target_id": 227,
7976 "target_slot": 1,
7977 "type": "CONDITIONING"
7978 },
7979 {
7980 "id": 334,
7981 "origin_id": 259,
7982 "origin_slot": 1,
7983 "target_id": 227,
7984 "target_slot": 2,
7985 "type": "CONDITIONING"
7986 },
7987 {
7988 "id": 419,
7989 "origin_id": 225,
7990 "origin_slot": 0,
7991 "target_id": 227,
7992 "target_slot": 3,
7993 "type": "SAMPLER"
7994 },
7995 {
7996 "id": 418,
7997 "origin_id": 226,
7998 "origin_slot": 0,
7999 "target_id": 227,
8000 "target_slot": 4,
8001 "type": "SIGMAS"
8002 },
8003 {
8004 "id": 335,
8005 "origin_id": 259,
8006 "origin_slot": 2,
8007 "target_id": 227,
8008 "target_slot": 5,
8009 "type": "LATENT"
8010 },
8011 {
8012 "id": 431,
8013 "origin_id": 234,
8014 "origin_slot": 0,
8015 "target_id": 227,
8016 "target_slot": 7,
8017 "type": "FLOAT"
8018 },
8019 {
8020 "id": 425,
8021 "origin_id": 216,
8022 "origin_slot": 0,
8023 "target_id": 232,
8024 "target_slot": 1,
8025 "type": "MODEL"
8026 },
8027 {
8028 "id": 432,
8029 "origin_id": 255,
8030 "origin_slot": 0,
8031 "target_id": 232,
8032 "target_slot": 2,
8033 "type": "BOOLEAN"
8034 },
8035 {
8036 "id": 426,
8037 "origin_id": 230,
8038 "origin_slot": 0,
8039 "target_id": 233,
8040 "target_slot": 0,
8041 "type": "INT"
8042 },
8043 {
8044 "id": 427,
8045 "origin_id": 228,
8046 "origin_slot": 0,
8047 "target_id": 233,
8048 "target_slot": 1,
8049 "type": "INT"
8050 },
8051 {
8052 "id": 433,
8053 "origin_id": 255,
8054 "origin_slot": 0,
8055 "target_id": 233,
8056 "target_slot": 2,
8057 "type": "BOOLEAN"
8058 },
8059 {
8060 "id": 429,
8061 "origin_id": 231,
8062 "origin_slot": 0,
8063 "target_id": 234,
8064 "target_slot": 0,
8065 "type": "FLOAT"
8066 },
8067 {
8068 "id": 430,
8069 "origin_id": 229,
8070 "origin_slot": 0,
8071 "target_id": 234,
8072 "target_slot": 1,
8073 "type": "FLOAT"
8074 },
8075 {
8076 "id": 434,
8077 "origin_id": 255,
8078 "origin_slot": 0,
8079 "target_id": 234,
8080 "target_slot": 2,
8081 "type": "BOOLEAN"
8082 },
8083 {
8084 "id": 490,
8085 "origin_id": 219,
8086 "origin_slot": 0,
8087 "target_id": 235,
8088 "target_slot": 0,
8089 "type": "IMAGE"
8090 },
8091 {
8092 "id": 450,
8093 "origin_id": 241,
8094 "origin_slot": 1,
8095 "target_id": 235,
8096 "target_slot": 1,
8097 "type": "INT"
8098 },
8099 {
8100 "id": 441,
8101 "origin_id": 236,
8102 "origin_slot": 0,
8103 "target_id": 238,
8104 "target_slot": 0,
8105 "type": "INT"
8106 },
8107 {
8108 "id": 445,
8109 "origin_id": 237,
8110 "origin_slot": 0,
8111 "target_id": 239,
8112 "target_slot": 0,
8113 "type": "INT"
8114 },
8115 {
8116 "id": 447,
8117 "origin_id": 240,
8118 "origin_slot": 0,
8119 "target_id": 241,
8120 "target_slot": 0,
8121 "type": "INT"
8122 },
8123 {
8124 "id": 454,
8125 "origin_id": 243,
8126 "origin_slot": 1,
8127 "target_id": 242,
8128 "target_slot": 0,
8129 "type": "CLIP"
8130 },
8131 {
8132 "id": 493,
8133 "origin_id": 218,
8134 "origin_slot": 0,
8135 "target_id": 244,
8136 "target_slot": 0,
8137 "type": "IMAGE"
8138 },
8139 {
8140 "id": 458,
8141 "origin_id": 243,
8142 "origin_slot": 0,
8143 "target_id": 244,
8144 "target_slot": 1,
8145 "type": "MODEL"
8146 },
8147 {
8148 "id": 461,
8149 "origin_id": 242,
8150 "origin_slot": 0,
8151 "target_id": 244,
8152 "target_slot": 3,
8153 "type": "CONDITIONING"
8154 },
8155 {
8156 "id": 460,
8157 "origin_id": 244,
8158 "origin_slot": 0,
8159 "target_id": 245,
8160 "target_slot": 0,
8161 "type": "SAM3_TRACK_DATA"
8162 },
8163 {
8164 "id": 464,
8165 "origin_id": 246,
8166 "origin_slot": 0,
8167 "target_id": 245,
8168 "target_slot": 1,
8169 "type": "SAM3_TRACK_DATA"
8170 },
8171 {
8172 "id": 476,
8173 "origin_id": 247,
8174 "origin_slot": 0,
8175 "target_id": 245,
8176 "target_slot": 2,
8177 "type": "BOOLEAN"
8178 },
8179 {
8180 "id": 463,
8181 "origin_id": 243,
8182 "origin_slot": 0,
8183 "target_id": 246,
8184 "target_slot": 1,
8185 "type": "MODEL"
8186 },
8187 {
8188 "id": 488,
8189 "origin_id": 261,
8190 "origin_slot": 0,
8191 "target_id": 246,
8192 "target_slot": 3,
8193 "type": "CONDITIONING"
8194 },
8195 {
8196 "id": 466,
8197 "origin_id": 245,
8198 "origin_slot": 0,
8199 "target_id": 248,
8200 "target_slot": 0,
8201 "type": "IMAGE"
8202 },
8203 {
8204 "id": 465,
8205 "origin_id": 245,
8206 "origin_slot": 1,
8207 "target_id": 249,
8208 "target_slot": 0,
8209 "type": "IMAGE"
8210 },
8211 {
8212 "id": 124,
8213 "origin_id": 227,
8214 "origin_slot": 1,
8215 "target_id": 250,
8216 "target_slot": 0,
8217 "type": "LATENT"
8218 },
8219 {
8220 "id": 407,
8221 "origin_id": 217,
8222 "origin_slot": 0,
8223 "target_id": 250,
8224 "target_slot": 1,
8225 "type": "VAE"
8226 },
8227 {
8228 "id": 483,
8229 "origin_id": 250,
8230 "origin_slot": 0,
8231 "target_id": 251,
8232 "target_slot": 0,
8233 "type": "IMAGE"
8234 },
8235 {
8236 "id": 484,
8237 "origin_id": 251,
8238 "origin_slot": 0,
8239 "target_id": 252,
8240 "target_slot": 0,
8241 "type": "IMAGE"
8242 },
8243 {
8244 "id": 482,
8245 "origin_id": 253,
8246 "origin_slot": 0,
8247 "target_id": 252,
8248 "target_slot": 1,
8249 "type": "IMAGE"
8250 },
8251 {
8252 "id": 196,
8253 "origin_id": 222,
8254 "origin_slot": 0,
8255 "target_id": 256,
8256 "target_slot": 0,
8257 "type": "CLIP_VISION"
8258 },
8259 {
8260 "id": 8,
8261 "origin_id": 221,
8262 "origin_slot": 0,
8263 "target_id": 257,
8264 "target_slot": 0,
8265 "type": "CLIP"
8266 },
8267 {
8268 "id": 7,
8269 "origin_id": 221,
8270 "origin_slot": 0,
8271 "target_id": 258,
8272 "target_slot": 0,
8273 "type": "CLIP"
8274 },
8275 {
8276 "id": 325,
8277 "origin_id": 258,
8278 "origin_slot": 0,
8279 "target_id": 259,
8280 "target_slot": 0,
8281 "type": "CONDITIONING"
8282 },
8283 {
8284 "id": 326,
8285 "origin_id": 257,
8286 "origin_slot": 0,
8287 "target_id": 259,
8288 "target_slot": 1,
8289 "type": "CONDITIONING"
8290 },
8291 {
8292 "id": 406,
8293 "origin_id": 217,
8294 "origin_slot": 0,
8295 "target_id": 259,
8296 "target_slot": 2,
8297 "type": "VAE"
8298 },
8299 {
8300 "id": 420,
8301 "origin_id": 218,
8302 "origin_slot": 0,
8303 "target_id": 259,
8304 "target_slot": 3,
8305 "type": "IMAGE"
8306 },
8307 {
8308 "id": 467,
8309 "origin_id": 245,
8310 "origin_slot": 0,
8311 "target_id": 259,
8312 "target_slot": 4,
8313 "type": "IMAGE"
8314 },
8315 {
8316 "id": 472,
8317 "origin_id": 245,
8318 "origin_slot": 1,
8319 "target_id": 259,
8320 "target_slot": 6,
8321 "type": "IMAGE"
8322 },
8323 {
8324 "id": 404,
8325 "origin_id": 256,
8326 "origin_slot": 0,
8327 "target_id": 259,
8328 "target_slot": 7,
8329 "type": "CLIP_VISION_OUTPUT"
8330 },
8331 {
8332 "id": 414,
8333 "origin_id": 220,
8334 "origin_slot": 0,
8335 "target_id": 259,
8336 "target_slot": 9,
8337 "type": "INT"
8338 },
8339 {
8340 "id": 415,
8341 "origin_id": 220,
8342 "origin_slot": 1,
8343 "target_id": 259,
8344 "target_slot": 10,
8345 "type": "INT"
8346 },
8347 {
8348 "id": 416,
8349 "origin_id": 220,
8350 "origin_slot": 2,
8351 "target_id": 259,
8352 "target_slot": 11,
8353 "type": "INT"
8354 },
8355 {
8356 "id": 475,
8357 "origin_id": 247,
8358 "origin_slot": 0,
8359 "target_id": 259,
8360 "target_slot": 16,
8361 "type": "BOOLEAN"
8362 },
8363 {
8364 "id": 489,
8365 "origin_id": 243,
8366 "origin_slot": 1,
8367 "target_id": 261,
8368 "target_slot": 0,
8369 "type": "CLIP"
8370 },
8371 {
8372 "id": 409,
8373 "origin_id": -10,
8374 "origin_slot": 0,
8375 "target_id": 219,
8376 "target_slot": 0,
8377 "type": "VIDEO"
8378 },
8379 {
8380 "id": 469,
8381 "origin_id": -10,
8382 "origin_slot": 1,
8383 "target_id": 246,
8384 "target_slot": 0,
8385 "type": "IMAGE"
8386 },
8387 {
8388 "id": 408,
8389 "origin_id": -10,
8390 "origin_slot": 1,
8391 "target_id": 256,
8392 "target_slot": 1,
8393 "type": "IMAGE"
8394 },
8395 {
8396 "id": 473,
8397 "origin_id": -10,
8398 "origin_slot": 1,
8399 "target_id": 259,
8400 "target_slot": 5,
8401 "type": "IMAGE"
8402 },
8403 {
8404 "id": 486,
8405 "origin_id": -10,
8406 "origin_slot": 2,
8407 "target_id": 253,
8408 "target_slot": 0,
8409 "type": "IMAGE"
8410 },
8411 {
8412 "id": 485,
8413 "origin_id": -10,
8414 "origin_slot": 2,
8415 "target_id": 259,
8416 "target_slot": 8,
8417 "type": "IMAGE"
8418 },
8419 {
8420 "id": 499,
8421 "origin_id": -10,
8422 "origin_slot": 3,
8423 "target_id": 258,
8424 "target_slot": 1,
8425 "type": "STRING"
8426 },
8427 {
8428 "id": 502,
8429 "origin_id": -10,
8430 "origin_slot": 4,
8431 "target_id": 240,
8432 "target_slot": 0,
8433 "type": "INT"
8434 },
8435 {
8436 "id": 504,
8437 "origin_id": -10,
8438 "origin_slot": 5,
8439 "target_id": 247,
8440 "target_slot": 0,
8441 "type": "BOOLEAN"
8442 },
8443 {
8444 "id": 505,
8445 "origin_id": -10,
8446 "origin_slot": 6,
8447 "target_id": 236,
8448 "target_slot": 0,
8449 "type": "INT"
8450 },
8451 {
8452 "id": 506,
8453 "origin_id": -10,
8454 "origin_slot": 7,
8455 "target_id": 237,
8456 "target_slot": 0,
8457 "type": "INT"
8458 },
8459 {
8460 "id": 507,
8461 "origin_id": -10,
8462 "origin_slot": 13,
8463 "target_id": 255,
8464 "target_slot": 0,
8465 "type": "BOOLEAN"
8466 },
8467 {
8468 "id": 508,
8469 "origin_id": -10,
8470 "origin_slot": 14,
8471 "target_id": 223,
8472 "target_slot": 0,
8473 "type": "COMBO"
8474 },
8475 {
8476 "id": 509,
8477 "origin_id": -10,
8478 "origin_slot": 15,
8479 "target_id": 216,
8480 "target_slot": 1,
8481 "type": "COMBO"
8482 },
8483 {
8484 "id": 510,
8485 "origin_id": -10,
8486 "origin_slot": 17,
8487 "target_id": 221,
8488 "target_slot": 0,
8489 "type": "COMBO"
8490 },
8491 {
8492 "id": 511,
8493 "origin_id": -10,
8494 "origin_slot": 18,
8495 "target_id": 217,
8496 "target_slot": 0,
8497 "type": "COMBO"
8498 },
8499 {
8500 "id": 512,
8501 "origin_id": -10,
8502 "origin_slot": 19,
8503 "target_id": 222,
8504 "target_slot": 0,
8505 "type": "COMBO"
8506 },
8507 {
8508 "id": 513,
8509 "origin_id": -10,
8510 "origin_slot": 20,
8511 "target_id": 242,
8512 "target_slot": 1,
8513 "type": "STRING"
8514 },
8515 {
8516 "id": 514,
8517 "origin_id": -10,
8518 "origin_slot": 21,
8519 "target_id": 261,
8520 "target_slot": 1,
8521 "type": "STRING"
8522 },
8523 {
8524 "id": 515,
8525 "origin_id": -10,
8526 "origin_slot": 22,
8527 "target_id": 243,
8528 "target_slot": 0,
8529 "type": "COMBO"
8530 },
8531 {
8532 "id": 546,
8533 "origin_id": 252,
8534 "origin_slot": 0,
8535 "target_id": -20,
8536 "target_slot": 0,
8537 "type": "IMAGE"
8538 },
8539 {
8540 "id": 550,
8541 "origin_id": -10,
8542 "origin_slot": 8,
8543 "target_id": 235,
8544 "target_slot": 2,
8545 "type": "INT"
8546 },
8547 {
8548 "id": 551,
8549 "origin_id": -10,
8550 "origin_slot": 9,
8551 "target_id": 259,
8552 "target_slot": 15,
8553 "type": "INT"
8554 },
8555 {
8556 "id": 552,
8557 "origin_id": -10,
8558 "origin_slot": 10,
8559 "target_id": 259,
8560 "target_slot": 12,
8561 "type": "FLOAT"
8562 },
8563 {
8564 "id": 553,
8565 "origin_id": -10,
8566 "origin_slot": 11,
8567 "target_id": 259,
8568 "target_slot": 13,
8569 "type": "FLOAT"
8570 },
8571 {
8572 "id": 554,
8573 "origin_id": -10,
8574 "origin_slot": 12,
8575 "target_id": 259,
8576 "target_slot": 14,
8577 "type": "FLOAT"
8578 },
8579 {
8580 "id": 556,
8581 "origin_id": -10,
8582 "origin_slot": 9,
8583 "target_id": 241,
8584 "target_slot": 2,
8585 "type": "FLOAT,INT,BOOLEAN"
8586 },
8587 {
8588 "id": 557,
8589 "origin_id": -10,
8590 "origin_slot": 8,
8591 "target_id": 241,
8592 "target_slot": 1,
8593 "type": "FLOAT,INT,BOOLEAN"
8594 },
8595 {
8596 "id": 559,
8597 "origin_id": -10,
8598 "origin_slot": 23,
8599 "target_id": 227,
8600 "target_slot": 6,
8601 "type": "INT"
8602 },
8603 {
8604 "id": 566,
8605 "origin_id": 319,
8606 "origin_slot": 0,
8607 "target_id": 216,
8608 "target_slot": 0,
8609 "type": "MODEL"
8610 },
8611 {
8612 "id": 567,
8613 "origin_id": 319,
8614 "origin_slot": 0,
8615 "target_id": 232,
8616 "target_slot": 0,
8617 "type": "MODEL"
8618 },
8619 {
8620 "id": 568,
8621 "origin_id": 223,
8622 "origin_slot": 0,
8623 "target_id": 319,
8624 "target_slot": 0,
8625 "type": "MODEL"
8626 },
8627 {
8628 "id": 569,
8629 "origin_id": -10,
8630 "origin_slot": 16,
8631 "target_id": 319,
8632 "target_slot": 1,
8633 "type": "COMBO"
8634 }
8635 ],
8636 "extra": []
8637 }
8638 ]
8639 },
8640 "config": [],
8641 "extra": {
8642 "ds": {
8643 "scale": 0.5742690062005172,
8644 "offset": [
8645 1239.1058569187308,
8646 -4166.175791941816
8647 ]
8648 },
8649 "frontendVersion": "1.45.20",
8650 "VHS_KeepIntermediate": true,
8651 "VHS_MetadataImage": true,
8652 "VHS_latentpreview": false,
8653 "VHS_latentpreviewrate": 0
8654 },
8655 "version": 0.4
8656}