Add CLIP skip workflow

This commit is contained in:
moshferatu 2024-05-25 05:27:24 -07:00
parent ee9b71dc46
commit 293c6d078c
3 changed files with 917 additions and 0 deletions

5
clip-skip/README.md Normal file
View File

@ -0,0 +1,5 @@
# CLIP Skip Workflow
![CLIP Skip](./clip-skip.png)
---

912
clip-skip/clip-skip.json Normal file
View File

@ -0,0 +1,912 @@
{
"last_node_id": 29,
"last_link_id": 44,
"nodes": [
{
"id": 14,
"type": "VAEDecode",
"pos": [
1360,
840
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 19
},
{
"name": "vae",
"type": "VAE",
"link": 31
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
22
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 17,
"type": "Seed",
"pos": [
630,
150
],
"size": {
"0": 299.600830078125,
"1": 142
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "seed",
"type": "SEED",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "number",
"type": "NUMBER",
"links": null,
"shape": 3
},
{
"name": "float",
"type": "FLOAT",
"links": null,
"shape": 3,
"slot_index": 2
},
{
"name": "int",
"type": "INT",
"links": [
24,
25
],
"shape": 3,
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "Seed"
},
"widgets_values": [
727719343081338,
"randomize"
]
},
{
"id": 27,
"type": "CLIPTextEncode",
"pos": [
660,
780
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 39
},
{
"name": "text",
"type": "STRING",
"link": 35,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
36
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"anime, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
]
},
{
"id": 26,
"type": "CLIPTextEncode",
"pos": [
660,
680
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 38
},
{
"name": "text",
"type": "STRING",
"link": 34,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
37
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"psychedelic blotter art, melting, demon, neon pastel, matte, paper craft art"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
660,
440
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 41
},
{
"name": "text",
"type": "STRING",
"link": 32,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"psychedelic blotter art, melting, demon, neon pastel, matte, paper craft art"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
660,
540
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 42
},
{
"name": "text",
"type": "STRING",
"link": 33,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"anime, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
]
},
{
"id": 15,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 1650,
"1": 390,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 601.600830078125,
"1": 542.2478637695312
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 21,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 22,
"dir": 3
}
],
"outputs": [],
"title": "Image Comparer",
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
"/view?filename=rgthree.compare._temp_lsgqe_00007_.png&type=temp&subfolder=&rand=0.14990617302922848",
"/view?filename=rgthree.compare._temp_lsgqe_00008_.png&type=temp&subfolder=&rand=0.10782160493895676"
]
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1360,
410
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 44
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
560,
910
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2,
18
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 24,
"type": "PrimitiveNode",
"pos": [
240,
540
],
"size": [
320,
120
],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
32,
34
],
"widget": {
"name": "text"
},
"slot_index": 0
}
],
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
"psychedelic blotter art, melting, demon, neon pastel, matte, paper craft art"
]
},
{
"id": 25,
"type": "PrimitiveNode",
"pos": [
240,
710
],
"size": [
320,
110
],
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
33,
35
],
"widget": {
"name": "text"
},
"slot_index": 0
}
],
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
"anime, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
]
},
{
"id": 29,
"type": "CLIPSetLastLayer",
"pos": [
240,
430
],
"size": [
320,
60
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 43
}
],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
41,
42
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPSetLastLayer"
},
"widgets_values": [
-3
]
},
{
"id": 23,
"type": "CheckpointLoaderSimple",
"pos": [
240,
280
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
30,
40
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
38,
39,
43
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
31,
44
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"Art Universe v3.0.safetensors"
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
990,
380
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 40
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
},
{
"name": "seed",
"type": "INT",
"link": 24,
"widget": {
"name": "seed"
},
"slot_index": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
9224154662517,
"increment",
20,
2,
"dpmpp_2m_sde",
"karras",
1
]
},
{
"id": 12,
"type": "KSampler",
"pos": [
990,
720
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 30
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 37
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 36
},
{
"name": "latent_image",
"type": "LATENT",
"link": 18
},
{
"name": "seed",
"type": "INT",
"link": 25,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
19
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
9224154662517,
"increment",
20,
2,
"dpmpp_2m_sde",
"karras",
1
]
}
],
"links": [
[
2,
5,
0,
3,
3,
"LATENT"
],
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
18,
5,
0,
12,
3,
"LATENT"
],
[
19,
12,
0,
14,
0,
"LATENT"
],
[
21,
8,
0,
15,
0,
"IMAGE"
],
[
22,
14,
0,
15,
1,
"IMAGE"
],
[
24,
17,
3,
3,
4,
"INT"
],
[
25,
17,
3,
12,
4,
"INT"
],
[
30,
23,
0,
12,
0,
"MODEL"
],
[
31,
23,
2,
14,
1,
"VAE"
],
[
32,
24,
0,
6,
1,
"STRING"
],
[
33,
25,
0,
7,
1,
"STRING"
],
[
34,
24,
0,
26,
1,
"STRING"
],
[
35,
25,
0,
27,
1,
"STRING"
],
[
36,
27,
0,
12,
2,
"CONDITIONING"
],
[
37,
26,
0,
12,
1,
"CONDITIONING"
],
[
38,
23,
1,
26,
0,
"CLIP"
],
[
39,
23,
1,
27,
0,
"CLIP"
],
[
40,
23,
0,
3,
0,
"MODEL"
],
[
41,
29,
0,
6,
0,
"CLIP"
],
[
42,
29,
0,
7,
0,
"CLIP"
],
[
43,
23,
1,
29,
0,
"CLIP"
],
[
44,
23,
2,
8,
1,
"VAE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}

BIN
clip-skip/clip-skip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB