From 10cde07d3de4bfb8c088b676c977a242c233cc34 Mon Sep 17 00:00:00 2001 From: AI Lab <129358391+1038lab@users.noreply.github.com> Date: Sun, 27 Jul 2025 13:47:49 -0700 Subject: [PATCH] Add files via upload --- example_workflows/V2.7.0_ImageStitch.json | 487 ++++++++++++++++++++ example_workflows/V2.7.0_LoadImage.json | 528 ++++++++++++++++++++++ 2 files changed, 1015 insertions(+) create mode 100644 example_workflows/V2.7.0_ImageStitch.json create mode 100644 example_workflows/V2.7.0_LoadImage.json diff --git a/example_workflows/V2.7.0_ImageStitch.json b/example_workflows/V2.7.0_ImageStitch.json new file mode 100644 index 0000000..2b45e24 --- /dev/null +++ b/example_workflows/V2.7.0_ImageStitch.json @@ -0,0 +1,487 @@ +{ + "id": "7cbcec68-7fa6-47bb-a38a-da689949a001", + "revision": 0, + "last_node_id": 224, + "last_link_id": 592, + "nodes": [ + { + "id": 206, + "type": "AILab_ImagePreview", + "pos": [ + -330, + 1240 + ], + "size": [ + 1260, + 830 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 592 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_ImagePreview", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 215, + "type": "AILab_ImagePreview", + "pos": [ + -816.9396362304688, + 1240 + ], + "size": [ + 210.81893920898438, + 246 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 395 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 396 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_ImagePreview", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 216, + "type": "AILab_LoadImageSimple", + "pos": [ + -1170, + 1540 + ], + "size": [ + 320, + 146 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 399 + ] + }, + { + "name": "WIDTH", + "type": "INT", + "links": null + }, + { + "name": "HEIGHT", + "type": "INT", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_LoadImageSimple", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "https://img.kwcdn.com/product/open/ea4b23dc06b54dbe9a1a2f3e70559646-goods.jpeg", + "", + "image" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 217, + "type": "AILab_LoadImageSimple", + "pos": [ + -1170, + 1810 + ], + "size": [ + 320, + 146 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 400 + ] + }, + { + "name": "WIDTH", + "type": "INT", + "links": [] + }, + { + "name": "HEIGHT", + "type": "INT", + "links": [] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_LoadImageSimple", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "https://www.jrailpass.com/blog/wp-content/uploads/2018/01/hirosaki-castle-aomori-sakura.jpg", + "", + "image" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 218, + "type": "AILab_ImageStitch", + "pos": [ + -573.0603637695312, + 1520 + ], + "size": [ + 210, + 230 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 396 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 397 + }, + { + "name": "image3", + "shape": 7, + "type": "IMAGE", + "link": 398 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 592 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_ImageStitch", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "kontext_mode", + true, + 2048, + 0, + 10, + "#FFFFFF" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 219, + "type": "AILab_ImagePreview", + "pos": [ + -816.9396362304688, + 1540 + ], + "size": [ + 210.81893920898438, + 246 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 399 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 397 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_ImagePreview", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 220, + "type": "AILab_ImagePreview", + "pos": [ + -816.9396362304688, + 1830 + ], + "size": [ + 210.81893920898438, + 246.0001220703125 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 400 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 398 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_ImagePreview", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 221, + "type": "AILab_LoadImageSimple", + "pos": [ + -1170, + 1240 + ], + "size": [ + 320, + 146 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 395 + ] + }, + { + "name": "WIDTH", + "type": "INT", + "links": null + }, + { + "name": "HEIGHT", + "type": "INT", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_LoadImageSimple", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "https://i.pinimg.com/originals/1e/af/9e/1eaf9e95369ec0e7afcdeb28ac47cfbc.jpg", + "", + "image" + ], + "color": "#223", + "bgcolor": "#335" + } + ], + "links": [ + [ + 395, + 221, + 0, + 215, + 0, + "IMAGE" + ], + [ + 396, + 215, + 0, + 218, + 0, + "IMAGE" + ], + [ + 397, + 219, + 0, + 218, + 1, + "IMAGE" + ], + [ + 398, + 220, + 0, + 218, + 2, + "IMAGE" + ], + [ + 399, + 216, + 0, + 219, + 0, + "IMAGE" + ], + [ + 400, + 217, + 0, + 220, + 0, + "IMAGE" + ], + [ + 592, + 218, + 0, + 206, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.5559917313492746, + "offset": [ + 1270, + -1140 + ] + }, + "frontendVersion": "1.23.4", + "groupNodes": {}, + "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_workflows/V2.7.0_LoadImage.json b/example_workflows/V2.7.0_LoadImage.json new file mode 100644 index 0000000..975288d --- /dev/null +++ b/example_workflows/V2.7.0_LoadImage.json @@ -0,0 +1,528 @@ +{ + "id": "1a7321ee-97bf-4a7a-9d5f-bcf61a554c0c", + "revision": 0, + "last_node_id": 99, + "last_link_id": 266, + "nodes": [ + { + "id": 88, + "type": "AILab_LoadImage", + "pos": [ + 1800, + -1410 + ], + "size": [ + 320, + 280 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 262 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 263 + ] + }, + { + "name": "WIDTH", + "type": "INT", + "links": null + }, + { + "name": "HEIGHT", + "type": "INT", + "links": null + } + ], + "title": "Load Image (RMBG) 🖼️ (URL)", + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_LoadImage", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "https://substackcdn.com/image/fetch/$s_!MnF_!,f_auto,q_auto:best,fl_progressive:steep/https%3A%2F%2Fcomfyui.substack.com%2Fapi%2Fv1%2Fpost_preview%2F154339960%2Ftwitter.jpg%3Fversion%3D4", + "", + "lanczos", + 1, + "longest_side", + 0, + "image" + ], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 89, + "type": "AILab_LoadImageAdvanced", + "pos": [ + 2636.666748046875, + -1730 + ], + "size": [ + 320, + 600 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 264 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 265 + ] + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "WIDTH", + "type": "INT", + "links": null + }, + { + "name": "HEIGHT", + "type": "INT", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_LoadImageAdvanced", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "", + "00038-1792519471.jpg", + "blue", + "lanczos", + 1, + "longest_side", + 0, + "image" + ], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 90, + "type": "AILab_LoadImageSimple", + "pos": [ + 1800, + -1730 + ], + "size": [ + 320, + 146 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 261 + ] + }, + { + "name": "WIDTH", + "type": "INT", + "links": null + }, + { + "name": "HEIGHT", + "type": "INT", + "links": null + } + ], + "title": "Load Image Simple (RMBG) 🖼️ (path)", + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_LoadImageSimple", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "O:\\Outputs\\ailab.png", + "", + "image" + ], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 91, + "type": "AILab_Preview", + "pos": [ + 2153.333251953125, + -1408 + ], + "size": [ + 450, + 280 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": 262 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 263 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_Preview", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 93, + "type": "AILab_Preview", + "pos": [ + 2990, + -1730 + ], + "size": [ + 830, + 600 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": 264 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 265 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_Preview", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 94, + "type": "AILab_ImagePreview", + "pos": [ + 2153.333251953125, + -1730 + ], + "size": [ + 450, + 258 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 261 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "Node name for S&R": "AILab_ImagePreview", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#2e3e57", + "bgcolor": "#4b5b73" + }, + { + "id": 97, + "type": "Label (rgthree)", + "pos": [ + 1800, + -1810 + ], + "size": [ + 262.904296875, + 22 + ], + "flags": { + "allow_interaction": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Image Path / Network Path", + "properties": { + "fontSize": 22, + "fontFamily": "Arial", + "fontColor": "#1d97de", + "textAlign": "left", + "backgroundColor": "transparent", + "padding": 0, + "borderRadius": 0, + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "widget_ue_connectable": {} + }, + "color": "#fff0", + "bgcolor": "#fff0" + }, + { + "id": 98, + "type": "Label (rgthree)", + "pos": [ + 1800, + -1480 + ], + "size": [ + 191.9521484375, + 22 + ], + "flags": { + "allow_interaction": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "URL: ( http / https ) ", + "properties": { + "fontSize": 22, + "fontFamily": "Arial", + "fontColor": "#1d97de", + "textAlign": "left", + "backgroundColor": "transparent", + "padding": 0, + "borderRadius": 0, + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "widget_ue_connectable": {} + }, + "color": "#fff0", + "bgcolor": "#fff0" + }, + { + "id": 99, + "type": "Label (rgthree)", + "pos": [ + 2640, + -1810 + ], + "size": [ + 343.6533203125, + 22 + ], + "flags": { + "allow_interaction": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Load from or upload to input Folder", + "properties": { + "fontSize": 22, + "fontFamily": "Arial", + "fontColor": "#1d97de", + "textAlign": "left", + "backgroundColor": "transparent", + "padding": 0, + "borderRadius": 0, + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "widget_ue_connectable": {} + }, + "color": "#fff0", + "bgcolor": "#fff0" + } + ], + "links": [ + [ + 261, + 90, + 0, + 94, + 0, + "IMAGE" + ], + [ + 262, + 88, + 0, + 91, + 0, + "IMAGE" + ], + [ + 263, + 88, + 1, + 91, + 1, + "MASK" + ], + [ + 264, + 89, + 0, + 93, + 0, + "IMAGE" + ], + [ + 265, + 89, + 1, + 93, + 1, + "MASK" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.7272727272727318, + "offset": [ + -1700, + 1910 + ] + }, + "ue_links": [], + "links_added_by_ue": [], + "frontendVersion": "1.23.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file