| { |
| "last_node_id": 28, |
| "last_link_id": 48, |
| "nodes": [ |
| { |
| "id": 10, |
| "type": "CLIPSetLastLayer", |
| "pos": [ |
| -44, |
| 116 |
| ], |
| "size": { |
| "0": 315, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 10, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "clip", |
| "type": "CLIP", |
| "link": 10, |
| "slot_index": 0 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "CLIP", |
| "type": "CLIP", |
| "links": [ |
| 11 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "CLIPSetLastLayer" |
| }, |
| "widgets_values": [ |
| -2 |
| ] |
| }, |
| { |
| "id": 8, |
| "type": "VAEDecode", |
| "pos": [ |
| 1671, |
| 133 |
| ], |
| "size": { |
| "0": 210, |
| "1": 46 |
| }, |
| "flags": {}, |
| "order": 18, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "samples", |
| "type": "LATENT", |
| "link": 7 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 8 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 9 |
| ], |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "VAEDecode" |
| } |
| }, |
| { |
| "id": 9, |
| "type": "SaveImage", |
| "pos": [ |
| 1909, |
| 133 |
| ], |
| "size": { |
| "0": 266.59197998046875, |
| "1": 456.1173095703125 |
| }, |
| "flags": {}, |
| "order": 19, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": 9 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "SaveImage" |
| }, |
| "widgets_values": [ |
| "ComfyUI" |
| ] |
| }, |
| { |
| "id": 3, |
| "type": "KSampler", |
| "pos": [ |
| 1311, |
| 133 |
| ], |
| "size": { |
| "0": 328.98828125, |
| "1": 474 |
| }, |
| "flags": {}, |
| "order": 17, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 1 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 27 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 28 |
| }, |
| { |
| "name": "latent_image", |
| "type": "LATENT", |
| "link": 17 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [ |
| 7 |
| ], |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "KSampler" |
| }, |
| "widgets_values": [ |
| 587093699633757, |
| "randomize", |
| 20, |
| 8, |
| "euler_ancestral", |
| "normal", |
| 0.85 |
| ] |
| }, |
| { |
| "id": 19, |
| "type": "ControlNetApplyAdvanced", |
| "pos": [ |
| 949, |
| 357 |
| ], |
| "size": { |
| "0": 297.6853332519531, |
| "1": 166 |
| }, |
| "flags": {}, |
| "order": 16, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 25 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 26 |
| }, |
| { |
| "name": "control_net", |
| "type": "CONTROL_NET", |
| "link": 22, |
| "slot_index": 2 |
| }, |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 37 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "links": [ |
| 27 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "links": [ |
| 28 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ControlNetApplyAdvanced" |
| }, |
| "widgets_values": [ |
| 1, |
| 0, |
| 1 |
| ] |
| }, |
| { |
| "id": 17, |
| "type": "ControlNetApplyAdvanced", |
| "pos": [ |
| 592, |
| 354 |
| ], |
| "size": { |
| "0": 315, |
| "1": 166 |
| }, |
| "flags": {}, |
| "order": 15, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 23 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 24 |
| }, |
| { |
| "name": "control_net", |
| "type": "CONTROL_NET", |
| "link": 21, |
| "slot_index": 2 |
| }, |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 35 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "links": [ |
| 25 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "links": [ |
| 26 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ControlNetApplyAdvanced" |
| }, |
| "widgets_values": [ |
| 0.7000000000000001, |
| 0, |
| 1 |
| ] |
| }, |
| { |
| "id": 4, |
| "type": "CheckpointLoaderSimple", |
| "pos": [ |
| -405, |
| 112 |
| ], |
| "size": { |
| "0": 315, |
| "1": 98 |
| }, |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "MODEL", |
| "type": "MODEL", |
| "links": [ |
| 1 |
| ], |
| "slot_index": 0 |
| }, |
| { |
| "name": "CLIP", |
| "type": "CLIP", |
| "links": [ |
| 5, |
| 10 |
| ], |
| "slot_index": 1 |
| }, |
| { |
| "name": "VAE", |
| "type": "VAE", |
| "links": [ |
| 8, |
| 16 |
| ], |
| "slot_index": 2 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "CheckpointLoaderSimple" |
| }, |
| "widgets_values": [ |
| "Realistic-Vision-v5.safetensors" |
| ] |
| }, |
| { |
| "id": 20, |
| "type": "ControlNetLoader", |
| "pos": [ |
| 942, |
| 132 |
| ], |
| "size": { |
| "0": 315, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 1, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "CONTROL_NET", |
| "type": "CONTROL_NET", |
| "links": [ |
| 22 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ControlNetLoader" |
| }, |
| "widgets_values": [ |
| "Basecontrolnet/T2I-Adapter-color-sd15v1.pth" |
| ] |
| }, |
| { |
| "id": 7, |
| "type": "CLIPTextEncode", |
| "pos": [ |
| 347, |
| 378 |
| ], |
| "size": { |
| "0": 425.27801513671875, |
| "1": 180.6060791015625 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 9, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "clip", |
| "type": "CLIP", |
| "link": 5 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "CONDITIONING", |
| "type": "CONDITIONING", |
| "links": [ |
| 24 |
| ], |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "CLIPTextEncode" |
| }, |
| "widgets_values": [ |
| "text, watermark, low quality, 3d, 2d" |
| ] |
| }, |
| { |
| "id": 6, |
| "type": "CLIPTextEncode", |
| "pos": [ |
| 347, |
| 336 |
| ], |
| "size": [ |
| 422.84503173828125, |
| 164.31304931640625 |
| ], |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 14, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "clip", |
| "type": "CLIP", |
| "link": 11 |
| }, |
| { |
| "name": "text", |
| "type": "STRING", |
| "link": 41, |
| "widget": { |
| "name": "text" |
| } |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "CONDITIONING", |
| "type": "CONDITIONING", |
| "links": [ |
| 23 |
| ], |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "CLIPTextEncode" |
| }, |
| "widgets_values": [ |
| "1girl, portrait, realistic, detail face, long hair, simple background, raw photo, film gain" |
| ] |
| }, |
| { |
| "id": 27, |
| "type": "StringFunction|pysssss", |
| "pos": [ |
| 346, |
| 287 |
| ], |
| "size": [ |
| 400, |
| 224 |
| ], |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 11, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "text_b", |
| "type": "STRING", |
| "link": 40, |
| "widget": { |
| "name": "text_b" |
| }, |
| "slot_index": 0 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "STRING", |
| "type": "STRING", |
| "links": [ |
| 41 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "StringFunction|pysssss" |
| }, |
| "widgets_values": [ |
| "append", |
| "yes", |
| "realistic, detail face, long hair, simple background, raw photo, film gain", |
| "", |
| "" |
| ] |
| }, |
| { |
| "id": 18, |
| "type": "ControlNetLoader", |
| "pos": [ |
| 593, |
| 126 |
| ], |
| "size": { |
| "0": 315, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 2, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "CONTROL_NET", |
| "type": "CONTROL_NET", |
| "links": [ |
| 21 |
| ], |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ControlNetLoader" |
| }, |
| "widgets_values": [ |
| "Basecontrolnet/control_v11p_sd15_lineart.safetensors" |
| ] |
| }, |
| { |
| "id": 23, |
| "type": "AIO_Preprocessor", |
| "pos": [ |
| 589, |
| 231 |
| ], |
| "size": { |
| "0": 315, |
| "1": 82 |
| }, |
| "flags": {}, |
| "order": 3, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 35 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "AIO_Preprocessor" |
| }, |
| "widgets_values": [ |
| "LineArtPreprocessor", |
| 768 |
| ] |
| }, |
| { |
| "id": 24, |
| "type": "AIO_Preprocessor", |
| "pos": [ |
| 945, |
| 234 |
| ], |
| "size": { |
| "0": 315, |
| "1": 82 |
| }, |
| "flags": {}, |
| "order": 4, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": null, |
| "slot_index": 0 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 37 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "AIO_Preprocessor" |
| }, |
| "widgets_values": [ |
| "ColorPreprocessor", |
| 768 |
| ] |
| }, |
| { |
| "id": 26, |
| "type": "WD14Tagger|pysssss", |
| "pos": [ |
| 346, |
| 244 |
| ], |
| "size": { |
| "0": 315, |
| "1": 178 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 5, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "STRING", |
| "type": "STRING", |
| "links": [ |
| 40 |
| ], |
| "shape": 6 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "WD14Tagger|pysssss" |
| }, |
| "widgets_values": [ |
| "wd-v1-4-moat-tagger-v2", |
| 0.6, |
| 0.85, |
| false, |
| false, |
| "" |
| ] |
| }, |
| { |
| "id": 16, |
| "type": "ConstrainImage|pysssss", |
| "pos": [ |
| 79, |
| 430 |
| ], |
| "size": { |
| "0": 315, |
| "1": 154 |
| }, |
| "flags": {}, |
| "order": 6, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 20 |
| ], |
| "shape": 6, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ConstrainImage|pysssss" |
| }, |
| "widgets_values": [ |
| 1024, |
| 1024, |
| 0, |
| 0, |
| "no" |
| ] |
| }, |
| { |
| "id": 14, |
| "type": "VAEEncode", |
| "pos": [ |
| 414, |
| 431 |
| ], |
| "size": { |
| "0": 210, |
| "1": 46 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 12, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "pixels", |
| "type": "IMAGE", |
| "link": 20 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 16, |
| "slot_index": 1 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [ |
| 17 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "VAEEncode" |
| } |
| }, |
| { |
| "id": 28, |
| "type": "Anything Everywhere", |
| "pos": [ |
| -272, |
| 620 |
| ], |
| "size": { |
| "0": 210, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 13, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "IMAGE", |
| "type": "*", |
| "link": 43, |
| "slot_index": 0, |
| "color_on": "#64B5F6" |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Anything Everywhere", |
| "group_restricted": 0, |
| "color_restricted": 0 |
| }, |
| "widgets_values": [] |
| }, |
| { |
| "id": 11, |
| "type": "LoadImage", |
| "pos": [ |
| -404, |
| 262 |
| ], |
| "size": { |
| "0": 315, |
| "1": 314 |
| }, |
| "flags": {}, |
| "order": 7, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 43 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": null, |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "LoadImage" |
| }, |
| "widgets_values": [ |
| "image.jpg", |
| "image" |
| ] |
| }, |
| { |
| "id": 25, |
| "type": "Note", |
| "pos": [ |
| -405, |
| 676 |
| ], |
| "size": { |
| "0": 310.9923400878906, |
| "1": 167.09852600097656 |
| }, |
| "flags": {}, |
| "order": 8, |
| "mode": 0, |
| "properties": { |
| "text": "" |
| }, |
| "widgets_values": [ |
| "#Workflow hỗ trợ thay đổi style ảnh real-anime-3d-2d tuỳ theo checkpoint\n\nComfyUI Colab:\n- Creator: stablediffusion.vn\n- Website: sdvn.me | comfy.vn | fluxai.vn\n- Document: bit.ly/sdvn-lib\n- Skills training: hungdiffusion.com" |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| } |
| ], |
| "links": [ |
| [ |
| 1, |
| 4, |
| 0, |
| 3, |
| 0, |
| "MODEL" |
| ], |
| [ |
| 5, |
| 4, |
| 1, |
| 7, |
| 0, |
| "CLIP" |
| ], |
| [ |
| 7, |
| 3, |
| 0, |
| 8, |
| 0, |
| "LATENT" |
| ], |
| [ |
| 8, |
| 4, |
| 2, |
| 8, |
| 1, |
| "VAE" |
| ], |
| [ |
| 9, |
| 8, |
| 0, |
| 9, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 10, |
| 4, |
| 1, |
| 10, |
| 0, |
| "CLIP" |
| ], |
| [ |
| 11, |
| 10, |
| 0, |
| 6, |
| 0, |
| "CLIP" |
| ], |
| [ |
| 16, |
| 4, |
| 2, |
| 14, |
| 1, |
| "VAE" |
| ], |
| [ |
| 17, |
| 14, |
| 0, |
| 3, |
| 3, |
| "LATENT" |
| ], |
| [ |
| 20, |
| 16, |
| 0, |
| 14, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 21, |
| 18, |
| 0, |
| 17, |
| 2, |
| "CONTROL_NET" |
| ], |
| [ |
| 22, |
| 20, |
| 0, |
| 19, |
| 2, |
| "CONTROL_NET" |
| ], |
| [ |
| 23, |
| 6, |
| 0, |
| 17, |
| 0, |
| "CONDITIONING" |
| ], |
| [ |
| 24, |
| 7, |
| 0, |
| 17, |
| 1, |
| "CONDITIONING" |
| ], |
| [ |
| 25, |
| 17, |
| 0, |
| 19, |
| 0, |
| "CONDITIONING" |
| ], |
| [ |
| 26, |
| 17, |
| 1, |
| 19, |
| 1, |
| "CONDITIONING" |
| ], |
| [ |
| 27, |
| 19, |
| 0, |
| 3, |
| 1, |
| "CONDITIONING" |
| ], |
| [ |
| 28, |
| 19, |
| 1, |
| 3, |
| 2, |
| "CONDITIONING" |
| ], |
| [ |
| 35, |
| 23, |
| 0, |
| 17, |
| 3, |
| "IMAGE" |
| ], |
| [ |
| 37, |
| 24, |
| 0, |
| 19, |
| 3, |
| "IMAGE" |
| ], |
| [ |
| 40, |
| 26, |
| 0, |
| 27, |
| 0, |
| "STRING" |
| ], |
| [ |
| 41, |
| 27, |
| 0, |
| 6, |
| 1, |
| "STRING" |
| ], |
| [ |
| 43, |
| 11, |
| 0, |
| 28, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 45, |
| 11, |
| 0, |
| 23, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 46, |
| 11, |
| 0, |
| 24, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 47, |
| 11, |
| 0, |
| 26, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 48, |
| 11, |
| 0, |
| 16, |
| 0, |
| "IMAGE" |
| ] |
| ], |
| "groups": [], |
| "config": {}, |
| "extra": { |
| "ds": { |
| "scale": 0.6934334949441421, |
| "offset": [ |
| 657.5961007124986, |
| -27.437314571100856 |
| ] |
| } |
| }, |
| "version": 0.4 |
| } |