add precise style transfer example

This commit is contained in:
cubiq
2024-06-22 18:18:59 +02:00
parent 6fddb4ed47
commit eb99ef3d1f
+965
View File
@@ -0,0 +1,965 @@
{
"last_node_id": 21,
"last_link_id": 32,
"nodes": [
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
176,
345
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6,
22
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"horror"
]
},
{
"id": 15,
"type": "KSampler",
"pos": [
1170,
820
],
"size": [
315,
262
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 20
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 21
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 22
},
{
"name": "latent_image",
"type": "LATENT",
"link": 23
},
{
"name": "seed",
"type": "INT",
"link": 32,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
24
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
46,
"fixed",
20,
7,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 16,
"type": "VAEDecode",
"pos": [
1520,
820
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 25
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
29
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 11,
"type": "IPAdapterUnifiedLoader",
"pos": [
-217,
460
],
"size": {
"0": 210,
"1": 78
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 11
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
12,
26
],
"shape": 3,
"slot_index": 0
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"links": [
10,
27
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "IPAdapterUnifiedLoader"
},
"widgets_values": [
"PLUS (high strength)"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
165,
112
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4,
21
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"closeup of a woman"
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-717,
221
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
11
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
25
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sdxl/ProteusV0.3.safetensors"
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
1120,
-160
],
"size": [
303.1144735315229,
234
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 13
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
},
{
"name": "seed",
"type": "INT",
"link": 31,
"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": [
46,
"fixed",
20,
7,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1480,
-160
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
1420,
180
],
"size": {
"0": 470.4912414550781,
"1": 481.162353515625
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 19
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 18,
"type": "PreviewImage",
"pos": [
1944,
185
],
"size": {
"0": 470.4912414550781,
"1": 481.162353515625
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 29
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 20,
"type": "Note",
"pos": [
1670,
73
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Standard"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 21,
"type": "Note",
"pos": [
2199,
78
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Precise"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
276,
612
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2,
23
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 10,
"type": "IPAdapterAdvanced",
"pos": [
740,
-160
],
"size": {
"0": 315,
"1": 278
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 12
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 10,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 14,
"slot_index": 2
},
{
"name": "image_negative",
"type": "IMAGE",
"link": null
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterAdvanced"
},
"widgets_values": [
1,
"style transfer",
"concat",
0,
1,
"V only"
]
},
{
"id": 17,
"type": "IPAdapterAdvanced",
"pos": [
760,
820
],
"size": {
"0": 315,
"1": 278
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 26
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 27,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 28,
"slot_index": 2
},
{
"name": "image_negative",
"type": "IMAGE",
"link": null
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
20
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterAdvanced"
},
"widgets_values": [
1,
"style transfer precise",
"concat",
0,
1,
"V only"
]
},
{
"id": 12,
"type": "LoadImage",
"pos": [
-173,
-259
],
"size": [
210,
314
],
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14,
28
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"coloring_landscape.png",
"image"
]
},
{
"id": 19,
"type": "PrimitiveNode",
"pos": [
849,
385
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
31,
32
],
"widget": {
"name": "seed"
},
"slot_index": 0
}
],
"title": "seed",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
46,
"fixed"
]
}
],
"links": [
[
2,
5,
0,
3,
3,
"LATENT"
],
[
3,
4,
1,
6,
0,
"CLIP"
],
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
10,
11,
1,
10,
1,
"IPADAPTER"
],
[
11,
4,
0,
11,
0,
"MODEL"
],
[
12,
11,
0,
10,
0,
"MODEL"
],
[
13,
10,
0,
3,
0,
"MODEL"
],
[
14,
12,
0,
10,
2,
"IMAGE"
],
[
19,
8,
0,
13,
0,
"IMAGE"
],
[
20,
17,
0,
15,
0,
"MODEL"
],
[
21,
6,
0,
15,
1,
"CONDITIONING"
],
[
22,
7,
0,
15,
2,
"CONDITIONING"
],
[
23,
5,
0,
15,
3,
"LATENT"
],
[
24,
15,
0,
16,
0,
"LATENT"
],
[
25,
4,
2,
16,
1,
"VAE"
],
[
26,
11,
0,
17,
0,
"MODEL"
],
[
27,
11,
1,
17,
1,
"IPADAPTER"
],
[
28,
12,
0,
17,
2,
"IMAGE"
],
[
29,
16,
0,
18,
0,
"IMAGE"
],
[
31,
19,
0,
3,
4,
"INT"
],
[
32,
19,
0,
15,
4,
"INT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.26333125430607984,
"offset": [
1597.1013613507125,
1587.4809464007888
]
}
},
"version": 0.4
}