myshellbot / Flux IP Adapter Workflow.json
manking's picture
Upload 2 files
943c3a4 verified
Raw
History Blame Contribute Delete
15.5 kB
{
"last_node_id": 35,
"last_link_id": 55,
"nodes": [
{
"id": 3,
"type": "XlabsSampler",
"pos": {
"0": 632,
"1": -248.82456970214844
},
"size": {
"0": 371.6063232421875,
"1": 751.5867919921875
},
"flags": {
"pinned": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 52,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 18
},
{
"name": "neg_conditioning",
"type": "CONDITIONING",
"link": 26
},
{
"name": "latent_image",
"type": "LATENT",
"link": 5
},
{
"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": [
1052506757346735,
"randomize",
25,
1,
3.5,
0,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 24,
"type": "SaveImage",
"pos": {
"0": 1037,
"1": -299
},
"size": {
"0": 439.8568115234375,
"1": 815.2173461914062
},
"flags": {
"pinned": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 41
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"flux_cnet_depth"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 16,
"type": "LoadImage",
"pos": {
"0": -518,
"1": -254
},
"size": {
"0": 314.9093933105469,
"1": 324.5348205566406
},
"flags": {
"pinned": true
},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
48,
54
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_01296_.png",
"image"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 6,
"type": "EmptyLatentImage",
"pos": {
"0": -167.34130859375,
"1": 403.4322814941406
},
"size": {
"0": 315,
"1": 106
},
"flags": {
"pinned": true
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
5
],
"slot_index": 0,
"shape": 3
}
],
"title": "Image Size",
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
832,
1216,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 19,
"type": "CLIPTextEncodeFlux",
"pos": {
"0": -22,
"1": 316
},
"size": {
"0": 400,
"1": 200
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 43,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
26
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"",
"",
4,
true,
true
]
},
{
"id": 7,
"type": "VAEDecode",
"pos": {
"0": -178,
"1": 315
},
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true,
"pinned": false
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 6,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
41,
47
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 33,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 1488,
"1": -300
},
"size": {
"0": 417.02044677734375,
"1": 815.2588500976562
},
"flags": {
"pinned": true
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 48,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 47,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_sativ_00021_.png&type=temp&subfolder=&rand=0.7803752380121363"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_sativ_00022_.png&type=temp&subfolder=&rand=0.35375767295516614"
}
]
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 27,
"type": "UnetLoaderGGUF",
"pos": {
"0": -173,
"1": -250
},
"size": {
"0": 315,
"1": 58
},
"flags": {
"pinned": true
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
45
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUF"
},
"widgets_values": [
"flux1-dev-Q8_0.gguf"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 26,
"type": "DualCLIPLoaderGGUF",
"pos": {
"0": -174,
"1": -149
},
"size": {
"0": 315,
"1": 106
},
"flags": {
"pinned": true
},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
43,
44
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderGGUF"
},
"widgets_values": [
"clip_l.safetensors",
"t5xxl_fp8_e4m3fn.safetensors",
"flux"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 8,
"type": "VAELoader",
"pos": {
"0": -173,
"1": 133
},
"size": {
"0": 315,
"1": 58
},
"flags": {
"pinned": true
},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
7
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 34,
"type": "LoadFluxIPAdapter",
"pos": {
"0": -510,
"1": 191
},
"size": [
299.8936079944401,
106
],
"flags": {
"pinned": true
},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "ipadapterFlux",
"type": "IP_ADAPTER_FLUX",
"links": [
49
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadFluxIPAdapter"
},
"widgets_values": [
"flux-ip-adapter.safetensors",
"model.safetensors",
"CPU"
]
},
{
"id": 35,
"type": "ApplyFluxIPAdapter",
"pos": {
"0": -511,
"1": 353
},
"size": [
298.01641898520825,
98
],
"flags": {
"pinned": true
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 55
},
{
"name": "ip_adapter_flux",
"type": "IP_ADAPTER_FLUX",
"link": 49
},
{
"name": "image",
"type": "IMAGE",
"link": 54
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
52
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ApplyFluxIPAdapter"
},
"widgets_values": [
0.85
]
},
{
"id": 32,
"type": "LoraLoaderModelOnly",
"pos": {
"0": -172,
"1": 4
},
"size": {
"0": 315,
"1": 82
},
"flags": {
"pinned": true
},
"order": 7,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 45
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
55
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"Test\\Kes-000006.safetensors",
0.85
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 5,
"type": "CLIPTextEncodeFlux",
"pos": {
"0": 184,
"1": -248
},
"size": {
"0": 400,
"1": 200
},
"flags": {
"pinned": true
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 44,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
18
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"professional photograph of a beautiful thin, athletic, woman, cinematic shot, with long hair wearing a beautiful modest lace ballgown, cinematic lighting",
"professional photograph of a beautiful thin, athletic, woman, cinematic shot, with long hair wearing a beautiful modest lace ballgown, cinematic lighting",
4,
true,
true
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 30,
"type": "Note",
"pos": {
"0": 173,
"1": 149
},
"size": {
"0": 417.412841796875,
"1": 374.2868957519531
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"text": ""
},
"widgets_values": [
"Simple IP Adapter Flux Workflow, created for Civitai's Quickstart Guide to Flux - https://education.civitai.com/quickstart-guide-to-flux-1\n\nFlux IP Adapter model can be found here;\n\nhttps://civitai.com/models/649271/controlnetflux-cnflux\n\n\nNote that this Workflow requires CLIP Vision Model https://huggingface.co/openai/clip-vit-large-patch14/blob/main/model.safetensors - to be placed in ComfyUI\\models\\clip_vision folder.\n\n\n\n\n"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
5,
6,
0,
3,
3,
"LATENT"
],
[
6,
3,
0,
7,
0,
"LATENT"
],
[
7,
8,
0,
7,
1,
"VAE"
],
[
18,
5,
0,
3,
1,
"CONDITIONING"
],
[
26,
19,
0,
3,
2,
"CONDITIONING"
],
[
41,
7,
0,
24,
0,
"IMAGE"
],
[
43,
26,
0,
19,
0,
"CLIP"
],
[
44,
26,
0,
5,
0,
"CLIP"
],
[
45,
27,
0,
32,
0,
"MODEL"
],
[
47,
7,
0,
33,
1,
"IMAGE"
],
[
48,
16,
0,
33,
0,
"IMAGE"
],
[
49,
34,
0,
35,
1,
"IP_ADAPTER_FLUX"
],
[
52,
35,
0,
3,
0,
"MODEL"
],
[
54,
16,
0,
35,
2,
"IMAGE"
],
[
55,
32,
0,
35,
0,
"MODEL"
]
],
"groups": [
{
"title": "IP Adapter",
"bounding": [
-528,
101,
333,
419
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "Input Image",
"bounding": [
-529,
-328,
334,
421
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "Load Models",
"bounding": [
-187,
-328,
350,
645
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "Set Image Size",
"bounding": [
-186,
323,
349,
199
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "Prompt",
"bounding": [
168,
-328,
431,
433
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "Image Settings & Preview",
"bounding": [
605,
-329,
418,
849
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.7972024500000005,
"offset": [
842.2778251782589,
555.5955452567192
]
}
},
"version": 0.4
}