| export const defaultGraph = { |
| "last_node_id": 138, |
| "last_link_id": 519, |
| "nodes": [ |
| { |
| "id": 136, |
| "type": "Note", |
| "pos": [ |
| -513, |
| 280 |
| ], |
| "size": { |
| "0": 210, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "properties": { |
| "text": "" |
| }, |
| "widgets_values": [ |
| "To use inpaint: right click on the image -> Open in MaskEditor" |
| ], |
| "color": "#2a363b", |
| "bgcolor": "#3f5159", |
| "shape": 1 |
| }, |
| { |
| "id": 121, |
| "type": "VAEEncode", |
| "pos": [ |
| 24, |
| 377 |
| ], |
| "size": { |
| "0": 210, |
| "1": 46 |
| }, |
| "flags": {}, |
| "order": 6, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "pixels", |
| "type": "IMAGE", |
| "link": 236 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 267 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "VAEEncode" |
| }, |
| "color": "#2a363b", |
| "bgcolor": "#3f5159" |
| }, |
| { |
| "id": 133, |
| "type": "Note", |
| "pos": [ |
| 24, |
| 280 |
| ], |
| "size": { |
| "0": 210, |
| "1": 58 |
| }, |
| "flags": { |
| "collapsed": false |
| }, |
| "order": 1, |
| "mode": 0, |
| "properties": { |
| "text": "" |
| }, |
| "widgets_values": [ |
| "Connect \"LATENT\" below to \"latent_image\" in the Sampler to use img2img or inpaint" |
| ], |
| "color": "#2a363b", |
| "bgcolor": "#3f5159", |
| "shape": 1 |
| }, |
| { |
| "id": 137, |
| "type": "Note", |
| "pos": [ |
| 224, |
| -379 |
| ], |
| "size": { |
| "0": 210, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 2, |
| "mode": 0, |
| "properties": { |
| "text": "" |
| }, |
| "widgets_values": [ |
| "To go back to txt2img connect \"LATENT\" with \"latent_image\" below" |
| ], |
| "color": "#223", |
| "bgcolor": "#335" |
| }, |
| { |
| "id": 110, |
| "type": "Efficient Loader", |
| "pos": [ |
| -182, |
| -285 |
| ], |
| "size": { |
| "0": 436.8265686035156, |
| "1": 512.329345703125 |
| }, |
| "flags": {}, |
| "order": 3, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "lora_stack", |
| "type": "LORA_STACK", |
| "link": null |
| }, |
| { |
| "name": "cnet_stack", |
| "type": "CONTROL_NET_STACK", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "MODEL", |
| "type": "MODEL", |
| "links": [ |
| 489, |
| 496, |
| 502 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "CONDITIONING+", |
| "type": "CONDITIONING", |
| "links": [ |
| 490, |
| 497, |
| 503 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| }, |
| { |
| "name": "CONDITIONING-", |
| "type": "CONDITIONING", |
| "links": [ |
| 491, |
| 498, |
| 504 |
| ], |
| "shape": 3, |
| "slot_index": 2 |
| }, |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [ |
| 492 |
| ], |
| "shape": 3, |
| "slot_index": 3 |
| }, |
| { |
| "name": "VAE", |
| "type": "VAE", |
| "links": [ |
| 267, |
| 493, |
| 495, |
| 499, |
| 505 |
| ], |
| "shape": 3, |
| "slot_index": 4 |
| }, |
| { |
| "name": "CLIP", |
| "type": "CLIP", |
| "links": null, |
| "shape": 3 |
| }, |
| { |
| "name": "DEPENDENCIES", |
| "type": "DEPENDENCIES", |
| "links": null, |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Efficient Loader" |
| }, |
| "widgets_values": [ |
| "Anything_V4_5.safetensors", |
| "wd.vae.safetensors", |
| -2, |
| "None", |
| 0.5, |
| 0.5, |
| "1girl, best quality, masterpiece\n", |
| "low quality, worst quality, embedding:EasyNegativeV2", |
| 512, |
| 512, |
| 1 |
| ], |
| "color": "#223", |
| "bgcolor": "#335", |
| "shape": 2 |
| }, |
| { |
| "id": 116, |
| "type": "Ksampler_+_VAE_Decode", |
| "pos": [ |
| 378, |
| -283 |
| ], |
| "size": [ |
| 315, |
| 494 |
| ], |
| "flags": {}, |
| "order": 5, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 489 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 490 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 491 |
| }, |
| { |
| "name": "latent_image", |
| "type": "LATENT", |
| "link": 492 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 493 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 501 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "title": "Sampler", |
| "properties": { |
| "nestedData": { |
| "nestedNodes": [ |
| { |
| "id": 114, |
| "type": "KSampler", |
| "pos": [ |
| 183, |
| -278 |
| ], |
| "size": { |
| "0": 315, |
| "1": 262 |
| }, |
| "flags": {}, |
| "order": 8, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 464 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 465 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 466 |
| }, |
| { |
| "name": "latent_image", |
| "type": "LATENT", |
| "link": 467 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [ |
| 463 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "KSampler" |
| }, |
| "widgets_values": [ |
| 324888587873908, |
| "randomize", |
| 20, |
| 7, |
| "dpmpp_2m", |
| "karras", |
| 1 |
| ], |
| "serializedWidgets": [ |
| { |
| "type": "number", |
| "name": "seed", |
| "value": 324888587873908, |
| "options": { |
| "min": 0, |
| "max": 18446744073709552000, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "linkedWidgets": [ |
| { |
| "type": "combo", |
| "name": "control_after_generate", |
| "value": "randomize", |
| "options": { |
| "values": [ |
| "fixed", |
| "increment", |
| "decrement", |
| "randomize" |
| ], |
| "serialize": false |
| }, |
| "last_y": 110 |
| } |
| ], |
| "last_y": 86 |
| }, |
| { |
| "type": "combo", |
| "name": "control_after_generate", |
| "value": "randomize", |
| "options": { |
| "values": [ |
| "fixed", |
| "increment", |
| "decrement", |
| "randomize" |
| ], |
| "serialize": false |
| }, |
| "last_y": 110 |
| }, |
| { |
| "type": "number", |
| "name": "steps", |
| "value": 20, |
| "options": { |
| "min": 1, |
| "max": 10000, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 134 |
| }, |
| { |
| "type": "number", |
| "name": "cfg", |
| "value": 7, |
| "options": { |
| "min": 0, |
| "max": 100, |
| "step": 5, |
| "round": 0.01, |
| "precision": 1 |
| }, |
| "last_y": 158 |
| }, |
| { |
| "type": "combo", |
| "name": "sampler_name", |
| "value": "dpmpp_2m", |
| "options": { |
| "values": [ |
| "euler", |
| "euler_ancestral", |
| "heun", |
| "dpm_2", |
| "dpm_2_ancestral", |
| "lms", |
| "dpm_fast", |
| "dpm_adaptive", |
| "dpmpp_2s_ancestral", |
| "dpmpp_sde", |
| "dpmpp_sde_gpu", |
| "dpmpp_2m", |
| "dpmpp_2m_sde", |
| "dpmpp_2m_sde_gpu", |
| "dpmpp_3m_sde", |
| "dpmpp_3m_sde_gpu", |
| "ddpm", |
| "ddim", |
| "uni_pc", |
| "uni_pc_bh2" |
| ] |
| }, |
| "last_y": 182 |
| }, |
| { |
| "type": "combo", |
| "name": "scheduler", |
| "value": "karras", |
| "options": { |
| "values": [ |
| "normal", |
| "karras", |
| "exponential", |
| "sgm_uniform", |
| "simple", |
| "ddim_uniform" |
| ] |
| }, |
| "last_y": 206 |
| }, |
| { |
| "type": "number", |
| "name": "denoise", |
| "value": 1, |
| "options": { |
| "min": 0, |
| "max": 1, |
| "step": 0.1, |
| "round": 0.01, |
| "precision": 2 |
| }, |
| "last_y": 230 |
| } |
| ] |
| }, |
| { |
| "id": 115, |
| "type": "VAEDecode", |
| "pos": [ |
| 573, |
| -288 |
| ], |
| "size": { |
| "0": 210, |
| "1": 46 |
| }, |
| "flags": {}, |
| "order": 10, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "samples", |
| "type": "LATENT", |
| "link": 463 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 468, |
| "slot_index": 1 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 475 |
| ], |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "VAEDecode" |
| }, |
| "serializedWidgets": [] |
| } |
| ] |
| } |
| }, |
| "widgets_values": [ |
| 324888587873908, |
| "randomize", |
| 20, |
| 7, |
| "dpmpp_2m", |
| "karras", |
| 1 |
| ], |
| "color": "#323", |
| "bgcolor": "#535" |
| }, |
| { |
| "id": 120, |
| "type": "LoadImage", |
| "pos": [ |
| -297, |
| 280 |
| ], |
| "size": { |
| "0": 315, |
| "1": 314.0000305175781 |
| }, |
| "flags": {}, |
| "order": 4, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 236 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": null, |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "LoadImage" |
| }, |
| "widgets_values": [ |
| "example.png", |
| "image" |
| ], |
| "color": "#2a363b", |
| "bgcolor": "#3f5159" |
| }, |
| { |
| "id": 119, |
| "type": "Hires._fix", |
| "pos": [ |
| 375, |
| 260 |
| ], |
| "size": [ |
| 315, |
| 634 |
| ], |
| "flags": {}, |
| "order": 7, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 501 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 495 |
| }, |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 496 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 497 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 498 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 499 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 514 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "title": "Hires. fix", |
| "properties": { |
| "nestedData": { |
| "nestedNodes": [ |
| { |
| "id": 11, |
| "type": "UpscaleModelLoader", |
| "pos": [ |
| -668.6666666666665, |
| 82 |
| ], |
| "size": { |
| "0": 315, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 5, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "UPSCALE_MODEL", |
| "type": "UPSCALE_MODEL", |
| "links": [ |
| 470 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "UpscaleModelLoader" |
| }, |
| "widgets_values": [ |
| "4x-UltraSharp.pth" |
| ], |
| "serializedWidgets": [ |
| { |
| "type": "combo", |
| "name": "model_name", |
| "value": "4x-UltraSharp.pth", |
| "options": { |
| "values": [ |
| "4x-UltraSharp.pth", |
| "4x_fatal_Anime_500000_G.pth" |
| ] |
| }, |
| "last_y": 26 |
| } |
| ] |
| }, |
| { |
| "id": 12, |
| "type": "ImageUpscaleWithModel", |
| "pos": [ |
| -98.66666666666674, |
| 112 |
| ], |
| "size": { |
| "0": 241.79998779296875, |
| "1": 46 |
| }, |
| "flags": {}, |
| "order": 10, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "upscale_model", |
| "type": "UPSCALE_MODEL", |
| "link": 470 |
| }, |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 494 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 471 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ImageUpscaleWithModel" |
| }, |
| "serializedWidgets": [] |
| }, |
| { |
| "id": 13, |
| "type": "ImageScale", |
| "pos": [ |
| 181.33333333333326, |
| 62 |
| ], |
| "size": { |
| "0": 315, |
| "1": 130 |
| }, |
| "flags": {}, |
| "order": 11, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 471 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 472 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ImageScale" |
| }, |
| "widgets_values": [ |
| "bilinear", |
| 1024, |
| 1024, |
| "disabled" |
| ], |
| "serializedWidgets": [ |
| { |
| "type": "combo", |
| "name": "upscale_method", |
| "value": "bilinear", |
| "options": { |
| "values": [ |
| "nearest-exact", |
| "bilinear", |
| "area", |
| "bicubic", |
| "lanczos" |
| ] |
| }, |
| "last_y": 26 |
| }, |
| { |
| "type": "number", |
| "name": "width", |
| "value": 1024, |
| "options": { |
| "min": 0, |
| "max": 8192, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 50 |
| }, |
| { |
| "type": "number", |
| "name": "height", |
| "value": 1024, |
| "options": { |
| "min": 0, |
| "max": 8192, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 74 |
| }, |
| { |
| "type": "combo", |
| "name": "crop", |
| "value": "disabled", |
| "options": { |
| "values": [ |
| "disabled", |
| "center" |
| ] |
| }, |
| "last_y": 98 |
| } |
| ] |
| }, |
| { |
| "id": 14, |
| "type": "VAEEncode", |
| "pos": [ |
| 611.3333333333333, |
| 122 |
| ], |
| "size": { |
| "0": 210, |
| "1": 46 |
| }, |
| "flags": {}, |
| "order": 12, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "pixels", |
| "type": "IMAGE", |
| "link": 472 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 476 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [ |
| 473 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "VAEEncode" |
| }, |
| "serializedWidgets": [] |
| }, |
| { |
| "id": 15, |
| "type": "KSampler", |
| "pos": [ |
| 881.3333333333335, |
| -28 |
| ], |
| "size": { |
| "0": 315, |
| "1": 474 |
| }, |
| "flags": {}, |
| "order": 13, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 477 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 478, |
| "slot_index": 1 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 479, |
| "slot_index": 2 |
| }, |
| { |
| "name": "latent_image", |
| "type": "LATENT", |
| "link": 473 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [ |
| 474 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "KSampler" |
| }, |
| "widgets_values": [ |
| 840354851616670, |
| "randomize", |
| 20, |
| 7, |
| "dpmpp_2m", |
| "karras", |
| 0.5 |
| ], |
| "serializedWidgets": [ |
| { |
| "type": "number", |
| "name": "seed", |
| "value": 840354851616670, |
| "options": { |
| "min": 0, |
| "max": 18446744073709552000, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "linkedWidgets": [ |
| { |
| "type": "combo", |
| "name": "control_after_generate", |
| "value": "randomize", |
| "options": { |
| "values": [ |
| "fixed", |
| "increment", |
| "decrement", |
| "randomize" |
| ], |
| "serialize": false |
| }, |
| "last_y": 110 |
| } |
| ], |
| "last_y": 86 |
| }, |
| { |
| "type": "combo", |
| "name": "control_after_generate", |
| "value": "randomize", |
| "options": { |
| "values": [ |
| "fixed", |
| "increment", |
| "decrement", |
| "randomize" |
| ], |
| "serialize": false |
| }, |
| "last_y": 110 |
| }, |
| { |
| "type": "number", |
| "name": "steps", |
| "value": 20, |
| "options": { |
| "min": 1, |
| "max": 10000, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 134 |
| }, |
| { |
| "type": "number", |
| "name": "cfg", |
| "value": 7, |
| "options": { |
| "min": 0, |
| "max": 100, |
| "step": 5, |
| "round": 0.01, |
| "precision": 1 |
| }, |
| "last_y": 158 |
| }, |
| { |
| "type": "combo", |
| "name": "sampler_name", |
| "value": "dpmpp_2m", |
| "options": { |
| "values": [ |
| "euler", |
| "euler_ancestral", |
| "heun", |
| "dpm_2", |
| "dpm_2_ancestral", |
| "lms", |
| "dpm_fast", |
| "dpm_adaptive", |
| "dpmpp_2s_ancestral", |
| "dpmpp_sde", |
| "dpmpp_sde_gpu", |
| "dpmpp_2m", |
| "dpmpp_2m_sde", |
| "dpmpp_2m_sde_gpu", |
| "dpmpp_3m_sde", |
| "dpmpp_3m_sde_gpu", |
| "ddpm", |
| "ddim", |
| "uni_pc", |
| "uni_pc_bh2" |
| ] |
| }, |
| "last_y": 182 |
| }, |
| { |
| "type": "combo", |
| "name": "scheduler", |
| "value": "karras", |
| "options": { |
| "values": [ |
| "normal", |
| "karras", |
| "exponential", |
| "sgm_uniform", |
| "simple", |
| "ddim_uniform" |
| ] |
| }, |
| "last_y": 206 |
| }, |
| { |
| "type": "number", |
| "name": "denoise", |
| "value": 0.5, |
| "options": { |
| "min": 0, |
| "max": 1, |
| "step": 0.1, |
| "round": 0.01, |
| "precision": 2 |
| }, |
| "last_y": 230 |
| } |
| ] |
| }, |
| { |
| "id": 16, |
| "type": "VAEDecode", |
| "pos": [ |
| 1391.3333333333335, |
| 52 |
| ], |
| "size": { |
| "0": 210, |
| "1": 46 |
| }, |
| "flags": {}, |
| "order": 14, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "samples", |
| "type": "LATENT", |
| "link": 474 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 480 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 483 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "VAEDecode" |
| }, |
| "serializedWidgets": [] |
| } |
| ] |
| } |
| }, |
| "widgets_values": [ |
| "4x-UltraSharp.pth", |
| "bilinear", |
| 1024, |
| 1024, |
| "disabled", |
| 840354851616670, |
| "randomize", |
| 20, |
| 7, |
| "dpmpp_2m", |
| "karras", |
| 0.5 |
| ], |
| "color": "#232", |
| "bgcolor": "#353" |
| }, |
| { |
| "id": 129, |
| "type": "Ultimate_SD_Upscaling", |
| "pos": [ |
| 743, |
| 371 |
| ], |
| "size": [ |
| 315, |
| 806 |
| ], |
| "flags": {}, |
| "order": 8, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 514 |
| }, |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 502 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 503 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 504 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 505 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 519 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "title": "Ultimate SD Upscaling", |
| "properties": { |
| "nestedData": { |
| "nestedNodes": [ |
| { |
| "id": 127, |
| "type": "UltimateSDUpscale", |
| "pos": [ |
| 581, |
| 443 |
| ], |
| "size": { |
| "0": 315, |
| "1": 590 |
| }, |
| "flags": {}, |
| "order": 10, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 500 |
| }, |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 484 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 485 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 486 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 487 |
| }, |
| { |
| "name": "upscale_model", |
| "type": "UPSCALE_MODEL", |
| "link": 482 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 488 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "UltimateSDUpscale" |
| }, |
| "widgets_values": [ |
| 2, |
| 7171248711732, |
| "randomize", |
| 20, |
| 7, |
| "dpmpp_2m", |
| "karras", |
| 0.25, |
| "Chess", |
| 512, |
| 512, |
| 8, |
| 32, |
| "None", |
| 0.35000000000000003, |
| 64, |
| 8, |
| 16, |
| "enable" |
| ], |
| "serializedWidgets": [ |
| { |
| "type": "number", |
| "name": "upscale_by", |
| "value": 2, |
| "options": { |
| "min": 0.05, |
| "max": 4, |
| "step": 0.5, |
| "round": 0.01, |
| "precision": 2 |
| }, |
| "last_y": 126 |
| }, |
| { |
| "type": "number", |
| "name": "seed", |
| "value": 7171248711732, |
| "options": { |
| "min": 0, |
| "max": 18446744073709552000, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "linkedWidgets": [ |
| { |
| "type": "combo", |
| "name": "control_after_generate", |
| "value": "randomize", |
| "options": { |
| "values": [ |
| "fixed", |
| "increment", |
| "decrement", |
| "randomize" |
| ], |
| "serialize": false |
| }, |
| "last_y": 174 |
| } |
| ], |
| "last_y": 150 |
| }, |
| { |
| "type": "combo", |
| "name": "control_after_generate", |
| "value": "randomize", |
| "options": { |
| "values": [ |
| "fixed", |
| "increment", |
| "decrement", |
| "randomize" |
| ], |
| "serialize": false |
| }, |
| "last_y": 174 |
| }, |
| { |
| "type": "number", |
| "name": "steps", |
| "value": 20, |
| "options": { |
| "min": 1, |
| "max": 10000, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 198 |
| }, |
| { |
| "type": "number", |
| "name": "cfg", |
| "value": 7, |
| "options": { |
| "min": 0, |
| "max": 100, |
| "step": 5, |
| "round": 0.1, |
| "precision": 1 |
| }, |
| "last_y": 222 |
| }, |
| { |
| "type": "combo", |
| "name": "sampler_name", |
| "value": "dpmpp_2m", |
| "options": { |
| "values": [ |
| "euler", |
| "euler_ancestral", |
| "heun", |
| "dpm_2", |
| "dpm_2_ancestral", |
| "lms", |
| "dpm_fast", |
| "dpm_adaptive", |
| "dpmpp_2s_ancestral", |
| "dpmpp_sde", |
| "dpmpp_sde_gpu", |
| "dpmpp_2m", |
| "dpmpp_2m_sde", |
| "dpmpp_2m_sde_gpu", |
| "dpmpp_3m_sde", |
| "dpmpp_3m_sde_gpu", |
| "ddpm", |
| "ddim", |
| "uni_pc", |
| "uni_pc_bh2" |
| ] |
| }, |
| "last_y": 246 |
| }, |
| { |
| "type": "combo", |
| "name": "scheduler", |
| "value": "karras", |
| "options": { |
| "values": [ |
| "normal", |
| "karras", |
| "exponential", |
| "sgm_uniform", |
| "simple", |
| "ddim_uniform" |
| ] |
| }, |
| "last_y": 270 |
| }, |
| { |
| "type": "number", |
| "name": "denoise", |
| "value": 0.25, |
| "options": { |
| "min": 0, |
| "max": 1, |
| "step": 0.1, |
| "round": 0.01, |
| "precision": 2 |
| }, |
| "last_y": 294 |
| }, |
| { |
| "type": "combo", |
| "name": "mode_type", |
| "value": "Chess", |
| "options": { |
| "values": [ |
| "Linear", |
| "Chess", |
| "None" |
| ] |
| }, |
| "last_y": 318 |
| }, |
| { |
| "type": "number", |
| "name": "tile_width", |
| "value": 512, |
| "options": { |
| "min": 64, |
| "max": 8192, |
| "step": 80, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 342 |
| }, |
| { |
| "type": "number", |
| "name": "tile_height", |
| "value": 512, |
| "options": { |
| "min": 64, |
| "max": 8192, |
| "step": 80, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 366 |
| }, |
| { |
| "type": "number", |
| "name": "mask_blur", |
| "value": 8, |
| "options": { |
| "min": 0, |
| "max": 64, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 390 |
| }, |
| { |
| "type": "number", |
| "name": "tile_padding", |
| "value": 32, |
| "options": { |
| "min": 0, |
| "max": 8192, |
| "step": 80, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 414 |
| }, |
| { |
| "type": "combo", |
| "name": "seam_fix_mode", |
| "value": "None", |
| "options": { |
| "values": [ |
| "None", |
| "Band Pass", |
| "Half Tile", |
| "Half Tile + Intersections" |
| ] |
| }, |
| "last_y": 438 |
| }, |
| { |
| "type": "number", |
| "name": "seam_fix_denoise", |
| "value": 0.35000000000000003, |
| "options": { |
| "min": 0, |
| "max": 1, |
| "step": 0.1, |
| "round": 0.01, |
| "precision": 2 |
| }, |
| "last_y": 462 |
| }, |
| { |
| "type": "number", |
| "name": "seam_fix_width", |
| "value": 64, |
| "options": { |
| "min": 0, |
| "max": 8192, |
| "step": 80, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 486 |
| }, |
| { |
| "type": "number", |
| "name": "seam_fix_mask_blur", |
| "value": 8, |
| "options": { |
| "min": 0, |
| "max": 64, |
| "step": 10, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 510 |
| }, |
| { |
| "type": "number", |
| "name": "seam_fix_padding", |
| "value": 16, |
| "options": { |
| "min": 0, |
| "max": 8192, |
| "step": 80, |
| "round": 1, |
| "precision": 0 |
| }, |
| "last_y": 534 |
| }, |
| { |
| "type": "combo", |
| "name": "force_uniform_tiles", |
| "value": "enable", |
| "options": { |
| "values": [ |
| "enable", |
| "disable" |
| ] |
| }, |
| "last_y": 558 |
| } |
| ] |
| }, |
| { |
| "id": 128, |
| "type": "UpscaleModelLoader", |
| "pos": [ |
| 181, |
| 623 |
| ], |
| "size": { |
| "0": 315, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 5, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "UPSCALE_MODEL", |
| "type": "UPSCALE_MODEL", |
| "links": [ |
| 482 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "UpscaleModelLoader" |
| }, |
| "widgets_values": [ |
| "4x-UltraSharp.pth" |
| ], |
| "serializedWidgets": [ |
| { |
| "type": "combo", |
| "name": "model_name", |
| "value": "4x-UltraSharp.pth", |
| "options": { |
| "values": [ |
| "4x-UltraSharp.pth", |
| "4x_fatal_Anime_500000_G.pth" |
| ] |
| }, |
| "last_y": 26 |
| } |
| ] |
| } |
| ] |
| } |
| }, |
| "widgets_values": [ |
| 2, |
| 7171248711732, |
| "randomize", |
| 20, |
| 7, |
| "dpmpp_2m", |
| "karras", |
| 0.25, |
| "Chess", |
| 512, |
| 512, |
| 8, |
| 32, |
| "None", |
| 0.35000000000000003, |
| 64, |
| 8, |
| 16, |
| "enable", |
| "4x-UltraSharp.pth" |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| }, |
| { |
| "id": 112, |
| "type": "PreviewImage", |
| "pos": [ |
| 1126, |
| 83 |
| ], |
| "size": { |
| "0": 672.5993041992188, |
| "1": 698.6929321289062 |
| }, |
| "flags": {}, |
| "order": 9, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": 519 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "PreviewImage" |
| }, |
| "color": "#322", |
| "bgcolor": "#533", |
| "shape": 2 |
| } |
| ], |
| "links": [ |
| [ |
| 236, |
| 120, |
| 0, |
| 121, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 267, |
| 110, |
| 4, |
| 121, |
| 1, |
| "VAE" |
| ], |
| [ |
| 489, |
| 110, |
| 0, |
| 116, |
| 0, |
| "MODEL" |
| ], |
| [ |
| 490, |
| 110, |
| 1, |
| 116, |
| 1, |
| "CONDITIONING" |
| ], |
| [ |
| 491, |
| 110, |
| 2, |
| 116, |
| 2, |
| "CONDITIONING" |
| ], |
| [ |
| 492, |
| 110, |
| 3, |
| 116, |
| 3, |
| "LATENT" |
| ], |
| [ |
| 493, |
| 110, |
| 4, |
| 116, |
| 4, |
| "VAE" |
| ], |
| [ |
| 495, |
| 110, |
| 4, |
| 119, |
| 1, |
| "VAE" |
| ], |
| [ |
| 496, |
| 110, |
| 0, |
| 119, |
| 2, |
| "MODEL" |
| ], |
| [ |
| 497, |
| 110, |
| 1, |
| 119, |
| 3, |
| "CONDITIONING" |
| ], |
| [ |
| 498, |
| 110, |
| 2, |
| 119, |
| 4, |
| "CONDITIONING" |
| ], |
| [ |
| 499, |
| 110, |
| 4, |
| 119, |
| 5, |
| "VAE" |
| ], |
| [ |
| 501, |
| 116, |
| 0, |
| 119, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 502, |
| 110, |
| 0, |
| 129, |
| 1, |
| "MODEL" |
| ], |
| [ |
| 503, |
| 110, |
| 1, |
| 129, |
| 2, |
| "CONDITIONING" |
| ], |
| [ |
| 504, |
| 110, |
| 2, |
| 129, |
| 3, |
| "CONDITIONING" |
| ], |
| [ |
| 505, |
| 110, |
| 4, |
| 129, |
| 4, |
| "VAE" |
| ], |
| [ |
| 514, |
| 119, |
| 0, |
| 129, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 519, |
| 129, |
| 0, |
| 112, |
| 0, |
| "IMAGE" |
| ] |
| ], |
| "groups": [], |
| "config": {}, |
| "extra": {}, |
| "version": 0.4 |
| } |