Built with anycoder
{
"last_node_id": 8,
"last_link_id": 9,
"nodes": [
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [
100,
300
],
"size": [
315,
98
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
2,
3
]
},
{
"name": "VAE",
"type": "VAE",
"links": [
4
]
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"v1-5-pruned-emaonly.ckpt"
]
},
{
"id": 2,
"type": "CLIPTextEncode",
"pos": [
500,
200
],
"size": [
425,
180
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
5
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful landscape photography, mountains at sunset, golden hour lighting, highly detailed, 4k"
]
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [
500,
400
],
"size": [
425,
180
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, low quality, distorted, deformed, extra limbs, missing limbs, bad anatomy"
]
},
{
"id": 4,
"type": "KSampler",
"pos": [
1000,
200
],
"size": [
315,
262
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 5
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 9
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
]
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
420,
0.8,
7.5,
"normal",
"lcm",
"linear"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
750,
200
],
"size": [
315,
106
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 6,
"type": "VAEDecode",
"pos": [
1350,
200
],
"size": [
210,
46
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 4
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
8
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 7,
"type": "SaveImage",
"pos": [
1600,
200
],
"size": [
315,
270
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"stable_diffusion_output"
]
},
{
"id": 8,
"type": "Note",
"pos": [
50,
50
],
"size": [
400,
150
],
"flags": {},
"order": 7,
"mode": 0,
"properties": {
"Node name for S&R": "Note"
},
"widgets_values": [
"Stable Diffusion Text-to-Image Workflow\\n\\n1. Load a Stable Diffusion checkpoint model\\n2. Encode positive and negative prompts\\n3. Generate latent image using KSampler\\n4. Decode with VAE to get final image\\n5. Save the generated image\\n\\nBuilt with anycoder: https://huggingface.co/spaces/akhaliq/anycoder"
]
}
],
"links": [
[
1,
1,
0,
4,
0,
"MODEL"
],
[
2,
1,
1,
2,
0,
"CLIP"
],
[
3,
1,
1,
3,
0,
"CLIP"
],
[
4,
1,
2,
6,
1,
"VAE"
],
[
5,
2,
0,
4,
1,
"CONDITIONING"
],
[
6,
3,
0,
4,
2,
"CONDITIONING"
],
[
7,
4,
0,
6,
0,
"LATENT"
],
[
8,
6,
0,
7,
0,
"IMAGE"
],
[
9,
5,
0,
4,
3,
"LATENT"
]
],
"config": {},
"meta": {
"template": false,
"description": "Basic Stable Diffusion text-to-image generation workflow",
"built_with": "anycoder: https://huggingface.co/spaces/akhaliq/anycoder"
}
}