Files
meap158-ComfyUI-Prompt-Expa…/workflow_example.json
T
2023-09-16 19:05:03 +07:00

680 lines
12 KiB
JSON

{
"last_node_id": 22,
"last_link_id": 41,
"nodes": [
{
"id": 12,
"type": "PrimitiveNode",
"pos": [
30,
270
],
"size": {
"0": 280,
"1": 175
},
"flags": {
"pinned": false
},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
12
],
"slot_index": 0,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
}
}
],
"title": "Positive prompt",
"properties": {},
"widgets_values": [
"portrait of robot Terminator, cyborg, evil, in dynamics, highly detailed, packed with hidden details, style, high dynamic range, hyper realistic, realistic attention to detail, highly detailed"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 19,
"type": "ShowText|pysssss",
"pos": [
-298,
272
],
"size": {
"0": 280,
"1": 175
},
"flags": {
"pinned": false
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 30,
"widget": {
"name": "text",
"config": [
"STRING",
{
"forceInput": true
}
]
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 6
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"portrait of robot Terminator, cyborg, evil, in dynamics, highly detailed, packed with hidden details, style, high dynamic range, hyper realistic, realistic attention to detail, highly detailed, extremely lifelike, digital painting, artstation, illustration, concept art, smooth, sharp focus, 8k"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 1,
"type": "PromptExpansion",
"pos": [
456,
64
],
"size": {
"0": 315,
"1": 168
},
"flags": {
"pinned": false
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 12,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
},
"slot_index": 0
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
13,
30
],
"shape": 3,
"slot_index": 0
},
{
"name": "seed",
"type": "INT",
"links": [
35
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "PromptExpansion"
},
"widgets_values": [
"portrait of robot Terminator, cyborg, evil, in dynamics, highly detailed, packed with hidden details, style, high dynamic range, hyper realistic, realistic attention to detail, highly detailed",
3703294023,
"randomize",
"Yes"
]
},
{
"id": 13,
"type": "CLIPTextEncode",
"pos": [
503,
327
],
"size": {
"0": 400,
"1": 200
},
"flags": {
"collapsed": true,
"pinned": false
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 14,
"slot_index": 0
},
{
"name": "text",
"type": "STRING",
"link": 13,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
37
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
502,
574
],
"size": {
"0": 400,
"1": 200
},
"flags": {
"collapsed": true,
"pinned": false
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 7,
"slot_index": 0
},
{
"name": "text",
"type": "STRING",
"link": 6,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
38
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark, low-quality, signature, moiré pattern, downsampling, aliasing, distorted, blurry, glossy, blur, jpeg artifacts, compression artifacts, poorly drawn, low-resolution, bad, distortion, twisted, excessive, exaggerated pose, exaggerated limbs, grainy, symmetrical, duplicate, error, pattern, beginner, pixelated, fake, hyper, glitch, overexposed, high-contrast, bad-contrast"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 7,
"type": "CheckpointLoaderSimple",
"pos": [
21,
56
],
"size": {
"0": 315,
"1": 98
},
"flags": {
"pinned": false
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
39
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
7,
14
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
27
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_base_1.0.safetensors"
]
},
{
"id": 15,
"type": "EmptyLatentImage",
"pos": [
450,
391
],
"size": {
"0": 315,
"1": 106
},
"flags": {
"pinned": false
},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
36
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 17,
"type": "VAEDecode",
"pos": [
1300,
114
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true,
"pinned": false
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 40
},
{
"name": "vae",
"type": "VAE",
"link": 27
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
41
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 22,
"type": "SaveImage",
"pos": [
1487,
85
],
"size": {
"0": 315,
"1": 270
},
"flags": {
"pinned": false
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 41
}
],
"properties": {},
"widgets_values": [
"%date:yyyy-MM-dd%/base"
]
},
{
"id": 20,
"type": "KSampler",
"pos": [
903,
64
],
"size": {
"0": 315,
"1": 262
},
"flags": {
"pinned": false
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 39
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 37
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 38
},
{
"name": "latent_image",
"type": "LATENT",
"link": 36
},
{
"name": "seed",
"type": "INT",
"link": 35,
"widget": {
"name": "seed",
"config": [
"INT",
{
"default": 0,
"min": 0,
"max": 18446744073709552000
}
]
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
40
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
41310521337040,
"randomize",
30,
8,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 8,
"type": "PrimitiveNode",
"pos": [
31,
542
],
"size": {
"0": 280,
"1": 175
},
"flags": {
"pinned": false
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
6
],
"slot_index": 0,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
}
}
],
"title": "Negative prompt",
"properties": {},
"widgets_values": [
"text, watermark, low-quality, signature, moiré pattern, downsampling, aliasing, distorted, blurry, glossy, blur, jpeg artifacts, compression artifacts, poorly drawn, low-resolution, bad, distortion, twisted, excessive, exaggerated pose, exaggerated limbs, grainy, symmetrical, duplicate, error, pattern, beginner, pixelated, fake, hyper, glitch, overexposed, high-contrast, bad-contrast"
],
"color": "#322",
"bgcolor": "#533"
}
],
"links": [
[
6,
8,
0,
9,
1,
"STRING"
],
[
7,
7,
1,
9,
0,
"CLIP"
],
[
12,
12,
0,
1,
0,
"STRING"
],
[
13,
1,
0,
13,
1,
"STRING"
],
[
14,
7,
1,
13,
0,
"CLIP"
],
[
27,
7,
2,
17,
1,
"VAE"
],
[
30,
1,
0,
19,
0,
"STRING"
],
[
35,
1,
1,
20,
4,
"INT"
],
[
36,
15,
0,
20,
3,
"LATENT"
],
[
37,
13,
0,
20,
1,
"CONDITIONING"
],
[
38,
9,
0,
20,
2,
"CONDITIONING"
],
[
39,
7,
0,
20,
0,
"MODEL"
],
[
40,
20,
0,
17,
0,
"LATENT"
],
[
41,
17,
0,
22,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}