flux-ip-adapter / ip_adapter_workflow.json
stazizov's picture
Upload ip_adapter_workflow.json
d3cb0c5 verified
{
"last_node_id": 36,
"last_link_id": 76,
"nodes": [
{
"id": 6,
"type": "EmptyLatentImage",
"pos": [
553,
475
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
75
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 19,
"type": "CLIPTextEncodeFlux",
"pos": [
142,
288
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 27,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
26
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"",
"",
4
]
},
{
"id": 8,
"type": "VAELoader",
"pos": [
1048,
347
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
59
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 35,
"type": "FluxLoraLoader",
"pos": [
1020,
-158
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxLoraLoader"
},
"widgets_values": [
"anime_lora.safetensors",
1
]
},
{
"id": 10,
"type": "UNETLoader",
"pos": [
149,
589
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
61
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"fp8_e4m3fn"
]
},
{
"id": 3,
"type": "XlabsSampler",
"pos": [
887,
57
],
"size": {
"0": 342.5999755859375,
"1": 258
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 62,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 18
},
{
"name": "neg_conditioning",
"type": "CONDITIONING",
"link": 26
},
{
"name": "latent_image",
"type": "LATENT",
"link": 75
},
{
"name": "controlnet_condition",
"type": "ControlNetCondition",
"link": null
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
6
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "XlabsSampler"
},
"widgets_values": [
4,
"fixed",
50,
1,
3.5,
0
]
},
{
"id": 32,
"type": "LoadFluxIPAdapter",
"pos": [
313,
147
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "ipadapterFlux",
"type": "IP_ADAPTER_FLUX",
"links": [
65
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadFluxIPAdapter"
},
"widgets_values": [
"flux-ip-adapter.safetensors",
"model.safetensors",
"CPU"
]
},
{
"id": 5,
"type": "CLIPTextEncodeFlux",
"pos": [
428,
-169
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
18
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"holding sign with glowing green text \"X-LABS IP Adapter\"",
"holding sign with glowing green text \"X-LABS IP Adapter\"",
4
]
},
{
"id": 27,
"type": "ApplyFluxIPAdapter",
"pos": [
642,
248
],
"size": {
"0": 210,
"1": 98
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 61,
"slot_index": 0
},
{
"name": "ip_adapter_flux",
"type": "IP_ADAPTER_FLUX",
"link": 65
},
{
"name": "image",
"type": "IMAGE",
"link": 73,
"slot_index": 2
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
62
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ApplyFluxIPAdapter"
},
"widgets_values": [
0.92
]
},
{
"id": 29,
"type": "ImageCrop",
"pos": [
-54,
53
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 55,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCrop"
},
"widgets_values": [
1024,
512,
4,
4
]
},
{
"id": 33,
"type": "ImageScale",
"pos": [
-80,
-148
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 72,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
73
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
1024,
1024,
"disabled"
]
},
{
"id": 16,
"type": "LoadImage",
"pos": [
-446,
-191
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
55,
72
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"statue.jpg",
"image"
]
},
{
"id": 4,
"type": "DualCLIPLoader",
"pos": [
-275,
322
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
2,
27
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 36,
"type": "PreviewImage",
"pos": [
1663,
-228
],
"size": {
"0": 865.8053588867188,
"1": 863.5560913085938
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 76,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 7,
"type": "VAEDecode",
"pos": [
1346,
-128
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 6,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 59
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
76
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
}
],
"links": [
[
2,
4,
0,
5,
0,
"CLIP"
],
[
6,
3,
0,
7,
0,
"LATENT"
],
[
18,
5,
0,
3,
1,
"CONDITIONING"
],
[
26,
19,
0,
3,
2,
"CONDITIONING"
],
[
27,
4,
0,
19,
0,
"CLIP"
],
[
55,
16,
0,
29,
0,
"IMAGE"
],
[
59,
8,
0,
7,
1,
"VAE"
],
[
61,
10,
0,
27,
0,
"MODEL"
],
[
62,
27,
0,
3,
0,
"MODEL"
],
[
65,
32,
0,
27,
1,
"IP_ADAPTER_FLUX"
],
[
72,
16,
0,
33,
0,
"IMAGE"
],
[
73,
33,
0,
27,
2,
"IMAGE"
],
[
75,
6,
0,
3,
3,
"LATENT"
],
[
76,
7,
0,
36,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6727499949325612,
"offset": [
454.9047202912717,
602.847204664566
]
}
},
"version": 0.4
}