Download examples/llm-prompt.json from LostBeard/spawngen: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/spaces/LostBeard/spawngen/resolve/main/examples/llm-prompt.json
- Command line
-
hf download hf://spaces/LostBeard/spawngen/examples/llm-prompt.json
-
curl -L -o llm-prompt.json https://huggingface.co/spaces/LostBeard/spawngen/resolve/main/examples/llm-prompt.json
1.78 kB
| { | |
| "1": { | |
| "class_type": "TextGeneration", | |
| "inputs": { | |
| "prompt": "Write one vivid sentence describing a single red apple on a wooden table, for an image generator. Answer with the sentence only.", | |
| "system_prompt": "You write short prompts for image generators.", | |
| "model": "qwen2.5-0.5b-instruct", | |
| "max_new_tokens": 60, | |
| "temperature": 0 | |
| } | |
| }, | |
| "2": { | |
| "class_type": "CheckpointLoaderSimple", | |
| "inputs": { | |
| "ckpt_name": "sd_turbo" | |
| } | |
| }, | |
| "3": { | |
| "class_type": "CLIPTextEncode", | |
| "inputs": { | |
| "text": [ | |
| "1", | |
| 0 | |
| ], | |
| "clip": [ | |
| "2", | |
| 1 | |
| ] | |
| } | |
| }, | |
| "4": { | |
| "class_type": "CLIPTextEncode", | |
| "inputs": { | |
| "text": "", | |
| "clip": [ | |
| "2", | |
| 1 | |
| ] | |
| } | |
| }, | |
| "5": { | |
| "class_type": "EmptyLatentImage", | |
| "inputs": { | |
| "width": 512, | |
| "height": 512, | |
| "batch_size": 1 | |
| } | |
| }, | |
| "6": { | |
| "class_type": "KSampler", | |
| "inputs": { | |
| "model": [ | |
| "2", | |
| 0 | |
| ], | |
| "positive": [ | |
| "3", | |
| 0 | |
| ], | |
| "negative": [ | |
| "4", | |
| 0 | |
| ], | |
| "latent_image": [ | |
| "5", | |
| 0 | |
| ], | |
| "seed": 7, | |
| "steps": 1, | |
| "cfg": 1, | |
| "sampler_name": "euler", | |
| "scheduler": "normal", | |
| "denoise": 1 | |
| } | |
| }, | |
| "7": { | |
| "class_type": "VAEDecode", | |
| "inputs": { | |
| "samples": [ | |
| "6", | |
| 0 | |
| ], | |
| "vae": [ | |
| "2", | |
| 2 | |
| ] | |
| } | |
| }, | |
| "8": { | |
| "class_type": "SaveImage", | |
| "inputs": { | |
| "images": [ | |
| "7", | |
| 0 | |
| ], | |
| "filename_prefix": "SpawnGen" | |
| } | |
| }, | |
| "9": { | |
| "class_type": "PreviewAny", | |
| "inputs": { | |
| "source": [ | |
| "1", | |
| 0 | |
| ] | |
| } | |
| } | |
| } | |