Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arcanite24/fa69b647552fe6f067c888dfc31737a8 to your computer and use it in GitHub Desktop.
Save arcanite24/fa69b647552fe6f067c888dfc31737a8 to your computer and use it in GitHub Desktop.
SDXL Pixel Art ComfyUI Workflow
{
"last_node_id": 47,
"last_link_id": 63,
"nodes": [
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
317,
352
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 53
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"slot_index": 0
}
],
"title": "Prompt Negative",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"low quality, blurry, deformed, watermark, text, signature, depth of field, photoreal"
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-449,
344
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
50
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
51
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
46
],
"slot_index": 2
}
],
"title": "Load Base Safetensors",
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_base_0.9.safetensors"
]
},
{
"id": 25,
"type": "VAEDecode",
"pos": [
1238,
189
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 29
},
{
"name": "vae",
"type": "VAE",
"link": 46,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
56,
57,
59
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 38,
"type": "SaveImage",
"pos": [
1405,
-187
],
"size": {
"0": 315,
"1": 270
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 59
}
],
"properties": {},
"widgets_values": [
"pixelbuildings128-v1-raw-"
]
},
{
"id": 42,
"type": "ImageScaleBy",
"pos": [
1661,
157
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 57
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
58,
60,
61
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleBy"
},
"widgets_values": [
"nearest-exact",
0.125
]
},
{
"id": 43,
"type": "PreviewImage",
"pos": [
1782,
354
],
"size": [
218.78795276988603,
246
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 58
}
],
"properties": {
"Node name for S&R": "Downscale"
}
},
{
"id": 44,
"type": "SaveImage",
"pos": [
1826,
-188
],
"size": [
315,
270
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 60
}
],
"properties": {},
"widgets_values": [
"pixelbuildings128-v1-downscale-x8-"
]
},
{
"id": 45,
"type": "ImageScaleBy",
"pos": [
2086,
126
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 61
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
62,
63
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleBy"
},
"widgets_values": [
"nearest-exact",
8
]
},
{
"id": 47,
"type": "SaveImage",
"pos": [
2235,
-199
],
"size": [
315,
270.00000286102295
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 63
}
],
"properties": {},
"widgets_values": [
"pixelbuildings128-v1-upscale-x8-"
]
},
{
"id": 39,
"type": "LoraLoader",
"pos": [
-64,
191
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 50
},
{
"name": "clip",
"type": "CLIP",
"link": 51
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
54
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
52,
53
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"pixelbuildings128-v1.safetensors",
1,
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
323,
115
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 52
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0
}
],
"title": "Prompt Positive",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"top-down view of a building, hospital, simple, flat colors, stardew valley style"
]
},
{
"id": 26,
"type": "PreviewImage",
"pos": [
1289,
353
],
"size": [
439.6647705078126,
465.12361450195317
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 56
}
],
"title": "Preview Raw Image",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 40,
"type": "EmptyLatentImage",
"pos": [
275,
669
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
55
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 46,
"type": "PreviewImage",
"pos": [
2283,
305
],
"size": [
410.66671142578116,
472.9999999999999
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 62
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 3,
"type": "KSampler",
"pos": [
869,
153
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 54
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 55
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
29
],
"slot_index": 0
}
],
"title": "Base KSampler",
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
297321884627792,
"randomize",
20,
7,
"euler_ancestral",
"karras",
1
]
}
],
"links": [
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
29,
3,
0,
25,
0,
"LATENT"
],
[
46,
4,
2,
25,
1,
"VAE"
],
[
50,
4,
0,
39,
0,
"MODEL"
],
[
51,
4,
1,
39,
1,
"CLIP"
],
[
52,
39,
1,
6,
0,
"CLIP"
],
[
53,
39,
1,
7,
0,
"CLIP"
],
[
54,
39,
0,
3,
0,
"MODEL"
],
[
55,
40,
0,
3,
3,
"LATENT"
],
[
56,
25,
0,
26,
0,
"IMAGE"
],
[
57,
25,
0,
42,
0,
"IMAGE"
],
[
58,
42,
0,
43,
0,
"IMAGE"
],
[
59,
25,
0,
38,
0,
"IMAGE"
],
[
60,
42,
0,
44,
0,
"IMAGE"
],
[
61,
42,
0,
45,
0,
"IMAGE"
],
[
62,
45,
0,
46,
0,
"IMAGE"
],
[
63,
45,
0,
47,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}
@albertdbio
Copy link

Is there a web service in which I can import this?

@Sleuthgame
Copy link

Too bad it's not working anymore on SDXL. (coming from MattVidPro AI tutorial)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment