Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "0013f08f-1637-449f-95d8-10d3b89ee856",
- "revision": 0,
- "last_node_id": 136,
- "last_link_id": 154,
- "nodes": [
- {
- "id": 22,
- "type": "Reroute",
- "pos": [
- 42820,
- 4560
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 41,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 77
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": [
- 3,
- 33
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 32,
- "type": "ToBasicPipe",
- "pos": [
- 43360,
- 4130
- ],
- "size": [
- 147.66665649414062,
- 106
- ],
- "flags": {},
- "order": 0,
- "mode": 0,
- "inputs": [
- {
- "name": "model",
- "type": "MODEL",
- "link": null
- },
- {
- "name": "clip",
- "type": "CLIP",
- "link": null
- },
- {
- "name": "vae",
- "type": "VAE",
- "link": null
- },
- {
- "name": "positive",
- "type": "CONDITIONING",
- "link": null
- },
- {
- "name": "negative",
- "type": "CONDITIONING",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "basic_pipe",
- "type": "BASIC_PIPE",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-impact-pack",
- "ver": "8.8.1",
- "Node name for S&R": "ToBasicPipe"
- },
- "widgets_values": []
- },
- {
- "id": 43,
- "type": "Florence2toCoordinates",
- "pos": [
- 43310,
- 4930
- ],
- "size": [
- 210,
- 102
- ],
- "flags": {},
- "order": 53,
- "mode": 0,
- "inputs": [
- {
- "name": "data",
- "type": "JSON",
- "link": 47
- }
- ],
- "outputs": [
- {
- "name": "center_coordinates",
- "type": "STRING",
- "links": null
- },
- {
- "name": "bboxes",
- "type": "BBOX",
- "links": [
- 48
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI-segment-anything-2",
- "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
- "Node name for S&R": "Florence2toCoordinates"
- },
- "widgets_values": [
- "",
- false
- ]
- },
- {
- "id": 39,
- "type": "MaskPreview+",
- "pos": [
- 43550,
- 5090
- ],
- "size": [
- 150.13333129882812,
- 246
- ],
- "flags": {},
- "order": 58,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 40
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfyui_essentials",
- "ver": "1.1.0",
- "Node name for S&R": "MaskPreview+"
- },
- "widgets_values": []
- },
- {
- "id": 38,
- "type": "MaskPreview+",
- "pos": [
- 43150,
- 5290
- ],
- "size": [
- 150.13333129882812,
- 246
- ],
- "flags": {},
- "order": 52,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 39
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfyui_essentials",
- "ver": "1.1.0",
- "Node name for S&R": "MaskPreview+"
- },
- "widgets_values": []
- },
- {
- "id": 37,
- "type": "DownloadAndLoadSAM2Model",
- "pos": [
- 43450,
- 4690
- ],
- "size": [
- 300,
- 130
- ],
- "flags": {},
- "order": 1,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "sam2_model",
- "type": "SAM2MODEL",
- "links": [
- 37
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI-segment-anything-2",
- "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
- "Node name for S&R": "DownloadAndLoadSAM2Model"
- },
- "widgets_values": [
- "sam2.1_hiera_base_plus.safetensors",
- "single_image",
- "cuda",
- "fp16"
- ]
- },
- {
- "id": 50,
- "type": "DownloadAndLoadSAM2Model",
- "pos": [
- 45210,
- 3980
- ],
- "size": [
- 300,
- 130
- ],
- "flags": {},
- "order": 2,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "sam2_model",
- "type": "SAM2MODEL",
- "links": [
- 54
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI-segment-anything-2",
- "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
- "Node name for S&R": "DownloadAndLoadSAM2Model"
- },
- "widgets_values": [
- "sam2.1_hiera_base_plus.safetensors",
- "single_image",
- "cuda",
- "fp16"
- ]
- },
- {
- "id": 55,
- "type": "Reroute",
- "pos": [
- 45570,
- 4150
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 72,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 62
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": [
- 63
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 57,
- "type": "Reroute",
- "pos": [
- 44080,
- 3860
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 40,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 73
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "BASIC_PIPE",
- "links": [
- 66
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 58,
- "type": "Reroute",
- "pos": [
- 45480,
- 3860
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 47,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 66
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "BASIC_PIPE",
- "links": [
- 67
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 42,
- "type": "Note",
- "pos": [
- 43520,
- 4200
- ],
- "size": [
- 220,
- 88
- ],
- "flags": {},
- "order": 3,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "You can make a pipe with inputs or with a simple MAKE-BASIC_PIPE"
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 11,
- "type": "PreviewImage",
- "pos": [
- 44330,
- 4400
- ],
- "size": [
- 220,
- 350
- ],
- "flags": {},
- "order": 65,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 6
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "PreviewImage"
- },
- "widgets_values": []
- },
- {
- "id": 41,
- "type": "PreviewImage",
- "pos": [
- 44440,
- 4880
- ],
- "size": [
- 560,
- 640
- ],
- "flags": {},
- "order": 62,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 43
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "PreviewImage"
- },
- "widgets_values": []
- },
- {
- "id": 66,
- "type": "PreviewImage",
- "pos": [
- 43310,
- 5100
- ],
- "size": [
- 220,
- 350
- ],
- "flags": {},
- "order": 51,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 75
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "PreviewImage"
- },
- "widgets_values": []
- },
- {
- "id": 68,
- "type": "Label (rgthree)",
- "pos": [
- 43840,
- 4080
- ],
- "size": [
- 720.4000244140625,
- 48
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 4,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Focus and detail with Crop&Stitch",
- "properties": {
- "fontSize": 48,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 52,
- "type": "Reroute",
- "pos": [
- 44570,
- 4150
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 67,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 58
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": [
- 59
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 75,
- "type": "Reroute",
- "pos": [
- 45480,
- 3900
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 68,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 79
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "STITCHER",
- "links": [
- 80
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 74,
- "type": "Reroute",
- "pos": [
- 44370,
- 3900
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 64,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 78
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "STITCHER",
- "links": [
- 79
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 53,
- "type": "Reroute",
- "pos": [
- 45000,
- 4150
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 70,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 59
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": [
- 60,
- 62
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 45,
- "type": "Florence2ModelLoader",
- "pos": [
- 44580,
- 3980
- ],
- "size": [
- 380,
- 160
- ],
- "flags": {},
- "order": 5,
- "mode": 0,
- "inputs": [
- {
- "name": "lora",
- "shape": 7,
- "type": "PEFTLORA",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "florence2_model",
- "type": "FL2MODEL",
- "links": [
- 51,
- 83
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-florence2",
- "ver": "1.0.3",
- "Node name for S&R": "Florence2ModelLoader"
- },
- "widgets_values": [
- "large-PromptGen-v2.0",
- "fp16",
- "eager"
- ]
- },
- {
- "id": 34,
- "type": "Reroute",
- "pos": [
- 43230,
- 4560
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 49,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 33
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": [
- 35,
- 45,
- 104
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 35,
- "type": "Reroute",
- "pos": [
- 43670,
- 4560
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 54,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 35
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": [
- 46,
- 113
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 93,
- "type": "Reroute",
- "pos": [
- 43870,
- 4180
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 57,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 113
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": null
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 40,
- "type": "MaskToSEGS",
- "pos": [
- 43780,
- 4900
- ],
- "size": [
- 210,
- 154
- ],
- "flags": {},
- "order": 60,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 116
- }
- ],
- "outputs": [
- {
- "name": "SEGS",
- "type": "SEGS",
- "links": [
- 42
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-impact-pack",
- "ver": "8.8.1",
- "Node name for S&R": "MaskToSEGS"
- },
- "widgets_values": [
- true,
- 3,
- false,
- 10,
- false
- ]
- },
- {
- "id": 36,
- "type": "Sam2Segmentation",
- "pos": [
- 43540,
- 4870
- ],
- "size": [
- 212,
- 182
- ],
- "flags": {},
- "order": 56,
- "mode": 0,
- "inputs": [
- {
- "name": "sam2_model",
- "type": "SAM2MODEL",
- "link": 37
- },
- {
- "name": "image",
- "type": "IMAGE",
- "link": 45
- },
- {
- "name": "coordinates_positive",
- "shape": 7,
- "type": "STRING",
- "link": null
- },
- {
- "name": "coordinates_negative",
- "shape": 7,
- "type": "STRING",
- "link": null
- },
- {
- "name": "bboxes",
- "shape": 7,
- "type": "BBOX",
- "link": 48
- },
- {
- "name": "mask",
- "shape": 7,
- "type": "MASK",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "mask",
- "type": "MASK",
- "links": [
- 40,
- 115
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI-segment-anything-2",
- "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
- "Node name for S&R": "Sam2Segmentation"
- },
- "widgets_values": [
- false,
- true
- ]
- },
- {
- "id": 91,
- "type": "Reroute",
- "pos": [
- 43690,
- 5490
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 55,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 104
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "IMAGE",
- "links": []
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 98,
- "type": "Label (rgthree)",
- "pos": [
- 43470,
- 5530
- ],
- "size": [
- 283.0333251953125,
- 38
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 6,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Detail Reference",
- "properties": {
- "fontSize": 38,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 92,
- "type": "Reroute",
- "pos": [
- 43410,
- 5490
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 33,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 110
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "FL2MODEL",
- "links": [
- 111
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 100,
- "type": "Label (rgthree)",
- "pos": [
- 42920,
- 4230
- ],
- "size": [
- 440.5,
- 34
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 7,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Loading checkpoint & prompt",
- "properties": {
- "fontSize": 34,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 103,
- "type": "Label (rgthree)",
- "pos": [
- 45390,
- 4850
- ],
- "size": [
- 426.3500061035156,
- 28
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 8,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Generate prompt from crop & add",
- "properties": {
- "fontSize": 28,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 104,
- "type": "Label (rgthree)",
- "pos": [
- 45830,
- 3990
- ],
- "size": [
- 473.01666259765625,
- 28
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 9,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Stitch masked image to original image",
- "properties": {
- "fontSize": 28,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 105,
- "type": "Label (rgthree)",
- "pos": [
- 43470,
- 4600
- ],
- "size": [
- 373.6833190917969,
- 38
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 10,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Make mask from SAM",
- "properties": {
- "fontSize": 38,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 106,
- "type": "Label (rgthree)",
- "pos": [
- 43800,
- 4810
- ],
- "size": [
- 183.63333129882812,
- 28
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 11,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Mask to SEGS",
- "properties": {
- "fontSize": 28,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 63,
- "type": "Note",
- "pos": [
- 42680,
- 5140
- ],
- "size": [
- 220,
- 88
- ],
- "flags": {},
- "order": 12,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "Load image and say what you want to me BBOXed."
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 72,
- "type": "ImageScaleBy",
- "pos": [
- 42690,
- 5010
- ],
- "size": [
- 210,
- 82
- ],
- "flags": {},
- "order": 35,
- "mode": 4,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 76
- }
- ],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 77
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "ImageScaleBy"
- },
- "widgets_values": [
- "bicubic",
- 2.0000000000000004
- ]
- },
- {
- "id": 73,
- "type": "Note",
- "pos": [
- 42680,
- 4880
- ],
- "size": [
- 220,
- 88
- ],
- "flags": {},
- "order": 13,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "If you upscale the image, you can preserve more of the zoom quality from crop&stitch"
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 101,
- "type": "Label (rgthree)",
- "pos": [
- 42790,
- 5740
- ],
- "size": [
- 200.64999389648438,
- 38
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 14,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Input Image",
- "properties": {
- "fontSize": 38,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 97,
- "type": "GrowMask",
- "pos": [
- 43780,
- 4700
- ],
- "size": [
- 210,
- 82
- ],
- "flags": {},
- "order": 59,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 115
- }
- ],
- "outputs": [
- {
- "name": "MASK",
- "type": "MASK",
- "links": [
- 116,
- 117
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "GrowMask"
- },
- "widgets_values": [
- 32,
- true
- ]
- },
- {
- "id": 64,
- "type": "Note",
- "pos": [
- 43710,
- 5100
- ],
- "size": [
- 220,
- 100
- ],
- "flags": {},
- "order": 15,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "SAM2 Handles the actually segmentation/masking based on what is in the BBOX. If SAM is not giving you a good mask, check the BBOX then zoom it in."
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 67,
- "type": "Note",
- "pos": [
- 43800,
- 5310
- ],
- "size": [
- 220,
- 140
- ],
- "flags": {},
- "order": 16,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "You can use these keywords at the start of the detailer prompt followed by a space to change how it's applied.\n[REPLACE] glowing eyes, 1boy\n[CONCAT] glowing eyes, 1boy\n[ADD] glowing eyes, 1boy\n[AVERAGE]"
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 99,
- "type": "Label (rgthree)",
- "pos": [
- 42880,
- 4570
- ],
- "size": [
- 346.3833312988281,
- 38
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 17,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Make general BBOX",
- "properties": {
- "fontSize": 38,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 8,
- "type": "Florence2ModelLoader",
- "pos": [
- 42920,
- 4650
- ],
- "size": [
- 380,
- 160
- ],
- "flags": {},
- "order": 18,
- "mode": 0,
- "inputs": [
- {
- "name": "lora",
- "shape": 7,
- "type": "PEFTLORA",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "florence2_model",
- "type": "FL2MODEL",
- "links": [
- 4,
- 110
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-florence2",
- "ver": "1.0.3",
- "Node name for S&R": "Florence2ModelLoader"
- },
- "widgets_values": [
- "large-PromptGen-v2.0",
- "fp16",
- "eager"
- ]
- },
- {
- "id": 62,
- "type": "Reroute",
- "pos": [
- 43590,
- 4310
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 34,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 72
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "BASIC_PIPE",
- "links": [
- 73,
- 74
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 95,
- "type": "Note",
- "pos": [
- 44250,
- 5630
- ],
- "size": [
- 210,
- 160
- ],
- "flags": {},
- "order": 19,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "Sampler:\n[er_sde] for more image adherence. (Best image context sampler IMO)\n[dmp_2] for mild uniqueness.\n[Seeds2/3] for low step high quality.\n[dpmpp_3m_sde_gpu] more prompt adherence and noise."
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 70,
- "type": "Label (rgthree)",
- "pos": [
- 44260,
- 5540
- ],
- "size": [
- 197.39999389648438,
- 48
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 20,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "No Zoom",
- "properties": {
- "fontSize": 48,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 90,
- "type": "StringConcatenate",
- "pos": [
- 44020,
- 5570
- ],
- "size": [
- 210,
- 166
- ],
- "flags": {
- "collapsed": false
- },
- "order": 46,
- "mode": 0,
- "inputs": [
- {
- "name": "string_b",
- "type": "STRING",
- "widget": {
- "name": "string_b"
- },
- "link": 101
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 125
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "StringConcatenate"
- },
- "widgets_values": [
- "[CONCAT] ",
- "",
- ""
- ]
- },
- {
- "id": 51,
- "type": "MaskPreview+",
- "pos": [
- 45190,
- 4520
- ],
- "size": [
- 230,
- 310
- ],
- "flags": {},
- "order": 74,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 57
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfyui_essentials",
- "ver": "1.1.0",
- "Node name for S&R": "MaskPreview+"
- },
- "widgets_values": []
- },
- {
- "id": 48,
- "type": "Florence2toCoordinates",
- "pos": [
- 44990,
- 4350
- ],
- "size": [
- 210,
- 102
- ],
- "flags": {},
- "order": 69,
- "mode": 0,
- "inputs": [
- {
- "name": "data",
- "type": "JSON",
- "link": 56
- }
- ],
- "outputs": [
- {
- "name": "center_coordinates",
- "type": "STRING",
- "links": null
- },
- {
- "name": "bboxes",
- "type": "BBOX",
- "links": [
- 55
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI-segment-anything-2",
- "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
- "Node name for S&R": "Florence2toCoordinates"
- },
- "widgets_values": [
- "",
- false
- ]
- },
- {
- "id": 49,
- "type": "Sam2Segmentation",
- "pos": [
- 45260,
- 4300
- ],
- "size": [
- 212,
- 182
- ],
- "flags": {},
- "order": 71,
- "mode": 0,
- "inputs": [
- {
- "name": "sam2_model",
- "type": "SAM2MODEL",
- "link": 54
- },
- {
- "name": "image",
- "type": "IMAGE",
- "link": 60
- },
- {
- "name": "coordinates_positive",
- "shape": 7,
- "type": "STRING",
- "link": null
- },
- {
- "name": "coordinates_negative",
- "shape": 7,
- "type": "STRING",
- "link": null
- },
- {
- "name": "bboxes",
- "shape": 7,
- "type": "BBOX",
- "link": 55
- },
- {
- "name": "mask",
- "shape": 7,
- "type": "MASK",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "mask",
- "type": "MASK",
- "links": [
- 53,
- 57
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI-segment-anything-2",
- "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
- "Node name for S&R": "Sam2Segmentation"
- },
- "widgets_values": [
- false,
- true
- ]
- },
- {
- "id": 21,
- "type": "InpaintCropImproved",
- "pos": [
- 44030,
- 4190
- ],
- "size": [
- 290,
- 626
- ],
- "flags": {},
- "order": 63,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 112
- },
- {
- "name": "mask",
- "shape": 7,
- "type": "MASK",
- "link": 117
- },
- {
- "name": "optional_context_mask",
- "shape": 7,
- "type": "MASK",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "stitcher",
- "type": "STITCHER",
- "links": [
- 78
- ]
- },
- {
- "name": "cropped_image",
- "type": "IMAGE",
- "links": [
- 6,
- 15,
- 58
- ]
- },
- {
- "name": "cropped_mask",
- "type": "MASK",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-inpaint-cropandstitch",
- "ver": "2.1.7",
- "Node name for S&R": "InpaintCropImproved"
- },
- "widgets_values": [
- "bilinear",
- "bicubic",
- false,
- "ensure minimum resolution",
- 1024,
- 1024,
- 16384,
- 16384,
- true,
- 0,
- false,
- 32,
- 0.1,
- false,
- 1,
- 1,
- 1,
- 1,
- 1.2000000000000002,
- true,
- 1024,
- 1536,
- "32"
- ]
- },
- {
- "id": 94,
- "type": "LoadImage",
- "pos": [
- 43540,
- 5610
- ],
- "size": [
- 214,
- 314
- ],
- "flags": {},
- "order": 21,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 114
- ]
- },
- {
- "name": "MASK",
- "type": "MASK",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "LoadImage"
- },
- "widgets_values": [
- "maxresdefault.jpg",
- "image"
- ]
- },
- {
- "id": 81,
- "type": "StringConcatenate",
- "pos": [
- 45650,
- 4890
- ],
- "size": [
- 210,
- 166
- ],
- "flags": {
- "collapsed": false
- },
- "order": 44,
- "mode": 0,
- "inputs": [
- {
- "name": "string_b",
- "type": "STRING",
- "widget": {
- "name": "string_b"
- },
- "link": 133
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 132
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "StringConcatenate"
- },
- "widgets_values": [
- "[ADD] ",
- "",
- ""
- ]
- },
- {
- "id": 85,
- "type": "Florence2Run",
- "pos": [
- 43780,
- 5520
- ],
- "size": [
- 230,
- 364
- ],
- "flags": {},
- "order": 39,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 114
- },
- {
- "name": "florence2_model",
- "type": "FL2MODEL",
- "link": 111
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "mask",
- "type": "MASK",
- "links": null
- },
- {
- "name": "caption",
- "type": "STRING",
- "links": [
- 101
- ]
- },
- {
- "name": "data",
- "type": "JSON",
- "links": []
- }
- ],
- "properties": {
- "cnr_id": "comfyui-florence2",
- "ver": "1.0.3",
- "Node name for S&R": "Florence2Run"
- },
- "widgets_values": [
- "",
- "more_detailed_caption",
- true,
- false,
- 1024,
- 3,
- true,
- "",
- 1014014372455311,
- "fixed"
- ]
- },
- {
- "id": 31,
- "type": "workflow>MAKE_BASIC_PIPE",
- "pos": [
- 42930,
- 4300
- ],
- "size": [
- 580,
- 250
- ],
- "flags": {},
- "order": 22,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "basic_pipe",
- "type": "BASIC_PIPE",
- "slot_index": 0,
- "links": [
- 72
- ]
- }
- ],
- "properties": {
- "Node name for S&R": "workflow/MAKE_BASIC_PIPE"
- },
- "widgets_values": [
- "checkpoints\\XL\\EXEL\\juggernautXL_ragnarokBy_EXEL.safetensors",
- "",
- ""
- ]
- },
- {
- "id": 102,
- "type": "Label (rgthree)",
- "pos": [
- 44960,
- 4190
- ],
- "size": [
- 325.1833190917969,
- 38
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 23,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Mask from cropped",
- "properties": {
- "fontSize": 38,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 59,
- "type": "InpaintStitchImproved",
- "pos": [
- 45970,
- 4080
- ],
- "size": [
- 214.9833221435547,
- 46
- ],
- "flags": {},
- "order": 76,
- "mode": 0,
- "inputs": [
- {
- "name": "stitcher",
- "type": "STITCHER",
- "link": 80
- },
- {
- "name": "inpainted_image",
- "type": "IMAGE",
- "link": 69
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": [
- 134
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-inpaint-cropandstitch",
- "ver": "2.1.7",
- "Node name for S&R": "InpaintStitchImproved"
- },
- "widgets_values": []
- },
- {
- "id": 114,
- "type": "PreviewImage",
- "pos": [
- 45060,
- 4880
- ],
- "size": [
- 550,
- 640
- ],
- "flags": {},
- "order": 77,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 134
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "PreviewImage"
- },
- "widgets_values": []
- },
- {
- "id": 5,
- "type": "LoadImage",
- "pos": [
- 42690,
- 5270
- ],
- "size": [
- 390,
- 460
- ],
- "flags": {},
- "order": 24,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 76
- ]
- },
- {
- "name": "MASK",
- "type": "MASK",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "LoadImage"
- },
- "widgets_values": [
- "easyPreview_temp_mrfru_00001_.png",
- "image"
- ]
- },
- {
- "id": 7,
- "type": "Florence2Run",
- "pos": [
- 42900,
- 4870
- ],
- "size": [
- 400,
- 364
- ],
- "flags": {},
- "order": 48,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 3
- },
- {
- "name": "florence2_model",
- "type": "FL2MODEL",
- "link": 4
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": [
- 75
- ]
- },
- {
- "name": "mask",
- "type": "MASK",
- "links": [
- 39
- ]
- },
- {
- "name": "caption",
- "type": "STRING",
- "links": null
- },
- {
- "name": "data",
- "type": "JSON",
- "links": [
- 47
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-florence2",
- "ver": "1.0.3",
- "Node name for S&R": "Florence2Run"
- },
- "widgets_values": [
- "face",
- "caption_to_phrase_grounding",
- true,
- false,
- 1024,
- 4,
- true,
- "",
- 707999423159869,
- "fixed"
- ]
- },
- {
- "id": 20,
- "type": "Florence2Run",
- "pos": [
- 44570,
- 4290
- ],
- "size": [
- 400,
- 364
- ],
- "flags": {},
- "order": 66,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 15
- },
- {
- "name": "florence2_model",
- "type": "FL2MODEL",
- "link": 51
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": []
- },
- {
- "name": "mask",
- "type": "MASK",
- "links": []
- },
- {
- "name": "caption",
- "type": "STRING",
- "links": null
- },
- {
- "name": "data",
- "type": "JSON",
- "links": [
- 56
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-florence2",
- "ver": "1.0.3",
- "Node name for S&R": "Florence2Run"
- },
- "widgets_values": [
- "eye hole",
- "caption_to_phrase_grounding",
- true,
- false,
- 1024,
- 4,
- true,
- "",
- 707999423159869,
- "fixed"
- ]
- },
- {
- "id": 118,
- "type": "LayerMask: LoadBiRefNetModelV2",
- "pos": [
- 44920,
- 5550
- ],
- "size": [
- 340,
- 80
- ],
- "flags": {},
- "order": 25,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "birefnet_model",
- "type": "BIREFNET_MODEL",
- "links": [
- 138
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI_LayerStyle_Advance",
- "ver": "0f9184100e626e3202568a7cf890b3b92685a168",
- "Node name for S&R": "LayerMask: LoadBiRefNetModelV2"
- },
- "widgets_values": [
- "BiRefNet-General"
- ],
- "color": "rgba(27, 80, 119, 0.7)"
- },
- {
- "id": 125,
- "type": "LoadImage",
- "pos": [
- 44690,
- 5580
- ],
- "size": [
- 214,
- 326
- ],
- "flags": {},
- "order": 26,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 146
- ]
- },
- {
- "name": "MASK",
- "type": "MASK",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "LoadImage"
- },
- "widgets_values": [
- "easyPreview_temp_mrfru_00001_.png",
- "image"
- ]
- },
- {
- "id": 126,
- "type": "MaskPreview+",
- "pos": [
- 45280,
- 5620
- ],
- "size": [
- 160,
- 250
- ],
- "flags": {},
- "order": 43,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 145
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfyui_essentials",
- "ver": "1.1.0",
- "Node name for S&R": "MaskPreview+"
- },
- "widgets_values": []
- },
- {
- "id": 127,
- "type": "PreviewImage",
- "pos": [
- 45450,
- 5620
- ],
- "size": [
- 160,
- 246
- ],
- "flags": {},
- "order": 42,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 147
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "PreviewImage"
- },
- "widgets_values": []
- },
- {
- "id": 119,
- "type": "LayerMask: BiRefNetUltraV2",
- "pos": [
- 44910,
- 5680
- ],
- "size": [
- 351.4090881347656,
- 246
- ],
- "flags": {},
- "order": 36,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 146
- },
- {
- "name": "birefnet_model",
- "type": "BIREFNET_MODEL",
- "link": 138
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": [
- 147
- ]
- },
- {
- "name": "mask",
- "type": "MASK",
- "links": [
- 145
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI_LayerStyle_Advance",
- "ver": "0f9184100e626e3202568a7cf890b3b92685a168",
- "Node name for S&R": "LayerMask: BiRefNetUltraV2"
- },
- "widgets_values": [
- "VITMatte",
- 4,
- 2,
- 0.010000000000000002,
- 0.99,
- false,
- "cuda",
- 2
- ],
- "color": "rgba(27, 80, 119, 0.7)"
- },
- {
- "id": 76,
- "type": "Florence2Run",
- "pos": [
- 45640,
- 4480
- ],
- "size": [
- 230,
- 364
- ],
- "flags": {},
- "order": 37,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 124
- },
- {
- "name": "florence2_model",
- "type": "FL2MODEL",
- "link": 83
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "mask",
- "type": "MASK",
- "links": null
- },
- {
- "name": "caption",
- "type": "STRING",
- "links": [
- 133
- ]
- },
- {
- "name": "data",
- "type": "JSON",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-florence2",
- "ver": "1.0.3",
- "Node name for S&R": "Florence2Run"
- },
- "widgets_values": [
- "",
- "more_detailed_caption",
- true,
- false,
- 1024,
- 3,
- true,
- "",
- 1014014372455311,
- "fixed"
- ]
- },
- {
- "id": 96,
- "type": "Note",
- "pos": [
- 44470,
- 5630
- ],
- "size": [
- 210,
- 210
- ],
- "flags": {},
- "order": 27,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "Scheduler:\n[exponential] for more image adherence. \"inpainting with context\"\n[kl_optimal] for a mix of adherence.\n[sgm_uniform] for prompt adherence. \"hard Inpainting prompt.\"\n[AYS/GITS] Best all around image context and detail samplers. Made to help with low steps as well."
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 109,
- "type": "LoadImage",
- "pos": [
- 45420,
- 4500
- ],
- "size": [
- 214,
- 326
- ],
- "flags": {},
- "order": 28,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 124
- ]
- },
- {
- "name": "MASK",
- "type": "MASK",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "LoadImage"
- },
- "widgets_values": [
- "STScI-01JKREFYNJE7MT5SG2H0FBYG75.jpg",
- "image"
- ]
- },
- {
- "id": 47,
- "type": "MaskToSEGS",
- "pos": [
- 45500,
- 4300
- ],
- "size": [
- 210,
- 154
- ],
- "flags": {},
- "order": 73,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 53
- }
- ],
- "outputs": [
- {
- "name": "SEGS",
- "type": "SEGS",
- "links": [
- 61
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-impact-pack",
- "ver": "8.8.1",
- "Node name for S&R": "MaskToSEGS"
- },
- "widgets_values": [
- true,
- 3,
- false,
- 10,
- false
- ]
- },
- {
- "id": 54,
- "type": "DetailerForEachDebugPipe",
- "pos": [
- 45900,
- 4190
- ],
- "size": [
- 400,
- 664
- ],
- "flags": {},
- "order": 75,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 63
- },
- {
- "name": "segs",
- "type": "SEGS",
- "link": 61
- },
- {
- "name": "basic_pipe",
- "type": "BASIC_PIPE",
- "link": 67
- },
- {
- "name": "detailer_hook",
- "shape": 7,
- "type": "DETAILER_HOOK",
- "link": null
- },
- {
- "name": "refiner_basic_pipe_opt",
- "shape": 7,
- "type": "BASIC_PIPE",
- "link": null
- },
- {
- "name": "scheduler_func_opt",
- "shape": 7,
- "type": "SCHEDULER_FUNC",
- "link": null
- },
- {
- "name": "wildcard",
- "type": "STRING",
- "widget": {
- "name": "wildcard"
- },
- "link": 132
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": [
- 69
- ]
- },
- {
- "name": "segs",
- "type": "SEGS",
- "links": null
- },
- {
- "name": "basic_pipe",
- "type": "BASIC_PIPE",
- "links": null
- },
- {
- "name": "cropped",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "cropped_refined",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "cropped_refined_alpha",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "cnet_images",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-impact-pack",
- "ver": "8.8.1",
- "Node name for S&R": "DetailerForEachDebugPipe"
- },
- "widgets_values": [
- 512,
- true,
- 1024,
- 123456,
- "fixed",
- 20,
- 8,
- "seeds_3",
- "sgm_uniform",
- 0.7500000000000001,
- 5,
- true,
- true,
- "",
- 0.2,
- 2,
- false,
- 20,
- false,
- false
- ]
- },
- {
- "id": 33,
- "type": "DetailerForEachDebugPipe",
- "pos": [
- 44020,
- 4860
- ],
- "size": [
- 400,
- 664
- ],
- "flags": {},
- "order": 61,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 46
- },
- {
- "name": "segs",
- "type": "SEGS",
- "link": 42
- },
- {
- "name": "basic_pipe",
- "type": "BASIC_PIPE",
- "link": 74
- },
- {
- "name": "detailer_hook",
- "shape": 7,
- "type": "DETAILER_HOOK",
- "link": null
- },
- {
- "name": "refiner_basic_pipe_opt",
- "shape": 7,
- "type": "BASIC_PIPE",
- "link": null
- },
- {
- "name": "scheduler_func_opt",
- "shape": 7,
- "type": "SCHEDULER_FUNC",
- "link": null
- },
- {
- "name": "wildcard",
- "type": "STRING",
- "widget": {
- "name": "wildcard"
- },
- "link": 125
- }
- ],
- "outputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "links": [
- 43,
- 112
- ]
- },
- {
- "name": "segs",
- "type": "SEGS",
- "links": null
- },
- {
- "name": "basic_pipe",
- "type": "BASIC_PIPE",
- "links": null
- },
- {
- "name": "cropped",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "cropped_refined",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "cropped_refined_alpha",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- },
- {
- "name": "cnet_images",
- "shape": 6,
- "type": "IMAGE",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-impact-pack",
- "ver": "8.8.1",
- "Node name for S&R": "DetailerForEachDebugPipe"
- },
- "widgets_values": [
- 512,
- true,
- 1024,
- 123456,
- "fixed",
- 20,
- 8,
- "dpm_2",
- "sgm_uniform",
- 0.45000000000000007,
- 5,
- true,
- true,
- "",
- 0.2,
- 2,
- false,
- 20,
- false,
- false
- ]
- },
- {
- "id": 133,
- "type": "LayerMask: DrawBBoxMaskV2",
- "pos": [
- 45990,
- 5350
- ],
- "size": [
- 308.2833251953125,
- 198
- ],
- "flags": {},
- "order": 45,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 153
- },
- {
- "name": "bboxes",
- "type": "BBOXES",
- "link": 152
- }
- ],
- "outputs": [
- {
- "name": "mask",
- "type": "MASK",
- "links": [
- 154
- ]
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI_LayerStyle_Advance",
- "ver": "0f9184100e626e3202568a7cf890b3b92685a168",
- "Node name for S&R": "LayerMask: DrawBBoxMaskV2"
- },
- "widgets_values": [
- 0,
- 0,
- 0,
- 0,
- 50,
- 2
- ],
- "color": "rgba(27, 80, 119, 0.7)"
- },
- {
- "id": 135,
- "type": "Note",
- "pos": [
- 45630,
- 5280
- ],
- "size": [
- 220,
- 100
- ],
- "flags": {},
- "order": 29,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "If you need more advanced SEGS/MASKs, you can use Google Gemini for free."
- ],
- "color": "#432",
- "bgcolor": "#653"
- },
- {
- "id": 131,
- "type": "LoadImage",
- "pos": [
- 45630,
- 5560
- ],
- "size": [
- 300,
- 326
- ],
- "flags": {},
- "order": 30,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 149,
- 153
- ]
- },
- {
- "name": "MASK",
- "type": "MASK",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.42",
- "Node name for S&R": "LoadImage"
- },
- "widgets_values": [
- "Police-Lineup.jpg",
- "image"
- ]
- },
- {
- "id": 134,
- "type": "MaskPreview+",
- "pos": [
- 46000,
- 5620
- ],
- "size": [
- 150.13333129882812,
- 246
- ],
- "flags": {},
- "order": 50,
- "mode": 0,
- "inputs": [
- {
- "name": "mask",
- "type": "MASK",
- "link": 154
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfyui_essentials",
- "ver": "1.1.0",
- "Node name for S&R": "MaskPreview+"
- },
- "widgets_values": []
- },
- {
- "id": 130,
- "type": "LayerMask: ObjectDetectorGeminiV2",
- "pos": [
- 45620,
- 5420
- ],
- "size": [
- 346.3999938964844,
- 102
- ],
- "flags": {},
- "order": 38,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 149
- }
- ],
- "outputs": [
- {
- "name": "bboxes",
- "type": "BBOXES",
- "links": [
- 152
- ]
- },
- {
- "name": "preview",
- "type": "IMAGE",
- "links": []
- }
- ],
- "properties": {
- "cnr_id": "ComfyUI_LayerStyle_Advance",
- "ver": "0f9184100e626e3202568a7cf890b3b92685a168",
- "Node name for S&R": "LayerMask: ObjectDetectorGeminiV2"
- },
- "widgets_values": [
- "gemini-2.5-pro",
- "second person on the left"
- ],
- "color": "rgba(27, 80, 119, 0.7)"
- },
- {
- "id": 136,
- "type": "Label (rgthree)",
- "pos": [
- 45740,
- 5210
- ],
- "size": [
- 529.0499877929688,
- 28
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 31,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Advanced masking with Google API (Free)",
- "properties": {
- "fontSize": 28,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- },
- {
- "id": 124,
- "type": "Label (rgthree)",
- "pos": [
- 44760,
- 5940
- ],
- "size": [
- 726.6333618164062,
- 28
- ],
- "flags": {
- "allow_interaction": true
- },
- "order": 32,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "title": "Quick masking of figures with a remove background model",
- "properties": {
- "fontSize": 28,
- "fontFamily": "Arial",
- "fontColor": "#ffffff",
- "textAlign": "left",
- "backgroundColor": "transparent",
- "padding": 0,
- "borderRadius": 0
- },
- "color": "#fff0",
- "bgcolor": "#fff0"
- }
- ],
- "links": [
- [
- 3,
- 22,
- 0,
- 7,
- 0,
- "IMAGE"
- ],
- [
- 4,
- 8,
- 0,
- 7,
- 1,
- "FL2MODEL"
- ],
- [
- 6,
- 21,
- 1,
- 11,
- 0,
- "IMAGE"
- ],
- [
- 15,
- 21,
- 1,
- 20,
- 0,
- "IMAGE"
- ],
- [
- 33,
- 22,
- 0,
- 34,
- 0,
- "*"
- ],
- [
- 35,
- 34,
- 0,
- 35,
- 0,
- "*"
- ],
- [
- 37,
- 37,
- 0,
- 36,
- 0,
- "SAM2MODEL"
- ],
- [
- 39,
- 7,
- 1,
- 38,
- 0,
- "MASK"
- ],
- [
- 40,
- 36,
- 0,
- 39,
- 0,
- "MASK"
- ],
- [
- 42,
- 40,
- 0,
- 33,
- 1,
- "SEGS"
- ],
- [
- 43,
- 33,
- 0,
- 41,
- 0,
- "IMAGE"
- ],
- [
- 45,
- 34,
- 0,
- 36,
- 1,
- "IMAGE"
- ],
- [
- 46,
- 35,
- 0,
- 33,
- 0,
- "IMAGE"
- ],
- [
- 47,
- 7,
- 3,
- 43,
- 0,
- "JSON"
- ],
- [
- 48,
- 43,
- 1,
- 36,
- 4,
- "BBOX"
- ],
- [
- 51,
- 45,
- 0,
- 20,
- 1,
- "FL2MODEL"
- ],
- [
- 53,
- 49,
- 0,
- 47,
- 0,
- "MASK"
- ],
- [
- 54,
- 50,
- 0,
- 49,
- 0,
- "SAM2MODEL"
- ],
- [
- 55,
- 48,
- 1,
- 49,
- 4,
- "BBOX"
- ],
- [
- 56,
- 20,
- 3,
- 48,
- 0,
- "JSON"
- ],
- [
- 57,
- 49,
- 0,
- 51,
- 0,
- "MASK"
- ],
- [
- 58,
- 21,
- 1,
- 52,
- 0,
- "*"
- ],
- [
- 59,
- 52,
- 0,
- 53,
- 0,
- "*"
- ],
- [
- 60,
- 53,
- 0,
- 49,
- 1,
- "IMAGE"
- ],
- [
- 61,
- 47,
- 0,
- 54,
- 1,
- "SEGS"
- ],
- [
- 62,
- 53,
- 0,
- 55,
- 0,
- "*"
- ],
- [
- 63,
- 55,
- 0,
- 54,
- 0,
- "IMAGE"
- ],
- [
- 66,
- 57,
- 0,
- 58,
- 0,
- "*"
- ],
- [
- 67,
- 58,
- 0,
- 54,
- 2,
- "BASIC_PIPE"
- ],
- [
- 69,
- 54,
- 0,
- 59,
- 1,
- "IMAGE"
- ],
- [
- 72,
- 31,
- 0,
- 62,
- 0,
- "*"
- ],
- [
- 73,
- 62,
- 0,
- 57,
- 0,
- "*"
- ],
- [
- 74,
- 62,
- 0,
- 33,
- 2,
- "BASIC_PIPE"
- ],
- [
- 75,
- 7,
- 0,
- 66,
- 0,
- "IMAGE"
- ],
- [
- 76,
- 5,
- 0,
- 72,
- 0,
- "IMAGE"
- ],
- [
- 77,
- 72,
- 0,
- 22,
- 0,
- "*"
- ],
- [
- 78,
- 21,
- 0,
- 74,
- 0,
- "*"
- ],
- [
- 79,
- 74,
- 0,
- 75,
- 0,
- "*"
- ],
- [
- 80,
- 75,
- 0,
- 59,
- 0,
- "STITCHER"
- ],
- [
- 83,
- 45,
- 0,
- 76,
- 1,
- "FL2MODEL"
- ],
- [
- 101,
- 85,
- 2,
- 90,
- 0,
- "STRING"
- ],
- [
- 104,
- 34,
- 0,
- 91,
- 0,
- "*"
- ],
- [
- 110,
- 8,
- 0,
- 92,
- 0,
- "*"
- ],
- [
- 111,
- 92,
- 0,
- 85,
- 1,
- "FL2MODEL"
- ],
- [
- 112,
- 33,
- 0,
- 21,
- 0,
- "IMAGE"
- ],
- [
- 113,
- 35,
- 0,
- 93,
- 0,
- "*"
- ],
- [
- 114,
- 94,
- 0,
- 85,
- 0,
- "IMAGE"
- ],
- [
- 115,
- 36,
- 0,
- 97,
- 0,
- "MASK"
- ],
- [
- 116,
- 97,
- 0,
- 40,
- 0,
- "MASK"
- ],
- [
- 117,
- 97,
- 0,
- 21,
- 1,
- "MASK"
- ],
- [
- 124,
- 109,
- 0,
- 76,
- 0,
- "IMAGE"
- ],
- [
- 125,
- 90,
- 0,
- 33,
- 6,
- "STRING"
- ],
- [
- 132,
- 81,
- 0,
- 54,
- 6,
- "STRING"
- ],
- [
- 133,
- 76,
- 2,
- 81,
- 0,
- "STRING"
- ],
- [
- 134,
- 59,
- 0,
- 114,
- 0,
- "IMAGE"
- ],
- [
- 138,
- 118,
- 0,
- 119,
- 1,
- "BIREFNET_MODEL"
- ],
- [
- 145,
- 119,
- 1,
- 126,
- 0,
- "MASK"
- ],
- [
- 146,
- 125,
- 0,
- 119,
- 0,
- "IMAGE"
- ],
- [
- 147,
- 119,
- 0,
- 127,
- 0,
- "IMAGE"
- ],
- [
- 149,
- 131,
- 0,
- 130,
- 0,
- "IMAGE"
- ],
- [
- 152,
- 130,
- 0,
- 133,
- 1,
- "BBOXES"
- ],
- [
- 153,
- 131,
- 0,
- 133,
- 0,
- "IMAGE"
- ],
- [
- 154,
- 133,
- 0,
- 134,
- 0,
- "MASK"
- ]
- ],
- "groups": [],
- "config": {},
- "extra": {
- "ds": {
- "scale": 0.6249318493150687,
- "offset": [
- -42672.51887466076,
- -3892.530216719519
- ]
- },
- "groupNodes": {
- "MAKE_BASIC_PIPE": {
- "nodes": [
- {
- "type": "CheckpointLoaderSimple",
- "pos": [
- -80,
- 1100
- ],
- "size": {
- "0": 315,
- "1": 98
- },
- "flags": {},
- "order": 0,
- "mode": 0,
- "outputs": [
- {
- "name": "MODEL",
- "type": "MODEL",
- "links": [],
- "slot_index": 0,
- "localized_name": "MODEL"
- },
- {
- "name": "CLIP",
- "type": "CLIP",
- "links": [],
- "slot_index": 1,
- "localized_name": "CLIP"
- },
- {
- "name": "VAE",
- "type": "VAE",
- "links": [],
- "slot_index": 2,
- "localized_name": "VAE"
- }
- ],
- "properties": {
- "Node name for S&R": "CheckpointLoaderSimple"
- },
- "widgets_values": [
- "SD1.5/majicmixRealistic_v7.safetensors"
- ],
- "index": 0,
- "inputs": [
- {
- "name": "ckpt_name",
- "localized_name": "ckpt_name",
- "type": "COMBO",
- "widget": {
- "name": "ckpt_name"
- },
- "boundingRect": [
- 0,
- 0,
- 0,
- 0
- ],
- "link": null
- }
- ]
- },
- {
- "type": "CLIPTextEncode",
- "pos": [
- 455,
- 1026
- ],
- "size": {
- "0": 210,
- "1": 104.50106048583984
- },
- "flags": {},
- "order": 2,
- "mode": 0,
- "inputs": [
- {
- "name": "clip",
- "type": "CLIP",
- "link": null,
- "localized_name": "clip"
- },
- {
- "name": "text",
- "localized_name": "text",
- "type": "STRING",
- "widget": {
- "name": "text"
- },
- "boundingRect": [
- 0,
- 0,
- 0,
- 0
- ],
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "CONDITIONING",
- "type": "CONDITIONING",
- "links": [],
- "slot_index": 0,
- "localized_name": "CONDITIONING"
- }
- ],
- "properties": {
- "Node name for S&R": "CLIPTextEncode"
- },
- "widgets_values": [
- "photograph, 4k, hdr, cropped, 1girl sit, blur hair, pink bag"
- ],
- "index": 1
- },
- {
- "type": "CLIPTextEncode",
- "pos": [
- 456,
- 1239
- ],
- "size": {
- "0": 210,
- "1": 104.50106048583984
- },
- "flags": {},
- "order": 3,
- "mode": 0,
- "inputs": [
- {
- "name": "clip",
- "type": "CLIP",
- "link": null,
- "slot_index": 0,
- "localized_name": "clip"
- },
- {
- "name": "text",
- "localized_name": "text",
- "type": "STRING",
- "widget": {
- "name": "text"
- },
- "boundingRect": [
- 0,
- 0,
- 0,
- 0
- ],
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "CONDITIONING",
- "type": "CONDITIONING",
- "links": [],
- "localized_name": "CONDITIONING"
- }
- ],
- "properties": {
- "Node name for S&R": "CLIPTextEncode"
- },
- "widgets_values": [
- "deformed, blurry\n"
- ],
- "index": 2
- },
- {
- "type": "ToBasicPipe",
- "pos": [
- 800,
- 1100
- ],
- "size": {
- "0": 241.79998779296875,
- "1": 106
- },
- "flags": {},
- "order": 5,
- "mode": 0,
- "inputs": [
- {
- "name": "model",
- "type": "MODEL",
- "link": null,
- "localized_name": "model"
- },
- {
- "name": "clip",
- "type": "CLIP",
- "link": null,
- "slot_index": 1,
- "localized_name": "clip"
- },
- {
- "name": "vae",
- "type": "VAE",
- "link": null,
- "localized_name": "vae"
- },
- {
- "name": "positive",
- "type": "CONDITIONING",
- "link": null,
- "localized_name": "positive"
- },
- {
- "name": "negative",
- "type": "CONDITIONING",
- "link": null,
- "slot_index": 4,
- "localized_name": "negative"
- }
- ],
- "outputs": [
- {
- "name": "basic_pipe",
- "type": "BASIC_PIPE",
- "links": [],
- "slot_index": 0,
- "localized_name": "basic_pipe"
- }
- ],
- "properties": {
- "Node name for S&R": "ToBasicPipe"
- },
- "index": 3,
- "widgets_values": []
- }
- ],
- "links": [
- [
- 0,
- 1,
- 1,
- 0,
- 11,
- "CLIP"
- ],
- [
- 0,
- 1,
- 2,
- 0,
- 11,
- "CLIP"
- ],
- [
- 0,
- 0,
- 3,
- 0,
- 11,
- "MODEL"
- ],
- [
- 0,
- 1,
- 3,
- 1,
- 11,
- "CLIP"
- ],
- [
- 0,
- 2,
- 3,
- 2,
- 11,
- "VAE"
- ],
- [
- 1,
- 0,
- 3,
- 3,
- 13,
- "CONDITIONING"
- ],
- [
- 2,
- 0,
- 3,
- 4,
- 14,
- "CONDITIONING"
- ]
- ],
- "external": [
- [
- 3,
- 0,
- "BASIC_PIPE"
- ]
- ]
- }
- },
- "frontendVersion": "1.21.7",
- "VHS_latentpreview": false,
- "VHS_latentpreviewrate": 0,
- "VHS_MetadataImage": true,
- "VHS_KeepIntermediate": true
- },
- "version": 0.4
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement