| 1 | { |
| 2 | "3": { |
| 3 | "class_type": "KSampler", |
| 4 | "inputs": { |
| 5 | "cfg": "%scale%", |
| 6 | "denoise": 1, |
| 7 | "latent_image": [ |
| 8 | "5", |
| 9 | 0 |
| 10 | ], |
| 11 | "model": [ |
| 12 | "4", |
| 13 | 0 |
| 14 | ], |
| 15 | "negative": [ |
| 16 | "7", |
| 17 | 0 |
| 18 | ], |
| 19 | "positive": [ |
| 20 | "6", |
| 21 | 0 |
| 22 | ], |
| 23 | "sampler_name": "%sampler%", |
| 24 | "scheduler": "%scheduler%", |
| 25 | "seed": "%seed%", |
| 26 | "steps": "%steps%" |
| 27 | } |
| 28 | }, |
| 29 | "4": { |
| 30 | "class_type": "CheckpointLoaderSimple", |
| 31 | "inputs": { |
| 32 | "ckpt_name": "%model%" |
| 33 | } |
| 34 | }, |
| 35 | "5": { |
| 36 | "class_type": "EmptyLatentImage", |
| 37 | "inputs": { |
| 38 | "batch_size": 1, |
| 39 | "height": "%height%", |
| 40 | "width": "%width%" |
| 41 | } |
| 42 | }, |
| 43 | "6": { |
| 44 | "class_type": "CLIPTextEncode", |
| 45 | "inputs": { |
| 46 | "clip": [ |
| 47 | "4", |
| 48 | 1 |
| 49 | ], |
| 50 | "text": "%prompt%" |
| 51 | } |
| 52 | }, |
| 53 | "7": { |
| 54 | "class_type": "CLIPTextEncode", |
| 55 | "inputs": { |
| 56 | "clip": [ |
| 57 | "4", |
| 58 | 1 |
| 59 | ], |
| 60 | "text": "%negative_prompt%" |
| 61 | } |
| 62 | }, |
| 63 | "8": { |
| 64 | "class_type": "VAEDecode", |
| 65 | "inputs": { |
| 66 | "samples": [ |
| 67 | "3", |
| 68 | 0 |
| 69 | ], |
| 70 | "vae": [ |
| 71 | "4", |
| 72 | 2 |
| 73 | ] |
| 74 | } |
| 75 | }, |
| 76 | "9": { |
| 77 | "class_type": "SaveImage", |
| 78 | "inputs": { |
| 79 | "filename_prefix": "SillyTavern", |
| 80 | "images": [ |
| 81 | "8", |
| 82 | 0 |
| 83 | ] |
| 84 | } |
| 85 | } |
| 86 | } |