Skip to content

Instantly share code, notes, and snippets.

@HongSiu
Created March 12, 2024 04:07
Show Gist options
  • Save HongSiu/d86414b60a66315abef76d2c9bfa1934 to your computer and use it in GitHub Desktop.
Save HongSiu/d86414b60a66315abef76d2c9bfa1934 to your computer and use it in GitHub Desktop.
{
"last_node_id": 57,
"last_link_id": 108,
"nodes": [
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
390,
378
],
"size": {
"0": 418.79931640625,
"1": 171.99391174316406
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"link": 85,
"name": "clip",
"type": "CLIP"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
40
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
" (nude:1.3), (worst quality:1.3, low quality:1.3), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, extra arms, hand, coved eye, blurry, monochrome, greyscale,animal,3d,(hard shadow),wind,multiple views,chair,table,long neck, nsfw, ((noisy)), ((blurry)), ((bad quality)), bad anatomy, worst quality, low quality, low resolution, extra fingers, blur, blurry, ugly, wrong proportions, watermark, image artifacts, lowres, jpeg artifacts, deformed, noisy image, text, watermask, nipples, sexy, nude, pornography, porno, pussy, m legs, without clothes, ((nsfw)), topless, extra hands, extra fingers, wired hands, wired foot, extra foot,"
]
},
{
"id": 23,
"type": "ComfyUIDeployExternalText",
"pos": [
-77,
138
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
46
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ComfyUIDeployExternalText"
},
"widgets_values": [
"input_text",
"1girl, looking at viewer, simple background, white background, smile, wh"
]
},
{
"id": 28,
"type": "LoadImage",
"pos": [
-530,
633
],
"size": {
"0": 315,
"1": 314.0000305175781
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
69
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"mask.png",
"image"
]
},
{
"id": 20,
"type": "ComfyDeployWebscoketImageInput",
"pos": [
-135,
639
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"link": 69,
"name": "default_value",
"type": "IMAGE"
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
51
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ComfyDeployWebscoketImageInput"
},
"widgets_values": [
"input_id",
368630732085191,
"randomize",
""
]
},
{
"id": 15,
"type": "VAEEncode",
"pos": [
233,
578
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"link": 51,
"name": "pixels",
"type": "IMAGE"
},
{
"link": 91,
"name": "vae",
"type": "VAE",
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
36
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 16,
"type": "LatentUpscale",
"pos": [
477,
601
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"link": 36,
"name": "samples",
"type": "LATENT"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
88
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LatentUpscale"
},
"widgets_values": [
"nearest-exact",
1024,
1024,
"disabled"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1719,
74
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"link": 7,
"name": "samples",
"type": "LATENT"
},
{
"link": 43,
"name": "vae",
"type": "VAE"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13,
48
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 46,
"type": "ComfyUIDeployExternalNumberInt",
"pos": [
457,
4
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "value",
"type": "INT",
"links": [
105
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ComfyUIDeployExternalNumberInt"
},
"widgets_values": [
"seed",
2048
]
},
{
"id": 18,
"type": "Context (rgthree)",
"pos": {
"0": 961,
"1": 188,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 216.59999084472656,
"1": 186
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"dir": 3,
"link": null,
"name": "base_ctx",
"type": "RGTHREE_CONTEXT"
},
{
"dir": 3,
"link": 108,
"name": "model",
"type": "MODEL"
},
{
"dir": 3,
"link": 87,
"name": "clip",
"type": "CLIP"
},
{
"dir": 3,
"link": 28,
"name": "vae",
"type": "VAE"
},
{
"dir": 3,
"link": 89,
"name": "positive",
"type": "CONDITIONING"
},
{
"dir": 3,
"link": 40,
"name": "negative",
"type": "CONDITIONING"
},
{
"dir": 3,
"link": 88,
"name": "latent",
"type": "LATENT"
},
{
"dir": 3,
"link": null,
"name": "images",
"type": "IMAGE"
},
{
"dir": 3,
"link": null,
"name": "seed",
"type": "INT"
}
],
"outputs": [
{
"dir": 4,
"name": "CONTEXT",
"type": "RGTHREE_CONTEXT",
"links": null,
"shape": 3
},
{
"dir": 4,
"name": "MODEL",
"type": "MODEL",
"links": [
35
],
"shape": 3,
"slot_index": 1
},
{
"dir": 4,
"name": "CLIP",
"type": "CLIP",
"links": [],
"shape": 3,
"slot_index": 2
},
{
"dir": 4,
"name": "VAE",
"type": "VAE",
"links": [
43
],
"shape": 3,
"slot_index": 3
},
{
"dir": 4,
"name": "POSITIVE",
"type": "CONDITIONING",
"links": [
41
],
"shape": 3,
"slot_index": 4
},
{
"dir": 4,
"name": "NEGATIVE",
"type": "CONDITIONING",
"links": [
42
],
"shape": 3,
"slot_index": 5
},
{
"dir": 4,
"name": "LATENT",
"type": "LATENT",
"links": [
38
],
"shape": 3,
"slot_index": 6
},
{
"dir": 4,
"name": "IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"dir": 4,
"name": "SEED",
"type": "INT",
"links": [],
"shape": 3,
"slot_index": 8
}
],
"properties": {}
},
{
"id": 24,
"type": "ComfyUIDeployExternalNumber",
"pos": [
835,
-2
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "value",
"type": "FLOAT",
"links": [
47
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ComfyUIDeployExternalNumber"
},
"widgets_values": [
"input_number",
1
]
},
{
"id": 25,
"type": "ComfyDeployWebscoketImageOutput",
"pos": [
2054,
31
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"link": 48,
"name": "images",
"type": "IMAGE"
}
],
"properties": {
"Node name for S&R": "ComfyDeployWebscoketImageOutput"
},
"widgets_values": [
"output_id",
"WEBP",
80,
""
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
1319,
93
],
"size": {
"0": 320,
"1": 474
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"link": 35,
"name": "model",
"type": "MODEL"
},
{
"link": 41,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 42,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 38,
"name": "latent_image",
"type": "LATENT"
},
{
"link": 47,
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
}
},
{
"link": 105,
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
289578371213429,
"randomize",
2,
1,
"dpmpp_3m_sde_gpu",
"simple",
0.68
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
387,
164
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"link": 86,
"name": "clip",
"type": "CLIP"
},
{
"link": 46,
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
89
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"two man on a boat in the ocean with a blue sky and white clouds in the background is a small island, with the sun"
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-734,
387
],
"size": {
"0": 498.7109375,
"1": 98
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
107
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
85,
86,
87
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
28,
91
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sdxlYamersAnime_stageNA.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 57,
"type": "LoraLoaderModelOnly",
"pos": [
-86,
414
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"link": 107,
"name": "model",
"type": "MODEL"
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
108
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"sdxl_lightning_2step_lora.safetensors",
1
]
},
{
"id": 11,
"type": "PreviewImage",
"pos": [
2049,
239
],
"size": {
"0": 574.0621337890625,
"1": 678.6472778320312
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"link": 13,
"name": "images",
"type": "IMAGE"
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
7,
3,
0,
8,
0,
"LATENT"
],
[
13,
8,
0,
11,
0,
"IMAGE"
],
[
28,
4,
2,
18,
3,
"VAE"
],
[
35,
18,
1,
3,
0,
"MODEL"
],
[
36,
15,
0,
16,
0,
"LATENT"
],
[
38,
18,
6,
3,
3,
"LATENT"
],
[
40,
7,
0,
18,
5,
"CONDITIONING"
],
[
41,
18,
4,
3,
1,
"CONDITIONING"
],
[
42,
18,
5,
3,
2,
"CONDITIONING"
],
[
43,
18,
3,
8,
1,
"VAE"
],
[
46,
23,
0,
6,
1,
"STRING"
],
[
47,
24,
0,
3,
4,
"FLOAT"
],
[
48,
8,
0,
25,
0,
"IMAGE"
],
[
51,
20,
0,
15,
0,
"IMAGE"
],
[
69,
28,
0,
20,
0,
"IMAGE"
],
[
85,
4,
1,
7,
0,
"CLIP"
],
[
86,
4,
1,
6,
0,
"CLIP"
],
[
87,
4,
1,
18,
2,
"CLIP"
],
[
88,
16,
0,
18,
6,
"LATENT"
],
[
89,
6,
0,
18,
4,
"CONDITIONING"
],
[
91,
4,
2,
15,
1,
"VAE"
],
[
105,
46,
0,
3,
5,
"INT"
],
[
107,
4,
0,
57,
0,
"MODEL"
],
[
108,
57,
0,
18,
1,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment