Files
Shakker-Labs-ComfyUI-IPAdap…/workflows/ipadapter_example.json
T
2024-11-22 18:23:43 +08:00

825 lines
20 KiB
JSON

{
"last_node_id": 88,
"last_link_id": 131,
"nodes": [
{
"id": 16,
"type": "KSamplerSelect",
"pos": {
"0": 4890,
"1": 1390
},
"size": {
"0": 239.83981323242188,
"1": 62.92873764038086
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3,
"label": "Sampler"
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
],
"_widget_cache_map": {}
},
{
"id": 17,
"type": "BasicScheduler",
"pos": {
"0": 4890,
"1": 1230
},
"size": {
"0": 239.07925415039062,
"1": 113.84300994873047
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 128,
"slot_index": 0,
"label": "Model"
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3,
"label": "Sigmas"
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
25,
1
],
"_widget_cache_map": {}
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": {
"0": 5150,
"1": 1230
},
"size": {
"0": 237.43406677246094,
"1": 262.4136657714844
},
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37,
"slot_index": 0,
"label": "Noise"
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1,
"label": "Guider"
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2,
"label": "Sampler"
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3,
"label": "Sigmas"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 110,
"slot_index": 4,
"label": "Latent"
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"slot_index": 0,
"shape": 3,
"label": "Output"
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3,
"label": "Denoised_output"
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": [],
"_widget_cache_map": {}
},
{
"id": 25,
"type": "RandomNoise",
"pos": {
"0": 4892,
"1": 1066
},
"size": {
"0": 318.5107421875,
"1": 95.78140258789062
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3,
"label": "Noise"
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
326194192664223,
"randomize"
],
"_widget_cache_map": {}
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": {
"0": 3930,
"1": 1286
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
127
],
"slot_index": 0,
"shape": 3,
"label": "CLIP"
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"clip_l",
"t5xxl_fp8_e4m3fn",
"flux"
],
"_widget_cache_map": {}
},
{
"id": 10,
"type": "VAELoader",
"pos": {
"0": 3948,
"1": 1463
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.sft"
],
"_widget_cache_map": {}
},
{
"id": 77,
"type": "EmptyLatentImage",
"pos": {
"0": 3941,
"1": 1625
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
110
],
"slot_index": 0,
"label": "Latent"
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
768,
1024,
1
],
"_widget_cache_map": {}
},
{
"id": 87,
"type": "CLIPTextEncode",
"pos": {
"0": 4304,
"1": 1105
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 127
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
129
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"The image is a portrait of a man with a long beard and a fierce expression on his face. He is wearing a pair of large antlers on his head, which are covered in a brown cloth. The antlers are pointed and have a rough texture. The man's face is covered in white paint, which contrasts with the dark color of the antlers. He has a muscular build and is shirtless, showing off his toned physique. The background is a pale blue sky, and the overall mood of the image is intense and powerful."
],
"_widget_cache_map": {}
},
{
"id": 88,
"type": "FluxGuidance",
"pos": {
"0": 4325,
"1": 1378
},
"size": {
"0": 317.4000244140625,
"1": 58
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 129
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
130
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
3.5
],
"_widget_cache_map": {}
},
{
"id": 12,
"type": "UNETLoader",
"pos": {
"0": 3915,
"1": 1119
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
114,
131
],
"slot_index": 0,
"shape": 3,
"label": "Model"
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"FLUX.1-dev-fp8.safetensors",
"fp8_e4m3fn"
]
},
{
"id": 80,
"type": "LoadImage",
"pos": {
"0": 3926,
"1": 694
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
116
],
"slot_index": 0,
"label": "Image"
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"label": "Mask"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"output (1).png",
"image"
],
"_widget_cache_map": {}
},
{
"id": 78,
"type": "IPAdapterFluxLoader",
"pos": {
"0": 4289,
"1": 690
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "ipadapterFlux",
"type": "IP_ADAPTER_FLUX_INSTANTX",
"links": [
113
],
"slot_index": 0,
"label": "ipadapterFlux"
}
],
"properties": {
"Node name for S&R": "IPAdapterFluxLoader"
},
"widgets_values": [
"InstantX-F.1-dev-IP-Adapter.bin",
"google/siglip-so400m-patch14-384",
"cuda"
],
"_widget_cache_map": {}
},
{
"id": 79,
"type": "ApplyIPAdapterFlux",
"pos": {
"0": 4569,
"1": 881
},
"size": {
"0": 327.5999755859375,
"1": 146
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 114,
"label": "model"
},
{
"name": "ipadapter_flux",
"type": "IP_ADAPTER_FLUX_INSTANTX",
"link": 113,
"label": "ipadapter_flux"
},
{
"name": "image",
"type": "IMAGE",
"link": 116,
"label": "image"
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
128
],
"slot_index": 0,
"label": "MODEL"
}
],
"properties": {
"Node name for S&R": "ApplyIPAdapterFlux"
},
"widgets_values": [
0.75,
0,
1
],
"_widget_cache_map": {}
},
{
"id": 22,
"type": "BasicGuider",
"pos": {
"0": 4888,
"1": 1531
},
"size": {
"0": 234.7953643798828,
"1": 101.4401626586914
},
"flags": {
"collapsed": false
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 131,
"slot_index": 0,
"label": "Model"
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 130,
"slot_index": 1,
"label": "Conditioning"
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3,
"label": "Guider"
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": [],
"_widget_cache_map": {}
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 5158,
"1": 1547
},
"size": {
"0": 237.8846435546875,
"1": 89.71307373046875
},
"flags": {
"collapsed": false
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24,
"label": "Latent"
},
{
"name": "vae",
"type": "VAE",
"link": 12,
"label": "VAE"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0,
"label": "Image"
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": [],
"_widget_cache_map": {}
},
{
"id": 9,
"type": "SaveImage",
"pos": {
"0": 5453,
"1": 848
},
"size": {
"0": 1023.5243530273438,
"1": 1062.5860595703125
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9,
"label": "Image"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"Flux_Lora"
],
"_widget_cache_map": {}
}
],
"links": [
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
12,
10,
0,
8,
1,
"VAE"
],
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
110,
77,
0,
13,
4,
"LATENT"
],
[
113,
78,
0,
79,
1,
"IP_ADAPTER_FLUX_INSTANTX"
],
[
114,
12,
0,
79,
0,
"MODEL"
],
[
116,
80,
0,
79,
2,
"IMAGE"
],
[
127,
11,
0,
87,
0,
"CLIP"
],
[
128,
79,
0,
17,
0,
"MODEL"
],
[
129,
87,
0,
88,
0,
"CONDITIONING"
],
[
130,
88,
0,
22,
1,
"CONDITIONING"
],
[
131,
12,
0,
22,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8769226950000005,
"offset": [
-3638.0903164027704,
-490.54906332984535
]
},
"0246.VERSION": [
0,
0,
4
]
},
"version": 0.4
}