- 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|>
1477 lines
29 KiB
JSON
1477 lines
29 KiB
JSON
{
|
|
"id": "2b232455-5c82-4c20-a0e8-71907d92a501",
|
|
"revision": 0,
|
|
"last_node_id": 149,
|
|
"last_link_id": 312,
|
|
"nodes": [
|
|
{
|
|
"id": 150,
|
|
"type": "Note",
|
|
"pos": [
|
|
-450,
|
|
-200
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"properties": {
|
|
"text": "ENHANCED QWEN IMAGE EDIT WORKFLOW\n\nKey Features:\n- RoPE fix applied automatically\n- Template styles (creative/minimal_edit/photorealistic)\n- Optimal resolution support\n- Reference latents properly passed\n- Lightning LoRA for 4-step generation\n- FP8 quantized model\n- TorchCompile + SAGE attention\n\nLATENT INPUT CHOICE (Critical!):\n1. VAE Encode input image → KSampler latent_image:\n - For STRUCTURE PRESERVATION (denoise 0.3-0.7)\n - Keeps composition, changes details\n - Use 'minimal_edit' template\n\n2. Empty Latent → KSampler latent_image:\n - For SEMANTIC REIMAGINING (denoise 0.9-1.0)\n - Complete transformation using vision understanding\n - Use 'creative' or 'default' template\n - Vision tokens guide generation from scratch\n\nNote: Reference latents (via VAE in encoder) always passed through conditioning regardless of latent input choice."
|
|
},
|
|
"widgets_values": ["ENHANCED QWEN IMAGE EDIT WORKFLOW\n\nKey Features:\n- RoPE fix applied automatically\n- Template styles (creative/minimal_edit/photorealistic)\n- Optimal resolution support\n- Reference latents properly passed\n- Lightning LoRA for 4-step generation\n- FP8 quantized model\n- TorchCompile + SAGE attention\n\nLATENT INPUT CHOICE (Critical!):\n1. VAE Encode input image → KSampler latent_image:\n - For STRUCTURE PRESERVATION (denoise 0.3-0.7)\n - Keeps composition, changes details\n - Use 'minimal_edit' template\n\n2. Empty Latent → KSampler latent_image:\n - For SEMANTIC REIMAGINING (denoise 0.9-1.0)\n - Complete transformation using vision understanding\n - Use 'creative' or 'default' template\n - Vision tokens guide generation from scratch\n\nNote: Reference latents (via VAE in encoder) always passed through conditioning regardless of latent input choice."],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 37,
|
|
"type": "UNETLoader",
|
|
"pos": [
|
|
3.8020541667938232,
|
|
20.189966201782227
|
|
],
|
|
"size": [
|
|
330,
|
|
90
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"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": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
223,
|
|
244,
|
|
302,
|
|
312
|
|
]
|
|
}
|
|
],
|
|
"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": 19,
|
|
"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.5
|
|
]
|
|
},
|
|
{
|
|
"id": 73,
|
|
"type": "LoraLoaderModelOnly",
|
|
"pos": [
|
|
394.9740905761719,
|
|
46.89153289794922
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"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-Edit-Lightning-4steps-V1.0.safetensors",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 80,
|
|
"type": "ConditioningZeroOut",
|
|
"pos": [
|
|
599.8950805664062,
|
|
577.550537109375
|
|
],
|
|
"size": [
|
|
197.712890625,
|
|
26
|
|
],
|
|
"flags": {},
|
|
"order": 17,
|
|
"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": 20,
|
|
"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": 16,
|
|
"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": 18,
|
|
"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": [
|
|
173.8088836669922,
|
|
-312.2391357421875
|
|
],
|
|
"size": [
|
|
282.74609375,
|
|
178
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 13,
|
|
"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": 116,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
1292.6866455078125,
|
|
532.370849609375
|
|
],
|
|
"size": [
|
|
210,
|
|
46
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 22,
|
|
"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,
|
|
300
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
],
|
|
"color": "#323",
|
|
"bgcolor": "#535"
|
|
},
|
|
{
|
|
"id": 124,
|
|
"type": "TextEncodeQwenImageEdit",
|
|
"pos": [
|
|
178.24267578125,
|
|
542.7227783203125
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 255
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": 244
|
|
},
|
|
{
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 299
|
|
}
|
|
],
|
|
"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": 130,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
37.03392028808594,
|
|
833.7128295898438
|
|
],
|
|
"size": [
|
|
702.244140625,
|
|
491.77734375
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
297,
|
|
310
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"the-kiss-gustav-klimt-1648576625955_800x.webp",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 131,
|
|
"type": "KSampler",
|
|
"pos": [
|
|
1908.73388671875,
|
|
67.82342529296875
|
|
],
|
|
"size": [
|
|
270,
|
|
531
|
|
],
|
|
"flags": {},
|
|
"order": 21,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 269
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 304
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 271
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 311
|
|
}
|
|
],
|
|
"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": [
|
|
570190950454800,
|
|
"randomize",
|
|
4,
|
|
1,
|
|
"euler",
|
|
"simple",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 132,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
1190.9234619140625,
|
|
-1.9452972412109375
|
|
],
|
|
"size": [
|
|
615.53125,
|
|
667.6171875
|
|
],
|
|
"flags": {},
|
|
"order": 23,
|
|
"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": 139,
|
|
"type": "EmptyLatentImage",
|
|
"pos": [
|
|
816.6728515625,
|
|
754.824462890625
|
|
],
|
|
"size": [
|
|
270,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": []
|
|
}
|
|
],
|
|
"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": [
|
|
1024,
|
|
1024,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 140,
|
|
"type": "QwenTemplateBuilder",
|
|
"pos": [
|
|
-419.2724609375,
|
|
466.906494140625
|
|
],
|
|
"size": [
|
|
494.63671875,
|
|
312.69921875
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "formatted_prompt",
|
|
"type": "STRING",
|
|
"links": []
|
|
},
|
|
{
|
|
"name": "template_info",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "has_vision_tokens",
|
|
"type": "BOOLEAN",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "fblissjr/ComfyUI-QwenImageWanBridge",
|
|
"ver": "64d5ed55d9e2cfbbf1abcc00d74732118df02eaa",
|
|
"Node name for S&R": "QwenTemplateBuilder",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
"technical",
|
|
"Generate technical diagrams and schematics. Use clean lines, proper labels, annotations, and professional technical drawing standards.",
|
|
false,
|
|
true
|
|
],
|
|
"color": "#323",
|
|
"bgcolor": "#535"
|
|
},
|
|
{
|
|
"id": 141,
|
|
"type": "ImageScaleToTotalPixels",
|
|
"pos": [
|
|
580.6416015625,
|
|
980.656494140625
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 297
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
299,
|
|
301
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "ImageScaleToTotalPixels",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"lanczos",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 142,
|
|
"type": "QwenVLTextEncoder",
|
|
"pos": [
|
|
423.80902099609375,
|
|
239.60772705078125
|
|
],
|
|
"size": [
|
|
400,
|
|
224
|
|
],
|
|
"flags": {},
|
|
"order": 15,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 300
|
|
},
|
|
{
|
|
"name": "edit_image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 301
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": 302
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 307
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
304
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "fblissjr/ComfyUI-QwenImageWanBridge",
|
|
"ver": "64d5ed55d9e2cfbbf1abcc00d74732118df02eaa",
|
|
"Node name for S&R": "QwenVLTextEncoder",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"text": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"A beautiful landscape",
|
|
"image_edit",
|
|
true,
|
|
"creative",
|
|
true,
|
|
"standard",
|
|
"auto",
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 144,
|
|
"type": "ShowText|pysssss",
|
|
"pos": [
|
|
2057.5517578125,
|
|
715.797119140625
|
|
],
|
|
"size": [
|
|
551.8046875,
|
|
376.109375
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"link": 306
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "STRING",
|
|
"shape": 6,
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-custom-scripts",
|
|
"ver": "1.2.5",
|
|
"Node name for S&R": "ShowText|pysssss",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"<|im_start|>system\nTransform the image into the specified artistic style while preserving the original composition and subjects.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>A frog kisses a crying princess on the cheek. <|im_end|>\n<|im_start|>assistant\n"
|
|
]
|
|
},
|
|
{
|
|
"id": 145,
|
|
"type": "QwenTemplateBuilder",
|
|
"pos": [
|
|
897.5388793945312,
|
|
805.8707275390625
|
|
],
|
|
"size": [
|
|
561.4453125,
|
|
403.4921875
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "formatted_prompt",
|
|
"type": "STRING",
|
|
"links": [
|
|
306,
|
|
307
|
|
]
|
|
},
|
|
{
|
|
"name": "template_info",
|
|
"type": "STRING",
|
|
"links": [
|
|
308
|
|
]
|
|
},
|
|
{
|
|
"name": "has_vision_tokens",
|
|
"type": "BOOLEAN",
|
|
"links": [
|
|
309
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "fblissjr/ComfyUI-QwenImageWanBridge",
|
|
"ver": "64d5ed55d9e2cfbbf1abcc00d74732118df02eaa",
|
|
"Node name for S&R": "QwenTemplateBuilder",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"A frog kisses a crying princess on the cheek. ",
|
|
"style_transfer",
|
|
"Transform the image into the specified artistic style while preserving the original composition and subjects.",
|
|
true,
|
|
true
|
|
],
|
|
"color": "#322",
|
|
"bgcolor": "#533"
|
|
},
|
|
{
|
|
"id": 146,
|
|
"type": "PreviewAny",
|
|
"pos": [
|
|
1514.1376953125,
|
|
1296.918212890625
|
|
],
|
|
"size": [
|
|
464.60546875,
|
|
247.6640625
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 308
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "PreviewAny",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 147,
|
|
"type": "PreviewAny",
|
|
"pos": [
|
|
1413.8720703125,
|
|
877.668212890625
|
|
],
|
|
"size": [
|
|
210,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 309
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "PreviewAny",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 149,
|
|
"type": "VAEEncode",
|
|
"pos": [
|
|
1720.043701171875,
|
|
932.9385375976562
|
|
],
|
|
"size": [
|
|
140,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pixels",
|
|
"type": "IMAGE",
|
|
"link": 310
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 312
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
311
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "VAEEncode",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
}
|
|
],
|
|
"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"
|
|
],
|
|
[
|
|
269,
|
|
81,
|
|
0,
|
|
131,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
271,
|
|
80,
|
|
0,
|
|
131,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
274,
|
|
131,
|
|
0,
|
|
116,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
275,
|
|
116,
|
|
0,
|
|
132,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
276,
|
|
37,
|
|
0,
|
|
73,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
297,
|
|
130,
|
|
0,
|
|
141,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
299,
|
|
141,
|
|
0,
|
|
124,
|
|
2,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
300,
|
|
120,
|
|
0,
|
|
142,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
301,
|
|
141,
|
|
0,
|
|
142,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
302,
|
|
39,
|
|
0,
|
|
142,
|
|
2,
|
|
"VAE"
|
|
],
|
|
[
|
|
304,
|
|
142,
|
|
0,
|
|
131,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
306,
|
|
145,
|
|
0,
|
|
144,
|
|
0,
|
|
"STRING"
|
|
],
|
|
[
|
|
307,
|
|
145,
|
|
0,
|
|
142,
|
|
3,
|
|
"STRING"
|
|
],
|
|
[
|
|
308,
|
|
145,
|
|
1,
|
|
146,
|
|
0,
|
|
"*"
|
|
],
|
|
[
|
|
309,
|
|
145,
|
|
2,
|
|
147,
|
|
0,
|
|
"*"
|
|
],
|
|
[
|
|
310,
|
|
130,
|
|
0,
|
|
149,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
311,
|
|
149,
|
|
0,
|
|
131,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
312,
|
|
39,
|
|
0,
|
|
149,
|
|
1,
|
|
"VAE"
|
|
]
|
|
],
|
|
"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.2733884472371453,
|
|
"offset": [
|
|
-314.4681338700109,
|
|
61.07213390412285
|
|
]
|
|
},
|
|
"frontendVersion": "1.25.11",
|
|
"ue_links": [],
|
|
"links_added_by_ue": [],
|
|
"VHS_latentpreview": true,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |