From 9d1357873d46a22fb1a13fa219b6c33d099e04b8 Mon Sep 17 00:00:00 2001 From: AI Lab <129358391+1038lab@users.noreply.github.com> Date: Sat, 5 Apr 2025 23:37:19 -0700 Subject: [PATCH] Add files via upload --- .../Comfyu-rmbg_v2.2.1_node_sample.json | 1108 +++++++++++++++++ 1 file changed, 1108 insertions(+) create mode 100644 example_workflows/Comfyu-rmbg_v2.2.1_node_sample.json diff --git a/example_workflows/Comfyu-rmbg_v2.2.1_node_sample.json b/example_workflows/Comfyu-rmbg_v2.2.1_node_sample.json new file mode 100644 index 0000000..2cca1b9 --- /dev/null +++ b/example_workflows/Comfyu-rmbg_v2.2.1_node_sample.json @@ -0,0 +1,1108 @@ +{ + "id": "34bfe329-b0c0-4676-801e-1abd92280fe8", + "revision": 0, + "last_node_id": 65, + "last_link_id": 1, + "nodes": [ + { + "id": 19, + "type": "BiRefNetRMBG", + "pos": [ + -70, + 440 + ], + "size": [ + 339.43121337890625, + 218 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "dd3c36675fb8651c183bc4186285cdeb759342c7", + "Node name for S&R": "BiRefNetRMBG" + }, + "widgets_values": [ + "BiRefNet-general", + 0, + 0, + "Alpha", + false, + false + ] + }, + { + "id": 22, + "type": "FaceSegment", + "pos": [ + 290, + 90 + ], + "size": [ + 312.32611083984375, + 554 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "dd3c36675fb8651c183bc4186285cdeb759342c7", + "Node name for S&R": "FaceSegment" + }, + "widgets_values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + 512, + 0, + 0, + "Alpha", + false + ] + }, + { + "id": 25, + "type": "RMBG", + "pos": [ + -70, + 90 + ], + "size": [ + 341.43365478515625, + 290.7720031738281 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "dd3c36675fb8651c183bc4186285cdeb759342c7", + "Node name for S&R": "RMBG" + }, + "widgets_values": [ + "RMBG-2.0", + 1, + 1024, + 0, + 0, + "Alpha", + false, + "default", + false + ] + }, + { + "id": 26, + "type": "Segment", + "pos": [ + 617.3160400390625, + 90 + ], + "size": [ + 336.6289978027344, + 296 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "dd3c36675fb8651c183bc4186285cdeb759342c7", + "Node name for S&R": "Segment" + }, + "widgets_values": [ + "", + "sam_vit_h (2.56GB)", + "GroundingDINO_SwinT_OGC (694MB)", + 0.35, + 0, + 0, + "Alpha", + false + ] + }, + { + "id": 24, + "type": "FashionSegmentClothing", + "pos": [ + 1380, + 90 + ], + "size": [ + 330, + 626 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + }, + { + "name": "accessories_options", + "shape": 7, + "type": "ACCESSORIES_OPTIONS", + "link": 1 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + }, + { + "name": "mask", + "type": "MASK", + "links": null + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "dd3c36675fb8651c183bc4186285cdeb759342c7", + "Node name for S&R": "FashionSegmentClothing" + }, + "widgets_values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + 512, + 0, + 0, + "Alpha", + false + ] + }, + { + "id": 23, + "type": "FashionSegmentAccessories", + "pos": [ + 970.2440185546875, + 90 + ], + "size": [ + 390.5199890136719, + 706 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "accessories_options", + "type": "ACCESSORIES_OPTIONS", + "slot_index": 0, + "links": [ + 1 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "dd3c36675fb8651c183bc4186285cdeb759342c7", + "Node name for S&R": "FashionSegmentAccessories" + }, + "widgets_values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + { + "id": 21, + "type": "ClothesSegment", + "pos": [ + 617.3160400390625, + 424.49090576171875 + ], + "size": [ + 340, + 626 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "dd3c36675fb8651c183bc4186285cdeb759342c7", + "Node name for S&R": "ClothesSegment" + }, + "widgets_values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + 512, + 0, + 0, + "Alpha", + false + ] + }, + { + "id": 55, + "type": "BodySegment", + "pos": [ + 290, + 700 + ], + "size": [ + 310, + 460 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "BodySegment" + }, + "widgets_values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + 0, + 0, + "Alpha", + false + ] + }, + { + "id": 56, + "type": "AILab_LoadImage", + "pos": [ + 1720, + 90 + ], + "size": [ + 315, + 446 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "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, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_LoadImage" + }, + "widgets_values": [ + "(G)I-DLE.webp", + "alpha", + 1, + 0, + "image", + "" + ] + }, + { + "id": 57, + "type": "AILab_ImageStitch", + "pos": [ + 1720, + 590 + ], + "size": [ + 315, + 78 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": null + }, + { + "name": "image2", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_ImageStitch" + }, + "widgets_values": [ + "right" + ] + }, + { + "id": 58, + "type": "AILab_ImageCombiner", + "pos": [ + 1720, + 720 + ], + "size": [ + 315, + 194 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "foreground", + "type": "IMAGE", + "link": null + }, + { + "name": "background", + "type": "IMAGE", + "link": null + }, + { + "name": "foreground_mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_ImageCombiner" + }, + "widgets_values": [ + "normal", + 1, + 1, + 50, + 50 + ] + }, + { + "id": 59, + "type": "AILab_ImagePreview", + "pos": [ + 2050, + 90 + ], + "size": [ + 330, + 30 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_ImagePreview" + } + }, + { + "id": 60, + "type": "AILab_MaskPreview", + "pos": [ + 2050, + 170 + ], + "size": [ + 330, + 26 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_MaskPreview" + } + }, + { + "id": 61, + "type": "AILab_Preview", + "pos": [ + 2050, + 250 + ], + "size": [ + 330, + 46 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "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, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_Preview" + } + }, + { + "id": 64, + "type": "AILab_ImageMaskConvert", + "pos": [ + 2050, + 350 + ], + "size": [ + 330, + 80 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "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, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_ImageMaskConvert" + }, + "widgets_values": [ + "alpha" + ] + }, + { + "id": 65, + "type": "AILab_MaskCombiner", + "pos": [ + 2050, + 480 + ], + "size": [ + 330, + 118 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "mask_1", + "type": "MASK", + "link": null + }, + { + "name": "mask_2", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "mask_3", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "mask_4", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_MaskCombiner" + }, + "widgets_values": [ + "combine" + ] + }, + { + "id": 62, + "type": "AILab_MaskEnhancer", + "pos": [ + 2050, + 810 + ], + "size": [ + 315, + 178 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_MaskEnhancer" + }, + "widgets_values": [ + 1, + 0, + 0, + 0, + false, + false + ] + }, + { + "id": 63, + "type": "AILab_MaskExtractor", + "pos": [ + 2050, + 660 + ], + "size": [ + 320, + 102 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + }, + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-rmbg", + "ver": "4faa7c7c12147db95345ee78b30f38273443ff99", + "Node name for S&R": "AILab_MaskExtractor" + }, + "widgets_values": [ + "invert_mask", + "transparent" + ] + } + ], + "links": [ + [ + 1, + 23, + 0, + 24, + 1, + "ACCESSORIES_OPTIONS" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.8264462809917356, + "offset": [ + 1236.7634699999996, + 265.38560999999976 + ] + }, + "ue_links": [], + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file