Created
September 2, 2023 15:09
-
-
Save 4rmx/b7223c2181c719c3b29b64224b1fc8e3 to your computer and use it in GitHub Desktop.
comfyUI_workflow - shirt inpainting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "last_node_id": 190, | |
| "last_link_id": 390, | |
| "nodes": [ | |
| { | |
| "id": 6, | |
| "type": "CLIPSetLastLayer", | |
| "pos": [ | |
| 360, | |
| 50 | |
| ], | |
| "size": { | |
| "0": 210, | |
| "1": 60 | |
| }, | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 4 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 378, | |
| 379 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPSetLastLayer" | |
| }, | |
| "widgets_values": [ | |
| -2 | |
| ] | |
| }, | |
| { | |
| "id": 185, | |
| "type": "CLIPTextEncode", | |
| "pos": [ | |
| 660, | |
| 30 | |
| ], | |
| "size": { | |
| "0": 400, | |
| "1": 200 | |
| }, | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 378 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 382 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPTextEncode" | |
| }, | |
| "widgets_values": [ | |
| "(8k, RAW photo, best quality, masterpiece:1.2), physically-based rendering, ultra high res, HDR, 1girl, shirt, cowboy, looking at viewer, shorts" | |
| ] | |
| }, | |
| { | |
| "id": 186, | |
| "type": "CLIPTextEncode", | |
| "pos": [ | |
| 660, | |
| 280 | |
| ], | |
| "size": { | |
| "0": 400, | |
| "1": 200 | |
| }, | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 379 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 383 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPTextEncode" | |
| }, | |
| "widgets_values": [ | |
| "paintings, sketches, (worst quality, low quality:1.5), (normal quality:1.4), lowres, (monochrome, grayscale:1.1)" | |
| ] | |
| }, | |
| { | |
| "id": 18, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 1530, | |
| 30 | |
| ], | |
| "size": { | |
| "0": 200, | |
| "1": 50 | |
| }, | |
| "flags": {}, | |
| "order": 8, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 249 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 384 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 300 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAEDecode" | |
| } | |
| }, | |
| { | |
| "id": 158, | |
| "type": "PreviewImage", | |
| "pos": [ | |
| 1800, | |
| 30 | |
| ], | |
| "size": { | |
| "0": 440, | |
| "1": 420 | |
| }, | |
| "flags": {}, | |
| "order": 9, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 300 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "PreviewImage" | |
| } | |
| }, | |
| { | |
| "id": 172, | |
| "type": "LoadImage", | |
| "pos": [ | |
| 0, | |
| 200 | |
| ], | |
| "size": [ | |
| 320, | |
| 310 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 364 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [], | |
| "shape": 3, | |
| "slot_index": 1 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LoadImage" | |
| }, | |
| "widgets_values": [ | |
| "shirt_design.png", | |
| "image" | |
| ] | |
| }, | |
| { | |
| "id": 178, | |
| "type": "LoadImageMask", | |
| "pos": [ | |
| 0, | |
| 580 | |
| ], | |
| "size": { | |
| "0": 320, | |
| "1": 320 | |
| }, | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "outputs": [ | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [ | |
| 377 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LoadImageMask" | |
| }, | |
| "widgets_values": [ | |
| "shirt_design_invert_mask.png", | |
| "red", | |
| "image" | |
| ] | |
| }, | |
| { | |
| "id": 1, | |
| "type": "CheckpointLoaderSimple", | |
| "pos": [ | |
| 0, | |
| 30 | |
| ], | |
| "size": { | |
| "0": 315, | |
| "1": 98 | |
| }, | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 352 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 4 | |
| ], | |
| "shape": 3, | |
| "slot_index": 1 | |
| }, | |
| { | |
| "name": "VAE", | |
| "type": "VAE", | |
| "links": [ | |
| 363, | |
| 384 | |
| ], | |
| "shape": 3, | |
| "slot_index": 2 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CheckpointLoaderSimple" | |
| }, | |
| "widgets_values": [ | |
| "chilloutmix_NiPrunedFp32Fix.safetensors" | |
| ] | |
| }, | |
| { | |
| "id": 180, | |
| "type": "VAEEncodeForInpaint", | |
| "pos": [ | |
| 370, | |
| 200 | |
| ], | |
| "size": { | |
| "0": 230, | |
| "1": 100 | |
| }, | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "pixels", | |
| "type": "IMAGE", | |
| "link": 364 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 363 | |
| }, | |
| { | |
| "name": "mask", | |
| "type": "MASK", | |
| "link": 377 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 373 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAEEncodeForInpaint" | |
| }, | |
| "widgets_values": [ | |
| 6 | |
| ] | |
| }, | |
| { | |
| "id": 16, | |
| "type": "KSampler", | |
| "pos": [ | |
| 1150, | |
| 30 | |
| ], | |
| "size": [ | |
| 320, | |
| 260 | |
| ], | |
| "flags": {}, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 352 | |
| }, | |
| { | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "link": 382 | |
| }, | |
| { | |
| "name": "negative", | |
| "type": "CONDITIONING", | |
| "link": 383 | |
| }, | |
| { | |
| "name": "latent_image", | |
| "type": "LATENT", | |
| "link": 373 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 249 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "KSampler" | |
| }, | |
| "widgets_values": [ | |
| 368792212294018, | |
| "fixed", | |
| 20, | |
| 7, | |
| "dpmpp_sde", | |
| "karras", | |
| 0.74 | |
| ] | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 4, | |
| 1, | |
| 1, | |
| 6, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 249, | |
| 16, | |
| 0, | |
| 18, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 300, | |
| 18, | |
| 0, | |
| 158, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 352, | |
| 1, | |
| 0, | |
| 16, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 363, | |
| 1, | |
| 2, | |
| 180, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 364, | |
| 172, | |
| 0, | |
| 180, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 373, | |
| 180, | |
| 0, | |
| 16, | |
| 3, | |
| "LATENT" | |
| ], | |
| [ | |
| 377, | |
| 178, | |
| 0, | |
| 180, | |
| 2, | |
| "MASK" | |
| ], | |
| [ | |
| 378, | |
| 6, | |
| 0, | |
| 185, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 379, | |
| 6, | |
| 0, | |
| 186, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 382, | |
| 185, | |
| 0, | |
| 16, | |
| 1, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 383, | |
| 186, | |
| 0, | |
| 16, | |
| 2, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 384, | |
| 1, | |
| 2, | |
| 18, | |
| 1, | |
| "VAE" | |
| ] | |
| ], | |
| "groups": [], | |
| "config": {}, | |
| "extra": {}, | |
| "version": 0.4 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment