diff --git a/example_workflows/wanvideo_phantom_subject2vid_example_01.json b/example_workflows/wanvideo_phantom_subject2vid_example_01.json index 59bb9d5..96ed432 100644 --- a/example_workflows/wanvideo_phantom_subject2vid_example_01.json +++ b/example_workflows/wanvideo_phantom_subject2vid_example_01.json @@ -1,8 +1,8 @@ { "id": "c6e410bc-5e2c-460b-ae81-c91b6094fbb1", "revision": 0, - "last_node_id": 65, - "last_link_id": 80, + "last_node_id": 74, + "last_link_id": 120, "nodes": [ { "id": 11, @@ -93,15 +93,15 @@ "id": 50, "type": "CLIPTextEncode", "pos": [ - -156.3392333984375, - 1321.2899169921875 + -78.64810180664062, + 1769.301513671875 ], "size": [ 400, 200 ], "flags": {}, - "order": 21, + "order": 18, "mode": 2, "inputs": [ { @@ -135,8 +135,8 @@ "id": 48, "type": "CLIPLoader", "pos": [ - -516.3392944335938, - 1071.2896728515625 + -438.6482238769531, + 1519.30126953125 ], "size": [ 315, @@ -174,8 +174,8 @@ "id": 51, "type": "Note", "pos": [ - -486.3392333984375, - 901.2894287109375 + -408.648193359375, + 1349.3011474609375 ], "size": [ 253.16725158691406, @@ -197,15 +197,15 @@ "id": 49, "type": "CLIPTextEncode", "pos": [ - -156.3392333984375, - 1071.2896728515625 + -78.64810180664062, + 1519.30126953125 ], "size": [ 400, 200 ], "flags": {}, - "order": 20, + "order": 17, "mode": 2, "inputs": [ { @@ -289,85 +289,6 @@ "color": "#432", "bgcolor": "#653" }, - { - "id": 53, - "type": "Note", - "pos": [ - 531.5562133789062, - -1014.3677978515625 - ], - "size": [ - 324.64129638671875, - 159.47401428222656 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "TeaCache could be considered to be sort of an automated step skipper \n\nThe relative l1 threshold -value determines how aggressive this is, higher values are faster but quality suffers more. Very first steps should NEVER be skipped with this model or it kills the motion. When using the pre-calculated coefficients, the treshold value should be much higher than with the default coefficients." - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 55, - "type": "WanVideoEnhanceAVideo", - "pos": [ - 1282.9122314453125, - -994.9732666015625 - ], - "size": [ - 315, - 106 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "feta_args", - "type": "FETAARGS", - "links": [] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "6099ad393b071728032fd481e96d77d2900eee2c", - "Node name for S&R": "WanVideoEnhanceAVideo" - }, - "widgets_values": [ - 2, - 0, - 1 - ] - }, - { - "id": 54, - "type": "Note", - "pos": [ - 1278.7947998046875, - -1137.541748046875 - ], - "size": [ - 327.61932373046875, - 88 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Enhance-a-video can increase the fidelity of the results, too high values lead to noisy results." - ], - "color": "#432", - "bgcolor": "#653" - }, { "id": 44, "type": "Note", @@ -380,7 +301,7 @@ 88 ], "flags": {}, - "order": 10, + "order": 7, "mode": 0, "inputs": [], "outputs": [], @@ -403,7 +324,7 @@ 154 ], "flags": {}, - "order": 11, + "order": 8, "mode": 0, "inputs": [], "outputs": [ @@ -441,7 +362,7 @@ 82 ], "flags": {}, - "order": 12, + "order": 9, "mode": 0, "inputs": [], "outputs": [ @@ -451,7 +372,8 @@ "slot_index": 0, "links": [ 43, - 59 + 59, + 110 ] } ], @@ -471,15 +393,15 @@ "id": 46, "type": "WanVideoTextEmbedBridge", "pos": [ - 293.66107177734375, - 1061.2896728515625 + 371.3523254394531, + 1509.30126953125 ], "size": [ 315, 46 ], "flags": {}, - "order": 24, + "order": 22, "mode": 2, "inputs": [ { @@ -539,7 +461,7 @@ "type": "IMAGE", "slot_index": 0, "links": [ - 36 + 81 ] } ], @@ -558,246 +480,6 @@ "color": "#322", "bgcolor": "#533" }, - { - "id": 52, - "type": "WanVideoTeaCache", - "pos": [ - 870.7489013671875, - -1000.0360717773438 - ], - "size": [ - 315, - 178 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "teacache_args", - "type": "TEACACHEARGS", - "links": [] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "6099ad393b071728032fd481e96d77d2900eee2c", - "Node name for S&R": "WanVideoTeaCache" - }, - "widgets_values": [ - 0.10000000000000002, - 1, - -1, - "offload_device", - "true", - "e" - ] - }, - { - "id": 16, - "type": "WanVideoTextEncode", - "pos": [ - 675.8850708007812, - -36.032100677490234 - ], - "size": [ - 420.30511474609375, - 261.5306701660156 - ], - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "t5", - "type": "WANTEXTENCODER", - "link": 15 - }, - { - "name": "model_to_offload", - "shape": 7, - "type": "WANVIDEOMODEL", - "link": null - } - ], - "outputs": [ - { - "name": "text_embeds", - "type": "WANVIDEOTEXTEMBEDS", - "slot_index": 0, - "links": [ - 30 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "6099ad393b071728032fd481e96d77d2900eee2c", - "Node name for S&R": "WanVideoTextEncode" - }, - "widgets_values": [ - "a man is walking in a forest", - "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走", - true - ], - "color": "#332922", - "bgcolor": "#593930" - }, - { - "id": 56, - "type": "WanVideoEncode", - "pos": [ - 708.9175415039062, - 314.7856750488281 - ], - "size": [ - 330, - 242 - ], - "flags": {}, - "order": 26, - "mode": 0, - "inputs": [ - { - "name": "vae", - "type": "WANVAE", - "link": 59 - }, - { - "name": "image", - "type": "IMAGE", - "link": 66 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "samples", - "type": "LATENT", - "links": [ - 63 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", - "Node name for S&R": "WanVideoEncode" - }, - "widgets_values": [ - false, - 272, - 272, - 144, - 128, - 0, - 1 - ] - }, - { - "id": 63, - "type": "PreviewImage", - "pos": [ - 699.8756103515625, - 630.9470825195312 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 27, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 69 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.29", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [] - }, - { - "id": 60, - "type": "ImagePadKJ", - "pos": [ - 317.3659362792969, - 255.3740692138672 - ], - "size": [ - 315, - 262 - ], - "flags": {}, - "order": 25, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 73 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": null - }, - { - "name": "target_width", - "shape": 7, - "type": "INT", - "link": 76 - }, - { - "name": "target_height", - "shape": 7, - "type": "INT", - "link": 77 - } - ], - "outputs": [ - { - "name": "images", - "type": "IMAGE", - "links": [ - 66, - 69 - ] - }, - { - "name": "masks", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", - "Node name for S&R": "ImagePadKJ" - }, - "widgets_values": [ - 0, - 0, - 0, - 0, - 0, - "color", - "255,255,255" - ] - }, { "id": 35, "type": "WanVideoTorchCompileSettings", @@ -810,7 +492,7 @@ 202 ], "flags": {}, - "order": 14, + "order": 10, "mode": 0, "inputs": [], "outputs": [ @@ -850,7 +532,7 @@ 178 ], "flags": {}, - "order": 15, + "order": 11, "mode": 0, "inputs": [], "outputs": [ @@ -876,6 +558,842 @@ "e0" ] }, + { + "id": 22, + "type": "WanVideoModelLoader", + "pos": [ + 620.3950805664062, + -357.8426818847656 + ], + "size": [ + 477.4410095214844, + 234 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 70 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": null + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": null + }, + { + "name": "vram_management_args", + "shape": 7, + "type": "VRAM_MANAGEMENTARGS", + "link": null + }, + { + "name": "vace_model", + "shape": 7, + "type": "VACEPATH", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "slot_index": 0, + "links": [ + 29 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "6099ad393b071728032fd481e96d77d2900eee2c", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "WanVideo\\Phantom-Wan-1_3B_fp16.safetensors", + "fp16_fast", + "disabled", + "main_device", + "sageattn" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 61, + "type": "INTConstant", + "pos": [ + -507.47119140625, + -30.832414627075195 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 76, + 79, + 85, + 89 + ] + } + ], + "title": "Width", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", + "Node name for S&R": "INTConstant" + }, + "widgets_values": [ + 1280 + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 62, + "type": "INTConstant", + "pos": [ + -501.34527587890625, + 83.66830444335938 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 77, + 80, + 86, + 90 + ] + } + ], + "title": "Height", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", + "Node name for S&R": "INTConstant" + }, + "widgets_values": [ + 768 + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 66, + "type": "ImageConcatMulti", + "pos": [ + 1772.1153564453125, + -17.343990325927734 + ], + "size": [ + 315, + 150 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "image_1", + "type": "IMAGE", + "link": 81 + }, + { + "name": "image_2", + "type": "IMAGE", + "link": 82 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 83 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f" + }, + "widgets_values": [ + 2, + "up", + false, + null + ] + }, + { + "id": 67, + "type": "LoadImage", + "pos": [ + -529.6270751953125, + 642.4041137695312 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 87 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.29", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "oldman_upscaled.png", + "image" + ] + }, + { + "id": 68, + "type": "ImageResizeKJ", + "pos": [ + -136.8474884033203, + 636.0980224609375 + ], + "size": [ + 315, + 238 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 87 + }, + { + "name": "width_input", + "shape": 7, + "type": "INT", + "link": null + }, + { + "name": "height_input", + "shape": 7, + "type": "INT", + "link": null + }, + { + "name": "get_image_size", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 85 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 86 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 91 + ] + }, + { + "name": "width", + "type": "INT", + "links": [] + }, + { + "name": "height", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "lanczos", + true, + 8, + "disabled" + ] + }, + { + "id": 65, + "type": "ImageResizeKJ", + "pos": [ + -138.123046875, + 268.34466552734375 + ], + "size": [ + 315, + 238 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 72 + }, + { + "name": "width_input", + "shape": 7, + "type": "INT", + "link": null + }, + { + "name": "height_input", + "shape": 7, + "type": "INT", + "link": null + }, + { + "name": "get_image_size", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 79 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 80 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 73 + ] + }, + { + "name": "width", + "type": "INT", + "links": [] + }, + { + "name": "height", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "lanczos", + true, + 8, + "disabled" + ] + }, + { + "id": 57, + "type": "LoadImage", + "pos": [ + -549.6646728515625, + 251.52166748046875 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 72 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.29", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "anya.webp", + "image" + ] + }, + { + "id": 16, + "type": "WanVideoTextEncode", + "pos": [ + 675.8850708007812, + -36.032100677490234 + ], + "size": [ + 420.30511474609375, + 261.5306701660156 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "t5", + "type": "WANTEXTENCODER", + "link": 15 + }, + { + "name": "model_to_offload", + "shape": 7, + "type": "WANVIDEOMODEL", + "link": null + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "slot_index": 0, + "links": [ + 30 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "6099ad393b071728032fd481e96d77d2900eee2c", + "Node name for S&R": "WanVideoTextEncode" + }, + "widgets_values": [ + "an old man is playing with a chibi anime figurine", + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走", + true + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 63, + "type": "PreviewImage", + "pos": [ + 1249.652587890625, + 640.6929931640625 + ], + "size": [ + 675.1277465820312, + 258 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 102 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.29", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 69, + "type": "ImagePadKJ", + "pos": [ + 241.51797485351562, + 614.47705078125 + ], + "size": [ + 315, + 262 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 91 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "target_width", + "shape": 7, + "type": "INT", + "link": 89 + }, + { + "name": "target_height", + "shape": 7, + "type": "INT", + "link": 90 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 102, + 105 + ] + }, + { + "name": "masks", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", + "Node name for S&R": "ImagePadKJ" + }, + "widgets_values": [ + 0, + 0, + 0, + 0, + 0, + "color", + "255,255,255" + ] + }, + { + "id": 60, + "type": "ImagePadKJ", + "pos": [ + 241.20155334472656, + 261.9258728027344 + ], + "size": [ + 315, + 262 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 73 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "target_width", + "shape": 7, + "type": "INT", + "link": 76 + }, + { + "name": "target_height", + "shape": 7, + "type": "INT", + "link": 77 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 82, + 106 + ] + }, + { + "name": "masks", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", + "Node name for S&R": "ImagePadKJ" + }, + "widgets_values": [ + 0, + 0, + 0, + 0, + 0, + "color", + "255,255,255" + ] + }, + { + "id": 74, + "type": "WanVideoPhantomEmbeds", + "pos": [ + 1243.949462890625, + 424.87481689453125 + ], + "size": [ + 380.4000244140625, + 142 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "phantom_latent_1", + "type": "LATENT", + "link": 119 + }, + { + "name": "phantom_latent_2", + "shape": 7, + "type": "LATENT", + "link": 120 + }, + { + "name": "phantom_latent_3", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "phantom_latent_4", + "shape": 7, + "type": "LATENT", + "link": null + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 114 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "1f535743870da83c530386874f10aabc70201919", + "Node name for S&R": "WanVideoPhantomEmbeds" + }, + "widgets_values": [ + 81, + 5 + ] + }, + { + "id": 73, + "type": "WanVideoEncode", + "pos": [ + 685.5361938476562, + 634.3781127929688 + ], + "size": [ + 330, + 242 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 110 + }, + { + "name": "image", + "type": "IMAGE", + "link": 105 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 119 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", + "Node name for S&R": "WanVideoEncode" + }, + "widgets_values": [ + false, + 272, + 272, + 144, + 128, + 0, + 1 + ] + }, + { + "id": 56, + "type": "WanVideoEncode", + "pos": [ + 688.443359375, + 299.2251892089844 + ], + "size": [ + 330, + 242 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 59 + }, + { + "name": "image", + "type": "IMAGE", + "link": 106 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 120 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", + "Node name for S&R": "WanVideoEncode" + }, + "widgets_values": [ + false, + 272, + 272, + 144, + 128, + 0, + 1 + ] + }, { "id": 27, "type": "WanVideoSampler", @@ -904,7 +1422,7 @@ { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", - "link": 64 + "link": 114 }, { "name": "samples", @@ -986,7 +1504,7 @@ 40, 7.500000000000002, 5, - 42, + 44, "fixed", true, "unipc", @@ -1001,21 +1519,21 @@ "id": 30, "type": "VHS_VideoCombine", "pos": [ - 2073.201416015625, - -579.5505981445312 + 2202.927001953125, + -570.5418701171875 ], "size": [ 1245.8460693359375, - 1083.5076904296875 + 1819.0152587890625 ], "flags": {}, - "order": 31, + "order": 32, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 36 + "link": 83 }, { "name": "audio", @@ -1051,7 +1569,7 @@ "widgets_values": { "frame_rate": 16, "loop_count": 0, - "filename_prefix": "WanVideo2_1_T2V", + "filename_prefix": "WanVideo21_Phantom", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, @@ -1063,328 +1581,16 @@ "hidden": false, "paused": false, "params": { - "filename": "WanVideo2_1_T2V_00008.mp4", + "filename": "WanVideo2_1_T2V_00013.mp4", "subfolder": "", "type": "temp", "format": "video/h264-mp4", "frame_rate": 16, - "workflow": "WanVideo2_1_T2V_00008.png", - "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00008.mp4" + "workflow": "WanVideo2_1_T2V_00013.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00013.mp4" } } } - }, - { - "id": 22, - "type": "WanVideoModelLoader", - "pos": [ - 620.3950805664062, - -357.8426818847656 - ], - "size": [ - 477.4410095214844, - 234 - ], - "flags": {}, - "order": 22, - "mode": 0, - "inputs": [ - { - "name": "compile_args", - "shape": 7, - "type": "WANCOMPILEARGS", - "link": 70 - }, - { - "name": "block_swap_args", - "shape": 7, - "type": "BLOCKSWAPARGS", - "link": null - }, - { - "name": "lora", - "shape": 7, - "type": "WANVIDLORA", - "link": null - }, - { - "name": "vram_management_args", - "shape": 7, - "type": "VRAM_MANAGEMENTARGS", - "link": null - }, - { - "name": "vace_model", - "shape": 7, - "type": "VACEPATH", - "link": null - } - ], - "outputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "slot_index": 0, - "links": [ - 29 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "6099ad393b071728032fd481e96d77d2900eee2c", - "Node name for S&R": "WanVideoModelLoader" - }, - "widgets_values": [ - "WanVideo\\Phantom-Wan-1_3B_fp16.safetensors", - "fp16_fast", - "disabled", - "main_device", - "sageattn" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 57, - "type": "LoadImage", - "pos": [ - -751.132080078125, - 219.58172607421875 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 72 - ] - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.29", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "oldman_upscaled (1).png", - "image" - ] - }, - { - "id": 61, - "type": "INTConstant", - "pos": [ - -507.47119140625, - -30.832414627075195 - ], - "size": [ - 210, - 58 - ], - "flags": {}, - "order": 17, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "INT", - "links": [ - 76, - 79 - ] - } - ], - "title": "Width", - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", - "Node name for S&R": "INTConstant" - }, - "widgets_values": [ - 1280 - ], - "color": "#1b4669", - "bgcolor": "#29699c" - }, - { - "id": 62, - "type": "INTConstant", - "pos": [ - -501.34527587890625, - 83.66830444335938 - ], - "size": [ - 210, - 58 - ], - "flags": {}, - "order": 18, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "INT", - "links": [ - 77, - 80 - ] - } - ], - "title": "Height", - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", - "Node name for S&R": "INTConstant" - }, - "widgets_values": [ - 768 - ], - "color": "#1b4669", - "bgcolor": "#29699c" - }, - { - "id": 65, - "type": "ImageResizeKJ", - "pos": [ - -341.22845458984375, - 253.60321044921875 - ], - "size": [ - 315, - 238 - ], - "flags": {}, - "order": 23, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 72 - }, - { - "name": "width_input", - "shape": 7, - "type": "INT", - "link": null - }, - { - "name": "height_input", - "shape": 7, - "type": "INT", - "link": null - }, - { - "name": "get_image_size", - "shape": 7, - "type": "IMAGE", - "link": null - }, - { - "name": "width", - "type": "INT", - "widget": { - "name": "width" - }, - "link": 79 - }, - { - "name": "height", - "type": "INT", - "widget": { - "name": "height" - }, - "link": 80 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 73 - ] - }, - { - "name": "width", - "type": "INT", - "links": [] - }, - { - "name": "height", - "type": "INT", - "links": [] - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", - "Node name for S&R": "ImageResizeKJ" - }, - "widgets_values": [ - 512, - 512, - "lanczos", - true, - 8, - "disabled" - ] - }, - { - "id": 59, - "type": "WanVideoPhantomEmbeds", - "pos": [ - 1106.4771728515625, - 478.0094909667969 - ], - "size": [ - 380.4000244140625, - 82 - ], - "flags": {}, - "order": 28, - "mode": 0, - "inputs": [ - { - "name": "phantom_latents", - "type": "LATENT", - "link": 63 - } - ], - "outputs": [ - { - "name": "image_embeds", - "type": "WANVIDIMAGE_EMBEDS", - "links": [ - 64 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", - "Node name for S&R": "WanVideoPhantomEmbeds" - }, - "widgets_values": [ - 81, - 5 - ] } ], "links": [ @@ -1420,14 +1626,6 @@ 1, "LATENT" ], - [ - 36, - 28, - 0, - 30, - 0, - "IMAGE" - ], [ 43, 38, @@ -1476,38 +1674,6 @@ 0, "WANVAE" ], - [ - 63, - 56, - 0, - 59, - 0, - "LATENT" - ], - [ - 64, - 59, - 0, - 27, - 2, - "WANVIDIMAGE_EMBEDS" - ], - [ - 66, - 60, - 0, - 56, - 1, - "IMAGE" - ], - [ - 69, - 60, - 0, - 63, - 0, - "IMAGE" - ], [ 70, 35, @@ -1571,6 +1737,134 @@ 65, 5, "INT" + ], + [ + 81, + 28, + 0, + 66, + 0, + "IMAGE" + ], + [ + 82, + 60, + 0, + 66, + 1, + "IMAGE" + ], + [ + 83, + 66, + 0, + 30, + 0, + "IMAGE" + ], + [ + 85, + 61, + 0, + 68, + 4, + "INT" + ], + [ + 86, + 62, + 0, + 68, + 5, + "INT" + ], + [ + 87, + 67, + 0, + 68, + 0, + "IMAGE" + ], + [ + 89, + 61, + 0, + 69, + 2, + "INT" + ], + [ + 90, + 62, + 0, + 69, + 3, + "INT" + ], + [ + 91, + 68, + 0, + 69, + 0, + "IMAGE" + ], + [ + 102, + 69, + 0, + 63, + 0, + "IMAGE" + ], + [ + 105, + 69, + 0, + 73, + 1, + "IMAGE" + ], + [ + 106, + 60, + 0, + 56, + 1, + "IMAGE" + ], + [ + 110, + 38, + 0, + 73, + 0, + "WANVAE" + ], + [ + 114, + 74, + 0, + 27, + 2, + "WANVIDIMAGE_EMBEDS" + ], + [ + 119, + 73, + 0, + 74, + 0, + "LATENT" + ], + [ + 120, + 56, + 0, + 74, + 1, + "LATENT" ] ], "groups": [ @@ -1578,8 +1872,8 @@ "id": 1, "title": "ComfyUI text encoding alternative", "bounding": [ - -579.1553344726562, - 757.3561401367188, + -501.4642639160156, + 1205.3677978515625, 1210.621337890625, 805.9080810546875 ], @@ -1591,10 +1885,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.6727499949326011, + "scale": 0.6115909044841836, "offset": [ - 875.9259328294355, - 761.5667769522754 + 80.2022437434934, + 871.50326287299 ] }, "frontendVersion": "1.17.3",