diff --git a/example_workflows/Flux.2.Dev_Inpaint.json b/example_workflows/Flux.2.Dev_Inpaint.json new file mode 100644 index 0000000..907c275 --- /dev/null +++ b/example_workflows/Flux.2.Dev_Inpaint.json @@ -0,0 +1,1689 @@ +{ + "id": "7c048efb-a059-44e2-970a-43e1eb472d0d", + "revision": 0, + "last_node_id": 93, + "last_link_id": 205, + "nodes": [ + { + "id": 66, + "type": "MarkdownNote", + "pos": [ + -1520, + -90 + ], + "size": [ + 520, + 620 + ], + "flags": { + "collapsed": false + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Model links", + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "We are using quantized weights in this workflow, the original flux 2 repo is [here](https://huggingface.co/black-forest-labs/FLUX.2-dev/)\n\nGuide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare the required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n## Model links (for local user)\n\n**text_encoders**\n\n- [mistral_3_small_flux2_bf16.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors)\n\n**loras**\n\n- [Flux_2-Turbo-LoRA_comfyui.safetensors](https://huggingface.co/ByteZSzn/Flux.2-Turbo-ComfyUI/resolve/main/Flux_2-Turbo-LoRA_comfyui.safetensors)\n\n**diffusion_models**\n\n- [flux2_dev_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\nšŸ“‚ ComfyUI/\nā”œā”€ā”€ šŸ“‚ models/\n│ ā”œā”€ā”€ šŸ“‚ text_encoders/\n│ │ └── mistral_3_small_flux2_bf16.safetensors\n│ ā”œā”€ā”€ šŸ“‚ loras/\n│ │ └── Flux_2-Turbo-LoRA_comfyui.safetensors\n│ ā”œā”€ā”€ šŸ“‚ diffusion_models/\n│ │ └── flux2_dev_fp8mixed.safetensors\n│ └── šŸ“‚ vae/\n│ └── flux2-vae.safetensors\n```\n" + ], + "color": "#432", + "bgcolor": "#000" + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 1635.7249535135647, + -87.27181736086374 + ], + "size": [ + 470, + 470 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 183 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "SaveImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "Flux2" + ] + }, + { + "id": 77, + "type": "VAELoader", + "pos": [ + -208.51554385523025, + 112.39872480223687 + ], + "size": [ + 298.1818181818182, + 60.429901123046875 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "slot_index": 0, + "links": [ + 179, + 181 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "VAELoader", + "models": [ + { + "name": "flux2-vae.safetensors", + "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors", + "directory": "vae" + }, + { + "name": "flux2-vae.safetensors", + "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors", + "directory": "vae" + } + ], + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "flux2-vae.safetensors" + ] + }, + { + "id": 79, + "type": "UNETLoader", + "pos": [ + -208.51554385523025, + -159.60127519776313 + ], + "size": [ + 298.1818181818182, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 185 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "UNETLoader", + "models": [ + { + "name": "flux2_dev_fp8mixed.safetensors", + "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors", + "directory": "diffusion_models" + }, + { + "name": "flux2_dev_fp8mixed.safetensors", + "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors", + "directory": "diffusion_models" + } + ], + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "flux2_dev_fp8mixed.safetensors", + "default" + ] + }, + { + "id": 81, + "type": "CLIPLoader", + "pos": [ + -208.51554385523036, + -22.238218894449233 + ], + "size": [ + 298.1818181818182, + 106 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 180 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "CLIPLoader", + "models": [ + { + "name": "mistral_3_small_flux2_bf16.safetensors", + "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors", + "directory": "text_encoders" + }, + { + "name": "mistral_3_small_flux2_bf16.safetensors", + "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors", + "directory": "text_encoders" + } + ], + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "mistral_3_small_flux2_fp8.safetensors", + "flux2", + "default" + ] + }, + { + "id": 82, + "type": "RandomNoise", + "pos": [ + 604.667192628257, + -167.60127519776313 + ], + "size": [ + 222.3482666015625, + 82 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 191 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "RandomNoise", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 63599691201155, + "randomize" + ] + }, + { + "id": 83, + "type": "BasicGuider", + "pos": [ + 604.667192628257, + -47.60127519776313 + ], + "size": [ + 222.3482666015625, + 46 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 185 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 184 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "slot_index": 0, + "links": [ + 192 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "BasicGuider", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 84, + "type": "KSamplerSelect", + "pos": [ + 604.667192628257, + 42.39872480223687 + ], + "size": [ + 222.3482666015625, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 193 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "KSamplerSelect", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 85, + "type": "Flux2Scheduler", + "pos": [ + 599.6491345888401, + 141.28360079347743 + ], + "size": [ + 222.3482666015625, + 106 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 187 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 189 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 194 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "Flux2Scheduler", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 20, + 1248, + 832 + ] + }, + { + "id": 45, + "type": "ImageScaleToTotalPixels", + "pos": [ + -972.3279874841628, + 311.23090162654535 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 128 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 182, + 186 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "ImageScaleToTotalPixels", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "lanczos", + 1, + 1 + ] + }, + { + "id": 73, + "type": "MaskToImage", + "pos": [ + -578.7810905126418, + 485.5562609007294 + ], + "size": [ + 193.2779296875, + 26 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 173 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 174 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.51", + "Node name for S&R": "MaskToImage", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 74, + "type": "ImageScale", + "pos": [ + -615.2621436016047, + 606.0294086326044 + ], + "size": [ + 270, + 130 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 174 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 197 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 198 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 175 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "ImageScale", + "ue_properties": { + "widget_ue_connectable": { + "width": true, + "height": true + }, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "nearest-exact", + 512, + 512, + "center" + ] + }, + { + "id": 90, + "type": "GetImageSize", + "pos": [ + -200.78990032451077, + 393.4376923761333 + ], + "size": [ + 140, + 124 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 186 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 187, + 188, + 197 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 189, + 190, + 198 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.7.0", + "Node name for S&R": "GetImageSize", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 80, + "type": "CLIPTextEncode", + "pos": [ + 155.07316783190137, + 399.56995895148776 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": null + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.7.0", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "widget_ue_connectable": { + "text": true + }, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "" + ] + }, + { + "id": 78, + "type": "CLIPTextEncode", + "pos": [ + 134.66719262825703, + -138.83597106805018 + ], + "size": [ + 430, + 200 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 180 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 176 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "CLIPTextEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "the woman is wearing a light green dress" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 76, + "type": "FluxGuidance", + "pos": [ + 200.2864376852714, + 104.86432229906939 + ], + "size": [ + 317.4000244140625, + 58 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 176 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 177 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "FluxGuidance", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 4 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 91, + "type": "VAEEncode", + "pos": [ + -181.6125019101619, + 296.3964288363952 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 182 + }, + { + "name": "vae", + "type": "VAE", + "link": 181 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 200 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "VAEEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 93, + "type": "LanPaint_MaskBlend", + "pos": [ + 1654.9181296085296, + -278.02632344126863 + ], + "size": [ + 270, + 98 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 204 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 203 + }, + { + "name": "mask", + "type": "MASK", + "link": 202 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "cnr_id": "LanPaint", + "ver": "7b0d144db9aca6a4601e7c179b4c8103036e6e2b", + "Node name for S&R": "LanPaint_MaskBlend", + "ue_properties": { + "widget_ue_connectable": { + "blend_overlap": true + }, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 75, + "type": "ImageToMask", + "pos": [ + -559.6316891464038, + 829.1865287417561 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 175 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 199, + 202 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.51", + "Node name for S&R": "ImageToMask", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "red" + ] + }, + { + "id": 87, + "type": "VAEDecode", + "pos": [ + 1023.8821392889464, + 282.1259913701435 + ], + "size": [ + 210, + 46 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 196 + }, + { + "name": "vae", + "type": "VAE", + "link": 179 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 183, + 203 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "VAEDecode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 46, + "type": "LoadImage", + "pos": [ + -960, + -90 + ], + "size": [ + 274.080078125, + 314 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 128, + 204 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 173 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "LoadImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + }, + "image": "clipspace/clipspace-painted-masked-1767709352777.png [input]" + }, + "widgets_values": [ + "clipspace/clipspace-painted-masked-1767709352777.png [input]", + "image" + ] + }, + { + "id": 86, + "type": "EmptyFlux2LatentImage", + "pos": [ + 734.667192628257, + 392.39872480223687 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 188 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 190 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "EmptyFlux2LatentImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 1248, + 832, + 1 + ] + }, + { + "id": 92, + "type": "SetLatentNoiseMask", + "pos": [ + -115.81432610747422, + 659.4480158948381 + ], + "size": [ + 188.1373046875, + 46 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 200 + }, + { + "name": "mask", + "type": "MASK", + "link": 199 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 201, + 205 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.51", + "Node name for S&R": "SetLatentNoiseMask", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 89, + "type": "ReferenceLatent", + "pos": [ + 42.964890498967414, + 280.7206577515195 + ], + "size": [ + 204.134765625, + 46 + ], + "flags": {}, + "order": 19, + "mode": 4, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 177 + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 201 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 184 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.71", + "Node name for S&R": "ReferenceLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 88, + "type": "LanPaint_SamplerCustomAdvanced", + "pos": [ + 1003.1551974882774, + -347.85536869388665 + ], + "size": [ + 400, + 544 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 191 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 192 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 193 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 194 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 205 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 196 + ] + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "LanPaint", + "ver": "7b0d144db9aca6a4601e7c179b4c8103036e6e2b", + "Node name for S&R": "LanPaint_SamplerCustomAdvanced", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 5, + 16, + 0.15, + 1, + 15, + "Image First", + 1, + "LanPaint Custom Sampler Adv. For more info, visit https://github.com/scraed/LanPaint. If you find it useful, please give a star ā­ļø!" + ] + } + ], + "links": [ + [ + 128, + 46, + 0, + 45, + 0, + "IMAGE" + ], + [ + 173, + 46, + 1, + 73, + 0, + "MASK" + ], + [ + 174, + 73, + 0, + 74, + 0, + "IMAGE" + ], + [ + 175, + 74, + 0, + 75, + 0, + "IMAGE" + ], + [ + 176, + 78, + 0, + 76, + 0, + "CONDITIONING" + ], + [ + 177, + 76, + 0, + 89, + 0, + "CONDITIONING" + ], + [ + 179, + 77, + 0, + 87, + 1, + "VAE" + ], + [ + 180, + 81, + 0, + 78, + 0, + "CLIP" + ], + [ + 181, + 77, + 0, + 91, + 1, + "VAE" + ], + [ + 182, + 45, + 0, + 91, + 0, + "IMAGE" + ], + [ + 183, + 87, + 0, + 9, + 0, + "IMAGE" + ], + [ + 184, + 89, + 0, + 83, + 1, + "CONDITIONING" + ], + [ + 185, + 79, + 0, + 83, + 0, + "MODEL" + ], + [ + 186, + 45, + 0, + 90, + 0, + "IMAGE" + ], + [ + 187, + 90, + 0, + 85, + 0, + "INT" + ], + [ + 188, + 90, + 0, + 86, + 0, + "INT" + ], + [ + 189, + 90, + 1, + 85, + 1, + "INT" + ], + [ + 190, + 90, + 1, + 86, + 1, + "INT" + ], + [ + 191, + 82, + 0, + 88, + 0, + "NOISE" + ], + [ + 192, + 83, + 0, + 88, + 1, + "GUIDER" + ], + [ + 193, + 84, + 0, + 88, + 2, + "SAMPLER" + ], + [ + 194, + 85, + 0, + 88, + 3, + "SIGMAS" + ], + [ + 196, + 88, + 0, + 87, + 0, + "LATENT" + ], + [ + 197, + 90, + 0, + 74, + 1, + "INT" + ], + [ + 198, + 90, + 1, + 74, + 2, + "INT" + ], + [ + 199, + 75, + 0, + 92, + 1, + "MASK" + ], + [ + 200, + 91, + 0, + 92, + 0, + "LATENT" + ], + [ + 201, + 92, + 0, + 89, + 1, + "LATENT" + ], + [ + 202, + 75, + 0, + 93, + 2, + "MASK" + ], + [ + 203, + 87, + 0, + 93, + 1, + "IMAGE" + ], + [ + 204, + 46, + 0, + 93, + 0, + "IMAGE" + ], + [ + 205, + 92, + 0, + 88, + 4, + "LATENT" + ] + ], + "groups": [ + { + "id": 1, + "title": "Models", + "bounding": [ + -215.332807371743, + -237.60127519776313, + 318.18181818181813, + 416.0299011230469 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "Custom sampler", + "bounding": [ + 594.667192628257, + -237.60127519776313, + 558.5359191894531, + 501.6 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "Image size", + "bounding": [ + 594.667192628257, + 282.39872480223687, + 560, + 285.6 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 4, + "title": "Prompt", + "bounding": [ + 124.667192628257, + -237.60127519776313, + 450, + 420 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "frontendVersion": "1.35.9", + "workflowRendererVersion": "LG", + "groupNodes": {}, + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "ue_links": [], + "links_added_by_ue": [], + "ds": { + "scale": 0.4570787416843792, + "offset": [ + 965.0357661743881, + 887.1964419204621 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/examples/Example_23/InPainted_Drag_Me_to_ComfyUI.png b/examples/Example_23/InPainted_Drag_Me_to_ComfyUI.png new file mode 100644 index 0000000..9c9ccb0 Binary files /dev/null and b/examples/Example_23/InPainted_Drag_Me_to_ComfyUI.png differ diff --git a/examples/Example_23/Masked_Load_Me_in_Loader.png b/examples/Example_23/Masked_Load_Me_in_Loader.png new file mode 100644 index 0000000..595f158 Binary files /dev/null and b/examples/Example_23/Masked_Load_Me_in_Loader.png differ diff --git a/examples/Example_23/Original_No_Mask.png b/examples/Example_23/Original_No_Mask.png new file mode 100644 index 0000000..00b7eea Binary files /dev/null and b/examples/Example_23/Original_No_Mask.png differ