- Fixed generateTokens to properly handle different region types (bounding_box, polygon, object_reference) - Added checkbox UI to control includeObjectRef for boxes/polygons - Object references now correctly handle 2 coordinates instead of expecting 4 - Updated Python code to respect includeObjectRef flag from JavaScript - Fixed coordinate format issues (x1,y1,x2,y2 for boxes, x,y pairs for polygons) - Restored updateBasePromptWithTokens function for editable prompts - Default behavior keeps object_ref (checkbox checked) for backward compatibility - Without object_ref, generates pure spatial tokens like <|box_start|>0.1,0.2,0.3,0.4<|box_end|>
1600 lines
31 KiB
JSON
1600 lines
31 KiB
JSON
{
|
|
"id": "2b232455-5c82-4c20-a0e8-71907d92a501",
|
|
"revision": 0,
|
|
"last_node_id": 139,
|
|
"last_link_id": 292,
|
|
"nodes": [
|
|
{
|
|
"id": 37,
|
|
"type": "UNETLoader",
|
|
"pos": [
|
|
3.8020541667938232,
|
|
20.189966201782227
|
|
],
|
|
"size": [
|
|
330,
|
|
90
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"slot_index": 0,
|
|
"links": [
|
|
276
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.48",
|
|
"Node name for S&R": "UNETLoader",
|
|
"models": [
|
|
{
|
|
"name": "qwen_image_fp8_e4m3fn.safetensors",
|
|
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors",
|
|
"directory": "diffusion_models"
|
|
}
|
|
],
|
|
"enableTabs": false,
|
|
"tabWidth": 65,
|
|
"tabXOffset": 10,
|
|
"hasSecondTab": false,
|
|
"secondTabText": "Send Back",
|
|
"secondTabOffset": 80,
|
|
"secondTabWidth": 65,
|
|
"ue_properties": {
|
|
"version": "7.0.1",
|
|
"widget_ue_connectable": {}
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"qwen_image_edit_fp8_e4m3fn.safetensors",
|
|
"fp8_e4m3fn"
|
|
]
|
|
},
|
|
{
|
|
"id": 39,
|
|
"type": "VAELoader",
|
|
"pos": [
|
|
-19.958463668823242,
|
|
314.6122131347656
|
|
],
|
|
"size": [
|
|
330,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
223,
|
|
244,
|
|
265,
|
|
286
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.48",
|
|
"Node name for S&R": "VAELoader",
|
|
"models": [
|
|
{
|
|
"name": "qwen_image_vae.safetensors",
|
|
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
|
|
"directory": "vae"
|
|
}
|
|
],
|
|
"enableTabs": false,
|
|
"tabWidth": 65,
|
|
"tabXOffset": 10,
|
|
"hasSecondTab": false,
|
|
"secondTabText": "Send Back",
|
|
"secondTabOffset": 80,
|
|
"secondTabWidth": 65,
|
|
"ue_properties": {
|
|
"version": "7.0.1",
|
|
"widget_ue_connectable": {}
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"qwen_image_vae.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 66,
|
|
"type": "ModelSamplingAuraFlow",
|
|
"pos": [
|
|
859.3681030273438,
|
|
-144.76174926757812
|
|
],
|
|
"size": [
|
|
300,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 24,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 204
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
154
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.48",
|
|
"Node name for S&R": "ModelSamplingAuraFlow",
|
|
"enableTabs": false,
|
|
"tabWidth": 65,
|
|
"tabXOffset": 10,
|
|
"hasSecondTab": false,
|
|
"secondTabText": "Send Back",
|
|
"secondTabOffset": 80,
|
|
"secondTabWidth": 65,
|
|
"ue_properties": {
|
|
"version": "7.0.1",
|
|
"widget_ue_connectable": {}
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"id": 69,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
-770.1002197265625,
|
|
-152.57960510253906
|
|
],
|
|
"size": [
|
|
390,
|
|
180
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "VRAM Usage",
|
|
"properties": {
|
|
"ue_properties": {
|
|
"version": "7.0.1",
|
|
"widget_ue_connectable": {}
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"## GPU:RTX4090D 24GB\n\n| Configuration | VRAM Usage | 1st Generation | 2nd Generation |\n|---------------------|---------------|---------------|-----------------|\n| Fp8_e4m3fn | 86% | \u2248 94s | \u2248 71s |\n| With 8steps LoRA | 86% | \u2248 55s | \u2248 34s |\n| Distill fp8_e4m3fn | 86% | \u2248 69s | \u2248 36s |"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 70,
|
|
"type": "Note",
|
|
"pos": [
|
|
-751.6052856445312,
|
|
93.20254516601562
|
|
],
|
|
"size": [
|
|
310,
|
|
120
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "For fp8 without 8steps LoRA",
|
|
"properties": {
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Set cfg to 1.0 for a speed boost at the cost of consistency. Samplers like res_multistep work pretty well at cfg 1.0\n\nThe official number of steps is 50 but I think that's too much. Even just 10 steps seems to work."
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 71,
|
|
"type": "Note",
|
|
"pos": [
|
|
-699.243408203125,
|
|
-286.614990234375
|
|
],
|
|
"size": [
|
|
300,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Increase the shift if you get too many blury/dark/bad images. Decrease if you want to try increasing detail.\nDefault: 3.5"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 73,
|
|
"type": "LoraLoaderModelOnly",
|
|
"pos": [
|
|
394.9740905761719,
|
|
46.89153289794922
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 276
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
170
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.49",
|
|
"Node name for S&R": "LoraLoaderModelOnly",
|
|
"models": [
|
|
{
|
|
"name": "Qwen-Image-Lightning-8steps-V1.0.safetensors",
|
|
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-8steps-V1.0.safetensors",
|
|
"directory": "loras"
|
|
}
|
|
],
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Qwen-Image-Lightning-4steps-V1.0.safetensors",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 74,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
-756.4080810546875,
|
|
283.6326599121094
|
|
],
|
|
"size": [
|
|
310,
|
|
210
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "KSampler settings",
|
|
"properties": {
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"You can test and find the best setting by yourself. The following table is for reference.\n\n| model | steps | cfg |\n|---------------------|---------------|---------------|\n| fp8_e4m3fn\uff08Qwen team's suggestion\uff09 | 40 | 2.5 \n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 8steps LoRA | 8 | 2.5 |\n| distill fp8_e4m3fn | 10 | 1.0 |"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 80,
|
|
"type": "ConditioningZeroOut",
|
|
"pos": [
|
|
599.8950805664062,
|
|
577.550537109375
|
|
],
|
|
"size": [
|
|
197.712890625,
|
|
26
|
|
],
|
|
"flags": {},
|
|
"order": 16,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING",
|
|
"link": 248
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
271
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.50",
|
|
"Node name for S&R": "ConditioningZeroOut",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [],
|
|
"color": "#322",
|
|
"bgcolor": "#533"
|
|
},
|
|
{
|
|
"id": 81,
|
|
"type": "CFGNorm",
|
|
"pos": [
|
|
867.0922241210938,
|
|
15.220279693603516
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 25,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 154
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "patched_model",
|
|
"type": "MODEL",
|
|
"links": [
|
|
269
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.50",
|
|
"Node name for S&R": "CFGNorm",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 86,
|
|
"type": "PathchSageAttentionKJ",
|
|
"pos": [
|
|
608.7059936523438,
|
|
-390.08392333984375
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 22,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 162
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
169
|
|
]
|
|
}
|
|
],
|
|
"title": "sage",
|
|
"properties": {
|
|
"cnr_id": "comfyui-kjnodes",
|
|
"ver": "87d0cf42db7d59992daba4d58a83655b5b359f44",
|
|
"Node name for S&R": "PathchSageAttentionKJ",
|
|
"aux_id": "kijai/ComfyUI-KJNodes",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"auto"
|
|
],
|
|
"color": "#332922",
|
|
"bgcolor": "#593930",
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 87,
|
|
"type": "CFGZeroStar",
|
|
"pos": [
|
|
1074.1048583984375,
|
|
-349.59375
|
|
],
|
|
"size": [
|
|
159.744140625,
|
|
26
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 23,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 169
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "patched_model",
|
|
"type": "MODEL",
|
|
"links": [
|
|
204
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.49",
|
|
"Node name for S&R": "CFGZeroStar",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [],
|
|
"color": "#332922",
|
|
"bgcolor": "#593930",
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 88,
|
|
"type": "TorchCompileModelQwenImage",
|
|
"pos": [
|
|
138.7346649169922,
|
|
-564.0555419921875
|
|
],
|
|
"size": [
|
|
282.74609375,
|
|
178
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 15,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 170
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
162
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-kjnodes",
|
|
"ver": "876a6dd2929d88ec35c09c7cddc6c360f4b27013",
|
|
"Node name for S&R": "TorchCompileModelQwenImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"inductor",
|
|
false,
|
|
"default",
|
|
false,
|
|
true,
|
|
128
|
|
]
|
|
},
|
|
{
|
|
"id": 101,
|
|
"type": "Note",
|
|
"pos": [
|
|
-692.503173828125,
|
|
998.485595703125
|
|
],
|
|
"size": [
|
|
337.39520263671875,
|
|
237.7200164794922
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"PREFERRED_QWENIMAGE_RESOLUTIONS = [\n (672, 1568),\n (688, 1504),\n (720, 1456),\n (752, 1392),\n (800, 1328),\n (832, 1248),\n (880, 1184),\n (944, 1104),\n (1024, 1024),\n (1104, 944),\n (1184, 880),\n (1248, 832),\n (1328, 800),\n (1392, 752),\n (1456, 720),\n (1504, 688),\n (1568, 672),\n]"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 105,
|
|
"type": "Note",
|
|
"pos": [
|
|
-284.3995361328125,
|
|
923.0796508789062
|
|
],
|
|
"size": [
|
|
210,
|
|
165.27325439453125
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"1328 x 1328 :: 1.0\n1664 x 928 :: 1.793\n928 x 1664 :: 0.558\n1472 x 1136 :: 1.291\n1136 x 1472 :: 0.774\n1584 x 1056 :: 1.5\n1056 x 1584 :: 0.667\n704x1056"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653",
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 116,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
1292.6866455078125,
|
|
532.370849609375
|
|
],
|
|
"size": [
|
|
210,
|
|
46
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 27,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 274
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 223
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
275
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.48",
|
|
"Node name for S&R": "VAEDecode",
|
|
"enableTabs": false,
|
|
"tabWidth": 65,
|
|
"tabXOffset": 10,
|
|
"hasSecondTab": false,
|
|
"secondTabText": "Send Back",
|
|
"secondTabOffset": 80,
|
|
"secondTabWidth": 65,
|
|
"ue_properties": {
|
|
"version": "7.0.1",
|
|
"widget_ue_connectable": {}
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 120,
|
|
"type": "QwenVLCLIPLoader",
|
|
"pos": [
|
|
35.810157775878906,
|
|
163.19113159179688
|
|
],
|
|
"size": [
|
|
270,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"links": [
|
|
255,
|
|
262
|
|
]
|
|
}
|
|
],
|
|
"title": "Qwen2.5-VL CLIP Loader (FIXED)",
|
|
"properties": {
|
|
"aux_id": "fblissjr/ComfyUI-QwenImageWanBridge",
|
|
"ver": "af23de074bc2fb8f41a0b621c12c020d636de558",
|
|
"Node name for S&R": "QwenVLCLIPLoader",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"qwen_2.5_vl_7b.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 122,
|
|
"type": "Seed (rgthree)",
|
|
"pos": [
|
|
-105.26921844482422,
|
|
-192.7537384033203
|
|
],
|
|
"size": [
|
|
315,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"dir": 4,
|
|
"name": "SEED",
|
|
"shape": 3,
|
|
"type": "INT",
|
|
"links": [
|
|
273
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "rgthree-comfy",
|
|
"ver": "1.0.2508162219",
|
|
"ue_properties": {
|
|
"version": "7.0.1",
|
|
"widget_ue_connectable": {}
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
512754629429031,
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 124,
|
|
"type": "TextEncodeQwenImageEdit",
|
|
"pos": [
|
|
401.6606140136719,
|
|
570.7852783203125
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 255
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": 244
|
|
},
|
|
{
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
248
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "TextEncodeQwenImageEdit",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"prompt": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 129,
|
|
"type": "QwenVLTextEncoder",
|
|
"pos": [
|
|
417.46136474609375,
|
|
273.53350830078125
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 262
|
|
},
|
|
{
|
|
"name": "edit_image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": 265
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
270
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "fblissjr/ComfyUI-QwenImageWanBridge",
|
|
"ver": "ca6029f79ff62e167b79822a74ca6481d9f8bfbb",
|
|
"Node name for S&R": "QwenVLTextEncoder",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"text": true,
|
|
"mode": true,
|
|
"debug_mode": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Replace all the people on the roller coaster with cats, maintaining the same poses and positions. Keep the roller coaster and background unchanged.",
|
|
"image_edit",
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 130,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-436.3197021484375,
|
|
364.31353759765625
|
|
],
|
|
"size": [
|
|
702.244140625,
|
|
491.77734375
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
285
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "LoadImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"image": true,
|
|
"upload": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"guests-on-superman--scaled.jpg",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 131,
|
|
"type": "KSampler",
|
|
"pos": [
|
|
915.61279296875,
|
|
171.95233154296875
|
|
],
|
|
"size": [
|
|
270,
|
|
426.6024169921875
|
|
],
|
|
"flags": {},
|
|
"order": 26,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 269
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 270
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 271
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 287
|
|
},
|
|
{
|
|
"name": "seed",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "seed"
|
|
},
|
|
"link": 273
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
274
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "KSampler",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"seed": true,
|
|
"steps": true,
|
|
"cfg": true,
|
|
"sampler_name": true,
|
|
"scheduler": true,
|
|
"denoise": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
390903912164527,
|
|
"randomize",
|
|
4,
|
|
1,
|
|
"ddim",
|
|
0.5,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 132,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
1434.3883056640625,
|
|
155.74610900878906
|
|
],
|
|
"size": [
|
|
615.53125,
|
|
667.6171875
|
|
],
|
|
"flags": {},
|
|
"order": 28,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 275
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "SaveImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"filename_prefix": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"qe_node"
|
|
]
|
|
},
|
|
{
|
|
"id": 134,
|
|
"type": "QwenOptimalResolution",
|
|
"pos": [
|
|
496.1298828125,
|
|
865.144775390625
|
|
],
|
|
"size": [
|
|
270,
|
|
166
|
|
],
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 285
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
284
|
|
]
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": [
|
|
288,
|
|
291
|
|
]
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": [
|
|
289,
|
|
292
|
|
]
|
|
},
|
|
{
|
|
"name": "resolution_info",
|
|
"type": "STRING",
|
|
"links": [
|
|
290
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "fblissjr/ComfyUI-QwenImageWanBridge",
|
|
"ver": "c30a1b76be8bee8ca682d9e03b2bee75390c5091",
|
|
"Node name for S&R": "QwenOptimalResolution",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"mode": true,
|
|
"target_pixels": true,
|
|
"custom_resolution": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"fit",
|
|
1048576,
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 135,
|
|
"type": "VAEEncode",
|
|
"pos": [
|
|
1068.1650390625,
|
|
954.160400390625
|
|
],
|
|
"size": [
|
|
140,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 17,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pixels",
|
|
"type": "IMAGE",
|
|
"link": 284
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 286
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
287
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "VAEEncode",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 136,
|
|
"type": "Display Int (rgthree)",
|
|
"pos": [
|
|
1290.1220703125,
|
|
1071.004150390625
|
|
],
|
|
"size": [
|
|
210,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 18,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"dir": 3,
|
|
"name": "input",
|
|
"type": "INT",
|
|
"link": 288
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "rgthree-comfy",
|
|
"ver": "1.0.2508192121",
|
|
"Node name for S&R": "Display Int (rgthree)",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"1328"
|
|
]
|
|
},
|
|
{
|
|
"id": 137,
|
|
"type": "Display Int (rgthree)",
|
|
"pos": [
|
|
1171.4033203125,
|
|
1281.207275390625
|
|
],
|
|
"size": [
|
|
210,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 19,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"dir": 3,
|
|
"name": "input",
|
|
"type": "INT",
|
|
"link": 289
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "rgthree-comfy",
|
|
"ver": "1.0.2508192121",
|
|
"Node name for S&R": "Display Int (rgthree)",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"800"
|
|
]
|
|
},
|
|
{
|
|
"id": 138,
|
|
"type": "Display Any (rgthree)",
|
|
"pos": [
|
|
809.4150390625,
|
|
1268.023681640625
|
|
],
|
|
"size": [
|
|
210,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 21,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"dir": 3,
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 290
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "rgthree-comfy",
|
|
"ver": "1.0.2508192121",
|
|
"Node name for S&R": "Display Any (rgthree)",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Resized from 1920x1210 to 1328x800 (mode: fit) | Auto-selected from Qwen resolutions"
|
|
]
|
|
},
|
|
{
|
|
"id": 139,
|
|
"type": "EmptyLatentImage",
|
|
"pos": [
|
|
858.7041015625,
|
|
725.445556640625
|
|
],
|
|
"size": [
|
|
270,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 20,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "width"
|
|
},
|
|
"link": 291
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "height"
|
|
},
|
|
"link": 292
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "EmptyLatentImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"width": true,
|
|
"height": true,
|
|
"batch_size": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
154,
|
|
66,
|
|
0,
|
|
81,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
162,
|
|
88,
|
|
0,
|
|
86,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
169,
|
|
86,
|
|
0,
|
|
87,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
170,
|
|
73,
|
|
0,
|
|
88,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
204,
|
|
87,
|
|
0,
|
|
66,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
223,
|
|
39,
|
|
0,
|
|
116,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
244,
|
|
39,
|
|
0,
|
|
124,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
248,
|
|
124,
|
|
0,
|
|
80,
|
|
0,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
255,
|
|
120,
|
|
0,
|
|
124,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
262,
|
|
120,
|
|
0,
|
|
129,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
265,
|
|
39,
|
|
0,
|
|
129,
|
|
2,
|
|
"VAE"
|
|
],
|
|
[
|
|
269,
|
|
81,
|
|
0,
|
|
131,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
270,
|
|
129,
|
|
0,
|
|
131,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
271,
|
|
80,
|
|
0,
|
|
131,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
273,
|
|
122,
|
|
0,
|
|
131,
|
|
4,
|
|
"INT"
|
|
],
|
|
[
|
|
274,
|
|
131,
|
|
0,
|
|
116,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
275,
|
|
116,
|
|
0,
|
|
132,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
276,
|
|
37,
|
|
0,
|
|
73,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
284,
|
|
134,
|
|
0,
|
|
135,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
285,
|
|
130,
|
|
0,
|
|
134,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
286,
|
|
39,
|
|
0,
|
|
135,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
287,
|
|
135,
|
|
0,
|
|
131,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
288,
|
|
134,
|
|
1,
|
|
136,
|
|
0,
|
|
"INT"
|
|
],
|
|
[
|
|
289,
|
|
134,
|
|
2,
|
|
137,
|
|
0,
|
|
"INT"
|
|
],
|
|
[
|
|
290,
|
|
134,
|
|
3,
|
|
138,
|
|
0,
|
|
"*"
|
|
],
|
|
[
|
|
291,
|
|
134,
|
|
1,
|
|
139,
|
|
0,
|
|
"INT"
|
|
],
|
|
[
|
|
292,
|
|
134,
|
|
2,
|
|
139,
|
|
1,
|
|
"INT"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": 1,
|
|
"title": "Step1 - Load models",
|
|
"bounding": [
|
|
10,
|
|
-20,
|
|
350,
|
|
433.6000061035156
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": "Step3 - Prompt",
|
|
"bounding": [
|
|
380,
|
|
160,
|
|
450,
|
|
470
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"title": "Lightx2v 8steps LoRA",
|
|
"bounding": [
|
|
383.0270690917969,
|
|
-33.1086540222168,
|
|
450,
|
|
170
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1,
|
|
"offset": [
|
|
365.4013830217651,
|
|
170.22238850375265
|
|
]
|
|
},
|
|
"frontendVersion": "1.25.10",
|
|
"ue_links": [],
|
|
"links_added_by_ue": [],
|
|
"VHS_latentpreview": true,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |