{ "model_loader": { "inputs": { "ckpt_name": "VAR_CHECKPOINT.safetensors" }, "class_type": "CheckpointLoaderSimple", "_meta": { "title": "Load Checkpoint" } }, "2": { "inputs": { "lora_name": "VAR_LORANAME.safetensors", "strength_model": VAR_LORASTRMOD, "strength_clip": VAR_LORASTRCLP, "model": [ "model_loader", 0 ], "clip": [ "model_loader", 1 ] }, "class_type": "LoraLoader", "_meta": { "title": "Load LoRA" } }, "3": { "inputs": { "width": IMAGE_HALF_WIDTH, "height": IMAGE_HALF_HEIGHT, "batch_size": 1 }, "class_type": "EmptyLatentImage", "_meta": { "title": "Empty Latent Image" } }, "15": { "inputs": { "model_name": "4x-UltraSharp.pth" }, "class_type": "UpscaleModelLoader", "_meta": { "title": "Load Upscale Model" } }, "16": { "inputs": { "upscale_model": [ "15", 0 ], "image": [ "14:1", 0 ] }, "class_type": "ImageUpscaleWithModel", "_meta": { "title": "Upscale Image (using Model)" } }, "17": { "inputs": { "upscale_method": "nearest-exact", "width": IMAGE_WIDTH, "height": IMAGE_HEIGHT, "crop": "disabled", "image": [ "16", 0 ] }, "class_type": "ImageScale", "_meta": { "title": "Upscale Image" } }, "18": { "inputs": { "tile_size": 1024, "pixels": [ "17", 0 ], "vae": [ "model_loader", 2 ] }, "class_type": "VAEEncodeTiled", "_meta": { "title": "VAE Encode (Tiled)" } }, "22": { "inputs": { "filename_prefix": "API_OUTPUT_FOLDER_NAME_RENDER", "images": [ "21:1", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "Save Image" } }, "11:0": { "inputs": { "clip": [ "2", 1 ] }, "class_type": "Stupid Simple Rerouter (CLIP)", "_meta": { "title": "CLIP" } }, "11:1": { "inputs": { "integer": IMAGE_HALF_WIDTH }, "class_type": "Stupid Simple Number (INT)", "_meta": { "title": "Width" } }, "11:2": { "inputs": { "integer": IMAGE_HALF_HEIGHT }, "class_type": "Stupid Simple Number (INT)", "_meta": { "title": "Height" } }, "11:3": { "inputs": { "text": "VAR_PROMPT" }, "class_type": "Stupid Simple Text", "_meta": { "title": "Positive" } }, "11:4": { "inputs": { "text": "VAR_NEGATIVE" }, "class_type": "Stupid Simple Text", "_meta": { "title": "Negative" } }, "11:5": { "inputs": { "width": [ "11:1", 0 ], "height": [ "11:2", 0 ], "crop_w": 0, "crop_h": 0, "target_width": [ "11:1", 0 ], "target_height": [ "11:2", 0 ], "text_g": [ "11:3", 0 ], "text_l": [ "11:3", 0 ], "clip": [ "11:0", 0 ] }, "class_type": "CLIPTextEncodeSDXL", "_meta": { "title": "Encoder - Positive" } }, "11:6": { "inputs": { "width": [ "11:1", 0 ], "height": [ "11:2", 0 ], "crop_w": 0, "crop_h": 0, "target_width": [ "11:1", 0 ], "target_height": [ "11:2", 0 ], "text_g": [ "11:4", 0 ], "text_l": [ "11:4", 0 ], "clip": [ "11:0", 0 ] }, "class_type": "CLIPTextEncodeSDXL", "_meta": { "title": "Encoder - Negative" } }, "20:0": { "inputs": { "clip": [ "2", 1 ] }, "class_type": "Stupid Simple Rerouter (CLIP)", "_meta": { "title": "CLIP" } }, "20:1": { "inputs": { "integer": IMAGE_WIDTH }, "class_type": "Stupid Simple Number (INT)", "_meta": { "title": "Width" } }, "20:2": { "inputs": { "integer": IMAGE_HEIGHT }, "class_type": "Stupid Simple Number (INT)", "_meta": { "title": "Height" } }, "20:3": { "inputs": { "text": "VAR_FIRSTUPSCALE_PROMPT" }, "class_type": "Stupid Simple Text", "_meta": { "title": "Positive" } }, "20:4": { "inputs": { "text": "VAR_FIRSTUPSCALE_NEGATIVE" }, "class_type": "Stupid Simple Text", "_meta": { "title": "Negative" } }, "20:5": { "inputs": { "width": [ "20:1", 0 ], "height": [ "20:2", 0 ], "crop_w": 0, "crop_h": 0, "target_width": [ "20:1", 0 ], "target_height": [ "20:2", 0 ], "text_g": [ "20:3", 0 ], "text_l": [ "20:3", 0 ], "clip": [ "20:0", 0 ] }, "class_type": "CLIPTextEncodeSDXL", "_meta": { "title": "Encoder - Positive" } }, "20:6": { "inputs": { "width": [ "20:1", 0 ], "height": [ "20:2", 0 ], "crop_w": 0, "crop_h": 0, "target_width": [ "20:1", 0 ], "target_height": [ "20:2", 0 ], "text_g": [ "20:4", 0 ], "text_l": [ "20:4", 0 ], "clip": [ "20:0", 0 ] }, "class_type": "CLIPTextEncodeSDXL", "_meta": { "title": "Encoder - Negative" } }, "14:0": { "inputs": { "seed": VAR_SEED, "steps": VAR_STEPS, "cfg": VAR_CFG, "sampler_name": "VAR_SAMPLER", "scheduler": "VAR_SCHEDULER", "denoise": 1, "model": [ "2", 0 ], "positive": [ "11:5", 0 ], "negative": [ "11:6", 0 ], "latent_image": [ "3", 0 ] }, "class_type": "KSampler", "_meta": { "title": "KSampler" } }, "14:1": { "inputs": { "samples": [ "14:0", 0 ], "vae": [ "model_loader", 2 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE Decode" } }, "21:0": { "inputs": { "seed": VAR_FIRSTUPSCALE_SEED, "steps": VAR_FIRSTUPSCALE_STEPS, "cfg": VAR_FIRSTUPSCALE_CFG, "sampler_name": "VAR_FIRSTUPSCALE_SAMPLER", "scheduler": "VAR_FIRSTUPSCALE_SCHEDULER", "denoise": VAR_FIRSTUPSCALE_DENOISE, "model": [ "2", 0 ], "positive": [ "20:5", 0 ], "negative": [ "20:6", 0 ], "latent_image": [ "18", 0 ] }, "class_type": "KSampler", "_meta": { "title": "KSampler" } }, "21:1": { "inputs": { "samples": [ "21:0", 0 ], "vae": [ "model_loader", 2 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE Decode" } } }