Download examples/img2img.json from LostBeard/spawngen: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/spaces/LostBeard/spawngen/resolve/main/examples/img2img.json
- Command line
-
hf download hf://spaces/LostBeard/spawngen/examples/img2img.json
-
curl -L -o img2img.json https://huggingface.co/spaces/LostBeard/spawngen/resolve/main/examples/img2img.json
1.6 kB
| { | |
| "1": { | |
| "class_type": "CheckpointLoaderSimple", | |
| "inputs": { | |
| "ckpt_name": "sd_turbo" | |
| } | |
| }, | |
| "2": { | |
| "class_type": "LoadImage", | |
| "inputs": { | |
| "image": "example.png" | |
| } | |
| }, | |
| "3": { | |
| "class_type": "ImageScale", | |
| "inputs": { | |
| "image": [ | |
| "2", | |
| 0 | |
| ], | |
| "upscale_method": "bicubic", | |
| "width": 512, | |
| "height": 512, | |
| "crop": "center" | |
| } | |
| }, | |
| "4": { | |
| "class_type": "VAEEncode", | |
| "inputs": { | |
| "pixels": [ | |
| "3", | |
| 0 | |
| ], | |
| "vae": [ | |
| "1", | |
| 2 | |
| ] | |
| } | |
| }, | |
| "5": { | |
| "class_type": "CLIPTextEncode", | |
| "inputs": { | |
| "text": "an oil painting", | |
| "clip": [ | |
| "1", | |
| 1 | |
| ] | |
| } | |
| }, | |
| "6": { | |
| "class_type": "CLIPTextEncode", | |
| "inputs": { | |
| "text": "", | |
| "clip": [ | |
| "1", | |
| 1 | |
| ] | |
| } | |
| }, | |
| "7": { | |
| "class_type": "KSampler", | |
| "inputs": { | |
| "model": [ | |
| "1", | |
| 0 | |
| ], | |
| "positive": [ | |
| "5", | |
| 0 | |
| ], | |
| "negative": [ | |
| "6", | |
| 0 | |
| ], | |
| "latent_image": [ | |
| "4", | |
| 0 | |
| ], | |
| "seed": 7, | |
| "steps": 4, | |
| "cfg": 1, | |
| "sampler_name": "euler", | |
| "scheduler": "normal", | |
| "denoise": 0.6 | |
| } | |
| }, | |
| "8": { | |
| "class_type": "VAEDecode", | |
| "inputs": { | |
| "samples": [ | |
| "7", | |
| 0 | |
| ], | |
| "vae": [ | |
| "1", | |
| 2 | |
| ] | |
| } | |
| }, | |
| "9": { | |
| "class_type": "SaveImage", | |
| "inputs": { | |
| "images": [ | |
| "8", | |
| 0 | |
| ], | |
| "filename_prefix": "SpawnGen" | |
| } | |
| } | |
| } | |