{ "last_node_id": 28, "last_link_id": 79, "nodes": [ { "id": 8, "type": "VAEDecode", "pos": [1209, 188], "size": [210, 46], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [9], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 3, "type": "KSampler", "pos": [863, 186], "size": [315, 262], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1 }, { "name": "positive", "type": "CONDITIONING", "link": 77 }, { "name": "negative", "type": "CONDITIONING", "link": 57 }, { "name": "latent_image", "type": "LATENT", "link": 2 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [7], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 1023216319780679, "randomize", 20, 8, "uni_pc_bh2", "normal", 1 ] }, { "id": 24, "type": "CLIPTextEncode", "pos": [-260, -340], "size": [422.85, 164.31], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [69], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "photograph scenery landscape, snow beautiful scenery mountain, glass bottle; purple galaxy bottle; sun" ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [300, 230], "size": [425.28, 180.61], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [57], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": ["text, watermark"] }, { "id": 9, "type": "SaveImage", "pos": [1495, 167], "size": [493.63, 561.54], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "outputs": [], "properties": {}, "widgets_values": ["gligen/testing"] }, { "id": 5, "type": "EmptyLatentImage", "pos": [410, 460], "size": [315, 106], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [2], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [768, 768, 1] }, { "id": 27, "type": "GLIGENTextBoxApply", "pos": [770, -340], "size": [437.22, 382.68], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", "link": 78 }, { "name": "clip", "type": "CLIP", "link": 74 }, { "name": "gligen_textbox_model", "type": "GLIGEN", "link": 75 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [77], "slot_index": 0 } ], "properties": { "Node name for S&R": "GLIGENTextBoxApply" }, "widgets_values": ["sun", 144, 144, 416, 16] }, { "id": 21, "type": "GLIGENTextBoxApply", "pos": [270, -340], "size": [437.22, 382.68], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", "link": 69 }, { "name": "clip", "type": "CLIP", "link": 53 }, { "name": "gligen_textbox_model", "type": "GLIGEN", "link": 54 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [65, 78], "slot_index": 0 } ], "properties": { "Node name for S&R": "GLIGENTextBoxApply" }, "widgets_values": ["purple galaxy bottle", 192, 304, 176, 272] }, { "id": 10, "type": "GLIGENLoader", "pos": [-230, -70], "size": [390, 60], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "GLIGEN", "type": "GLIGEN", "links": [54, 75], "slot_index": 0 } ], "properties": { "Node name for S&R": "GLIGENLoader" }, "widgets_values": ["gligen_sd14_textbox_pruned.safetensors"] }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [-220, 130], "size": [315, 98], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [1], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [5, 53, 67, 74], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [79], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": ["v1-5-pruned-emaonly-fp16.safetensors"] }, { "id": 28, "type": "MarkdownNote", "pos": [-210, 285], "size": [225, 60], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "\ud83d\udec8 [Learn more about this workflow](https://comfyanonymous.github.io/ComfyUI_examples/gligen/)" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [1, 4, 0, 3, 0, "MODEL"], [2, 5, 0, 3, 3, "LATENT"], [5, 4, 1, 7, 0, "CLIP"], [7, 3, 0, 8, 0, "LATENT"], [9, 8, 0, 9, 0, "IMAGE"], [53, 4, 1, 21, 1, "CLIP"], [54, 10, 0, 21, 2, "GLIGEN"], [57, 7, 0, 3, 2, "CONDITIONING"], [67, 4, 1, 24, 0, "CLIP"], [69, 24, 0, 21, 0, "CONDITIONING"], [74, 4, 1, 27, 1, "CLIP"], [75, 10, 0, 27, 2, "GLIGEN"], [77, 27, 0, 3, 1, "CONDITIONING"], [78, 21, 0, 27, 0, "CONDITIONING"], [79, 4, 2, 8, 1, "VAE"] ], "groups": [ { "id": 1, "title": "Base Prompt", "bounding": [-315, -465, 518, 302], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "GLIGEN (for best results the elements should match some elements in the base prompt)", "bounding": [255, -465, 980, 529], "color": "#A88", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.8, "offset": [433.59, 361.81] } }, "version": 0.4, "models": [ { "name": "v1-5-pruned-emaonly-fp16.safetensors", "url": "https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive/resolve/main/v1-5-pruned-emaonly-fp16.safetensors?download=true", "directory": "checkpoints" }, { "name": "gligen_sd14_textbox_pruned.safetensors", "url": "https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned.safetensors?download=true", "directory": "gligen" } ] }