diff --git a/Workflow.json b/Workflow.json new file mode 100644 index 0000000..df63ea6 --- /dev/null +++ b/Workflow.json @@ -0,0 +1,1215 @@ +{ + "id": "97027698-b9e8-4d5e-81bb-9b1128447584", + "revision": 0, + "last_node_id": 120, + "last_link_id": 226, + "nodes": [ + { + "id": 3, + "type": "TextEncodeQwenImageEditPlus", + "pos": [ + 1390.1884765625, + 1996.2940673828125 + ], + "size": [ + 361.6080322265625, + 180.10000610351562 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "label": "clip", + "name": "clip", + "type": "CLIP", + "link": 128 + }, + { + "label": "vae", + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 29 + }, + { + "label": "image1", + "name": "image1", + "shape": 7, + "type": "IMAGE", + "link": 217 + }, + { + "label": "image2", + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "image3", + "name": "image3", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "label": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 206 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "TextEncodeQwenImageEditPlus", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 45, + "type": "PreviewImage", + "pos": [ + 3059.288818359375, + 1999.278564453125 + ], + "size": [ + 353.7677307128906, + 368.98291015625 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "label": "图像", + "name": "images", + "type": "IMAGE", + "link": 212 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.66", + "Node name for S&R": "PreviewImage", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.3", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 11, + "type": "TextEncodeQwenImageEditPlus", + "pos": [ + 879.9324340820312, + 1978.2626953125 + ], + "size": [ + 413.54913330078125, + 245.00962829589844 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "label": "clip", + "name": "clip", + "type": "CLIP", + "link": 127 + }, + { + "label": "vae", + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 28 + }, + { + "label": "image1", + "name": "image1", + "shape": 7, + "type": "IMAGE", + "link": 218 + }, + { + "label": "image2", + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "label": "image3", + "name": "image3", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "prompt", + "type": "STRING", + "widget": { + "name": "prompt" + }, + "link": 200 + } + ], + "outputs": [ + { + "label": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 205 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "TextEncodeQwenImageEditPlus", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "Move the camera right" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 112, + "type": "VAEEncode", + "pos": [ + 904.2840576171875, + 2320.43408203125 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 219 + }, + { + "name": "vae", + "type": "VAE", + "link": 202 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 207 + ] + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 114, + "type": "VAEDecode", + "pos": [ + 2196.060791015625, + 1857.2769775390625 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 209 + }, + { + "name": "vae", + "type": "VAE", + "link": 210 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 212, + 213 + ] + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 115, + "type": "Image Comparer (rgthree)", + "pos": [ + 2365.75258990017, + 2057.7327625081416 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "image_a", + "type": "IMAGE", + "link": 213 + }, + { + "dir": 3, + "name": "image_b", + "type": "IMAGE", + "link": 220 + } + ], + "outputs": [], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "rgthree-comfy", + "ver": "1.0.2510052058", + "comparer_mode": "Slide" + }, + "widgets_values": [ + [] + ] + }, + { + "id": 117, + "type": "ImageScaleToTotalPixels", + "pos": [ + -828.5751770792932, + 1298.9700846094279 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 216 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 217, + 218, + 219, + 220 + ] + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "ImageScaleToTotalPixels" + }, + "widgets_values": [ + "nearest-exact", + 1 + ] + }, + { + "id": 118, + "type": "LoraLoaderModelOnly", + "pos": [ + 994.4982960557551, + 1228.3149493812202 + ], + "size": [ + 375.54931954406743, + 82 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 221 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 223 + ] + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "qwen/Qwen-Edit2509-changeAngle_lora.safetensors", + 1 + ] + }, + { + "id": 84, + "type": "LoaderGGUF", + "pos": [ + 988.0912974055419, + 1119.4417350706335 + ], + "size": [ + 376.57830847906143, + 58 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 221 + ] + } + ], + "properties": { + "cnr_id": "gguf", + "ver": "2.6.5", + "Node name for S&R": "LoaderGGUF", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.3" + } + }, + "widgets_values": [ + "Qwen/Qwen-Image-Edit-2509-Q4_K_M.gguf" + ] + }, + { + "id": 119, + "type": "LoraLoaderModelOnly", + "pos": [ + 1007.0869769351632, + 1355.557390905017 + ], + "size": [ + 375.8161127660744, + 85.87764012083198 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 223 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 225 + ] + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "qwen/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors", + 1 + ] + }, + { + "id": 120, + "type": "ModelSamplingAuraFlow", + "pos": [ + 1017.3811655352504, + 1483.0936275086874 + ], + "size": [ + 358.4930484094723, + 58 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 225 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 226 + ] + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "ModelSamplingAuraFlow" + }, + "widgets_values": [ + 3 + ] + }, + { + "id": 1, + "type": "CFGNorm", + "pos": [ + 1027.443302554636, + 1586.6735852636155 + ], + "size": [ + 359.70170420556906, + 58 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "label": "model", + "name": "model", + "type": "MODEL", + "link": 226 + } + ], + "outputs": [ + { + "label": "patched_model", + "name": "patched_model", + "type": "MODEL", + "links": [ + 204 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "CFGNorm", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": { + "strength": true + }, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 113, + "type": "KSampler", + "pos": [ + 1838.355224609375, + 1828.5257568359375 + ], + "size": [ + 270, + 262 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 204 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 205 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 206 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 207 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 209 + ] + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 4, + 1, + "euler", + "beta", + 1 + ] + }, + { + "id": 79, + "type": "CLIPLoader", + "pos": [ + -177.81607932034802, + 1972.7375803422758 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "CLIP", + "name": "CLIP", + "type": "CLIP", + "links": [ + 127, + 128 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.66", + "Node name for S&R": "CLIPLoader", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.3", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "qwen_2.5_vl_7b_fp8_scaled.safetensors", + "qwen_image", + "default" + ] + }, + { + "id": 22, + "type": "VAELoader", + "pos": [ + -183.53572729757744, + 2126.9856180533648 + ], + "size": [ + 269.6375000948632, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "slot_index": 0, + "links": [ + 28, + 29, + 202, + 210 + ] + } + ], + "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.3", + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "qwen_image_vae.safetensors" + ] + }, + { + "id": 105, + "type": "Load3D", + "pos": [ + -2598.022254953333, + 2325.1913206851787 + ], + "size": [ + 1202.20139104681, + 1148.8149925777075 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null + }, + { + "name": "mask", + "type": "MASK", + "links": null + }, + { + "name": "mesh_path", + "type": "STRING", + "links": null + }, + { + "name": "normal", + "type": "IMAGE", + "links": null + }, + { + "name": "lineart", + "type": "IMAGE", + "links": null + }, + { + "name": "camera_info", + "type": "LOAD3D_CAMERA", + "links": [ + 198 + ] + }, + { + "name": "recording_video", + "type": "VIDEO", + "links": null + } + ], + "properties": { + "Resource Folder": "", + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "Load3D", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.3" + }, + "Camera Info": { + "position": { + "x": 1.316162846290647, + "y": 0.9913053640575868, + "z": 1.4578071817986635 + }, + "target": { + "x": 0.0005667033118649329, + "y": 0.31094324065815265, + "z": -0.0005127569792489145 + }, + "zoom": 1, + "cameraType": "perspective" + }, + "FOV": 77 + }, + "widgets_values": [ + "3d/reference_geometry.glb", + "upload3dmodel", + "uploadExtraResources", + "clear", + "", + 1024, + 1024 + ] + }, + { + "id": 111, + "type": "AdvancedCameraControlNode", + "pos": [ + -1266.5667395516357, + 2432.662551901132 + ], + "size": [ + 400, + 204 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "camera_info", + "type": "LOAD3D_CAMERA", + "link": 198 + } + ], + "outputs": [ + { + "name": "prompt", + "type": "STRING", + "links": [ + 199, + 200 + ] + }, + { + "name": "camera_json", + "type": "STRING", + "links": null + } + ], + "properties": { + "Node name for S&R": "AdvancedCameraControlNode", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.3" + } + }, + "widgets_values": [ + 30, + 1, + "" + ] + }, + { + "id": 86, + "type": "DisplayAny", + "pos": [ + -724.2336756383078, + 2917.237327606862 + ], + "size": [ + 470.19224727671076, + 342.2557433183997 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "input", + "type": "*", + "link": 199 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui_essentials", + "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9", + "Node name for S&R": "DisplayAny", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.3" + } + }, + "widgets_values": [ + "raw value" + ] + }, + { + "id": 116, + "type": "LoadImage", + "pos": [ + -1138.7423890516498, + 1297.4671863064232 + ], + "size": [ + 274.080078125, + 314 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 216 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "pasted/image (154).png", + "image" + ] + } + ], + "links": [ + [ + 28, + 22, + 0, + 11, + 1, + "VAE" + ], + [ + 29, + 22, + 0, + 3, + 1, + "VAE" + ], + [ + 127, + 79, + 0, + 11, + 0, + "CLIP" + ], + [ + 128, + 79, + 0, + 3, + 0, + "CLIP" + ], + [ + 198, + 105, + 5, + 111, + 0, + "LOAD3D_CAMERA" + ], + [ + 199, + 111, + 0, + 86, + 0, + "*" + ], + [ + 200, + 111, + 0, + 11, + 5, + "STRING" + ], + [ + 202, + 22, + 0, + 112, + 1, + "VAE" + ], + [ + 204, + 1, + 0, + 113, + 0, + "MODEL" + ], + [ + 205, + 11, + 0, + 113, + 1, + "CONDITIONING" + ], + [ + 206, + 3, + 0, + 113, + 2, + "CONDITIONING" + ], + [ + 207, + 112, + 0, + 113, + 3, + "LATENT" + ], + [ + 209, + 113, + 0, + 114, + 0, + "LATENT" + ], + [ + 210, + 22, + 0, + 114, + 1, + "VAE" + ], + [ + 212, + 114, + 0, + 45, + 0, + "IMAGE" + ], + [ + 213, + 114, + 0, + 115, + 0, + "IMAGE" + ], + [ + 216, + 116, + 0, + 117, + 0, + "IMAGE" + ], + [ + 217, + 117, + 0, + 3, + 2, + "IMAGE" + ], + [ + 218, + 117, + 0, + 11, + 2, + "IMAGE" + ], + [ + 219, + 117, + 0, + 112, + 0, + "IMAGE" + ], + [ + 220, + 117, + 0, + 115, + 1, + "IMAGE" + ], + [ + 221, + 84, + 0, + 118, + 0, + "MODEL" + ], + [ + 223, + 118, + 0, + 119, + 0, + "MODEL" + ], + [ + 225, + 119, + 0, + 120, + 0, + "MODEL" + ], + [ + 226, + 120, + 0, + 1, + 0, + "MODEL" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9646149645000057, + "offset": [ + 1392.1070555667125, + -1118.9338440411884 + ] + }, + "frontendVersion": "1.28.8", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "ue_links": [], + "links_added_by_ue": [] + }, + "version": 0.4 +} \ No newline at end of file diff --git a/example/example01.png b/example/example01.png new file mode 100644 index 0000000..c1832a2 Binary files /dev/null and b/example/example01.png differ diff --git a/example/example02.png b/example/example02.png new file mode 100644 index 0000000..3ce502a Binary files /dev/null and b/example/example02.png differ diff --git a/example/example03.png b/example/example03.png new file mode 100644 index 0000000..d0182a1 Binary files /dev/null and b/example/example03.png differ diff --git a/example/example04.png b/example/example04.png new file mode 100644 index 0000000..dbe921c Binary files /dev/null and b/example/example04.png differ