diff --git a/workflow/example_workflow.json b/workflow/example_workflow.json new file mode 100644 index 0000000..a24560d --- /dev/null +++ b/workflow/example_workflow.json @@ -0,0 +1,175 @@ +{ + "last_node_id": 4, + "last_link_id": 3, + "nodes": [ + { + "id": 2, + "type": "LoadImage", + "pos": [ + 496, + 553 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "1024x1024-1Accessories1Bag3811492306_4ae60c73b6_o.jpg", + "image" + ] + }, + { + "id": 4, + "type": "PreviewImage", + "pos": [ + 1529, + 552 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 3, + "type": "MaskToImage", + "pos": [ + 1244, + 552 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 2 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 1, + "type": "BiRefNet", + "pos": [ + 882, + 557 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [ + { + "name": "mask", + "type": "Mask", + "links": [ + 2 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BiRefNet" + }, + "widgets_values": [ + "cuda:0" + ] + } + ], + "links": [ + [ + 1, + 2, + 0, + 1, + 0, + "IMAGE" + ], + [ + 2, + 1, + 0, + 3, + 0, + "MASK" + ], + [ + 3, + 3, + 0, + 4, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file