| 1 | +{ |
| 2 | + "3": { |
| 3 | + "inputs": { |
| 4 | + "seed": "%seed%", |
| 5 | + "steps": "%steps%", |
| 6 | + "cfg": "%scale%", |
| 7 | + "sampler_name": "%sampler%", |
| 8 | + "scheduler": "%scheduler%", |
| 9 | + "denoise": "%denoise%", |
| 10 | + "model": [ |
| 11 | + "4", |
| 12 | + 0 |
| 13 | + ], |
| 14 | + "positive": [ |
| 15 | + "6", |
| 16 | + 0 |
| 17 | + ], |
| 18 | + "negative": [ |
| 19 | + "7", |
| 20 | + 0 |
| 21 | + ], |
| 22 | + "latent_image": [ |
| 23 | + "12", |
| 24 | + 0 |
| 25 | + ] |
| 26 | + }, |
| 27 | + "class_type": "KSampler", |
| 28 | + "_meta": { |
| 29 | + "title": "KSampler" |
| 30 | + } |
| 31 | + }, |
| 32 | + "4": { |
| 33 | + "inputs": { |
| 34 | + "ckpt_name": "%model%" |
| 35 | + }, |
| 36 | + "class_type": "CheckpointLoaderSimple", |
| 37 | + "_meta": { |
| 38 | + "title": "Load Checkpoint" |
| 39 | + } |
| 40 | + }, |
| 41 | + "6": { |
| 42 | + "inputs": { |
| 43 | + "text": "%prompt%", |
| 44 | + "clip": [ |
| 45 | + "4", |
| 46 | + 1 |
| 47 | + ] |
| 48 | + }, |
| 49 | + "class_type": "CLIPTextEncode", |
| 50 | + "_meta": { |
| 51 | + "title": "CLIP Text Encode (Prompt)" |
| 52 | + } |
| 53 | + }, |
| 54 | + "7": { |
| 55 | + "inputs": { |
| 56 | + "text": "%negative_prompt%", |
| 57 | + "clip": [ |
| 58 | + "4", |
| 59 | + 1 |
| 60 | + ] |
| 61 | + }, |
| 62 | + "class_type": "CLIPTextEncode", |
| 63 | + "_meta": { |
| 64 | + "title": "CLIP Text Encode (Negative Prompt)" |
| 65 | + } |
| 66 | + }, |
| 67 | + "8": { |
| 68 | + "inputs": { |
| 69 | + "samples": [ |
| 70 | + "3", |
| 71 | + 0 |
| 72 | + ], |
| 73 | + "vae": [ |
| 74 | + "4", |
| 75 | + 2 |
| 76 | + ] |
| 77 | + }, |
| 78 | + "class_type": "VAEDecode", |
| 79 | + "_meta": { |
| 80 | + "title": "VAE Decode" |
| 81 | + } |
| 82 | + }, |
| 83 | + "9": { |
| 84 | + "inputs": { |
| 85 | + "filename_prefix": "SillyTavern", |
| 86 | + "images": [ |
| 87 | + "8", |
| 88 | + 0 |
| 89 | + ] |
| 90 | + }, |
| 91 | + "class_type": "SaveImage", |
| 92 | + "_meta": { |
| 93 | + "title": "Save Image" |
| 94 | + } |
| 95 | + }, |
| 96 | + "10": { |
| 97 | + "inputs": { |
| 98 | + "image": "%char_avatar%" |
| 99 | + }, |
| 100 | + "class_type": "ETN_LoadImageBase64", |
| 101 | + "_meta": { |
| 102 | + "title": "Load Image (Base64) [https://github.com/Acly/comfyui-tooling-nodes]" |
| 103 | + } |
| 104 | + }, |
| 105 | + "12": { |
| 106 | + "inputs": { |
| 107 | + "pixels": [ |
| 108 | + "13", |
| 109 | + 0 |
| 110 | + ], |
| 111 | + "vae": [ |
| 112 | + "4", |
| 113 | + 2 |
| 114 | + ] |
| 115 | + }, |
| 116 | + "class_type": "VAEEncode", |
| 117 | + "_meta": { |
| 118 | + "title": "VAE Encode" |
| 119 | + } |
| 120 | + }, |
| 121 | + "13": { |
| 122 | + "inputs": { |
| 123 | + "upscale_method": "bicubic", |
| 124 | + "width": "%width%", |
| 125 | + "height": "%height%", |
| 126 | + "crop": "center", |
| 127 | + "image": [ |
| 128 | + "10", |
| 129 | + 0 |
| 130 | + ] |
| 131 | + }, |
| 132 | + "class_type": "ImageScale", |
| 133 | + "_meta": { |
| 134 | + "title": "Upscale Image" |
| 135 | + } |
| 136 | + } |
| 137 | +} |