stablediffusiontutorials/ComfyUI-IpAdapterV2-Nodes-Workflow
Download the required comfyUI Nodes IP adapter V2 (All the workflow are provided from official repository) For full detailed tutorial(ComfyUI Ipadapter V1/V2): https://www.stablediffusiontutorials.com/2024/04/ip-adapter.html
290
1{2 "last_node_id": 51,3 "last_link_id": 118,4 "nodes": [5 {6 "id": 5,7 "type": "EmptyLatentImage",8 "pos": [9 801,10 109711 ],12 "size": {13 "0": 315,14 "1": 10615 },16 "flags": {},17 "order": 0,18 "mode": 0,19 "outputs": [20 {21 "name": "LATENT",22 "type": "LATENT",23 "links": [24 2,25 89,26 100,27 11128 ],29 "slot_index": 030 }31 ],32 "properties": {33 "Node name for S&R": "EmptyLatentImage"34 },35 "widgets_values": [36 512,37 512,38 139 ]40 },41 {42 "id": 16,43 "type": "CLIPVisionLoader",44 "pos": [45 650,46 8047 ],48 "size": {49 "0": 315,50 "1": 5851 },52 "flags": {},53 "order": 1,54 "mode": 0,55 "outputs": [56 {57 "name": "CLIP_VISION",58 "type": "CLIP_VISION",59 "links": [60 24,61 96,62 107,63 11864 ],65 "shape": 366 }67 ],68 "properties": {69 "Node name for S&R": "CLIPVisionLoader"70 },71 "widgets_values": [72 "IPAdapter_image_encoder_sd15.safetensors"73 ]74 },75 {76 "id": 3,77 "type": "KSampler",78 "pos": [79 1580,80 30081 ],82 "size": {83 "0": 315,84 "1": 26285 },86 "flags": {},87 "order": 13,88 "mode": 0,89 "inputs": [90 {91 "name": "model",92 "type": "MODEL",93 "link": 2394 },95 {96 "name": "positive",97 "type": "CONDITIONING",98 "link": 499 },100 {101 "name": "negative",102 "type": "CONDITIONING",103 "link": 6104 },105 {106 "name": "latent_image",107 "type": "LATENT",108 "link": 2109 }110 ],111 "outputs": [112 {113 "name": "LATENT",114 "type": "LATENT",115 "links": [116 7117 ],118 "slot_index": 0119 }120 ],121 "properties": {122 "Node name for S&R": "KSampler"123 },124 "widgets_values": [125 0,126 "fixed",127 30,128 6.5,129 "dpmpp_2m",130 "karras",131 1132 ]133 },134 {135 "id": 4,136 "type": "CheckpointLoaderSimple",137 "pos": [138 300,139 700140 ],141 "size": {142 "0": 315,143 "1": 98144 },145 "flags": {},146 "order": 2,147 "mode": 0,148 "outputs": [149 {150 "name": "MODEL",151 "type": "MODEL",152 "links": [153 20,154 93,155 104,156 115157 ],158 "slot_index": 0159 },160 {161 "name": "CLIP",162 "type": "CLIP",163 "links": [164 3,165 5166 ],167 "slot_index": 1168 },169 {170 "name": "VAE",171 "type": "VAE",172 "links": [173 8,174 91,175 102,176 113177 ],178 "slot_index": 2179 }180 ],181 "properties": {182 "Node name for S&R": "CheckpointLoaderSimple"183 },184 "widgets_values": [185 "sd15/realisticVisionV51_v51VAE.safetensors"186 ]187 },188 {189 "id": 12,190 "type": "LoadImage",191 "pos": [192 240,193 -60194 ],195 "size": {196 "0": 315,197 "1": 314198 },199 "flags": {},200 "order": 3,201 "mode": 0,202 "outputs": [203 {204 "name": "IMAGE",205 "type": "IMAGE",206 "links": [207 83208 ],209 "shape": 3,210 "slot_index": 0211 },212 {213 "name": "MASK",214 "type": "MASK",215 "links": null,216 "shape": 3217 }218 ],219 "properties": {220 "Node name for S&R": "LoadImage"221 },222 "widgets_values": [223 "warrior_woman.png",224 "image"225 ]226 },227 {228 "id": 7,229 "type": "CLIPTextEncode",230 "pos": [231 740,232 780233 ],234 "size": {235 "0": 425.27801513671875,236 "1": 180.6060791015625237 },238 "flags": {},239 "order": 7,240 "mode": 0,241 "inputs": [242 {243 "name": "clip",244 "type": "CLIP",245 "link": 5246 }247 ],248 "outputs": [249 {250 "name": "CONDITIONING",251 "type": "CONDITIONING",252 "links": [253 6,254 88,255 99,256 110257 ],258 "slot_index": 0259 }260 ],261 "properties": {262 "Node name for S&R": "CLIPTextEncode"263 },264 "widgets_values": [265 "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed"266 ]267 },268 {269 "id": 14,270 "type": "IPAdapterAdvanced",271 "pos": [272 1220,273 260274 ],275 "size": {276 "0": 315,277 "1": 254278 },279 "flags": {},280 "order": 9,281 "mode": 0,282 "inputs": [283 {284 "name": "model",285 "type": "MODEL",286 "link": 20287 },288 {289 "name": "ipadapter",290 "type": "IPADAPTER",291 "link": 21,292 "slot_index": 1293 },294 {295 "name": "image",296 "type": "IMAGE",297 "link": 85298 },299 {300 "name": "image_negative",301 "type": "IMAGE",302 "link": null303 },304 {305 "name": "attn_mask",306 "type": "MASK",307 "link": null308 },309 {310 "name": "clip_vision",311 "type": "CLIP_VISION",312 "link": 24,313 "slot_index": 5314 }315 ],316 "outputs": [317 {318 "name": "MODEL",319 "type": "MODEL",320 "links": [321 23322 ],323 "shape": 3,324 "slot_index": 0325 }326 ],327 "properties": {328 "Node name for S&R": "IPAdapterAdvanced"329 },330 "widgets_values": [331 0.8,332 "linear",333 "concat",334 0,335 1336 ]337 },338 {339 "id": 42,340 "type": "SaveImage",341 "pos": [342 1950,343 1070344 ],345 "size": {346 "0": 529.7760009765625,347 "1": 582.3048095703125348 },349 "flags": {},350 "order": 22,351 "mode": 0,352 "inputs": [353 {354 "name": "images",355 "type": "IMAGE",356 "link": 92357 }358 ],359 "properties": {},360 "widgets_values": [361 "IPAdapter"362 ]363 },364 {365 "id": 40,366 "type": "KSampler",367 "pos": [368 1580,369 1070370 ],371 "size": {372 "0": 315,373 "1": 262374 },375 "flags": {},376 "order": 14,377 "mode": 0,378 "inputs": [379 {380 "name": "model",381 "type": "MODEL",382 "link": 86383 },384 {385 "name": "positive",386 "type": "CONDITIONING",387 "link": 87388 },389 {390 "name": "negative",391 "type": "CONDITIONING",392 "link": 88393 },394 {395 "name": "latent_image",396 "type": "LATENT",397 "link": 89398 }399 ],400 "outputs": [401 {402 "name": "LATENT",403 "type": "LATENT",404 "links": [405 90406 ],407 "slot_index": 0408 }409 ],410 "properties": {411 "Node name for S&R": "KSampler"412 },413 "widgets_values": [414 0,415 "fixed",416 30,417 6.5,418 "dpmpp_2m",419 "karras",420 1421 ]422 },423 {424 "id": 9,425 "type": "SaveImage",426 "pos": [427 1950,428 420429 ],430 "size": {431 "0": 529.7760009765625,432 "1": 582.3048095703125433 },434 "flags": {},435 "order": 21,436 "mode": 0,437 "inputs": [438 {439 "name": "images",440 "type": "IMAGE",441 "link": 9442 }443 ],444 "properties": {},445 "widgets_values": [446 "IPAdapter"447 ]448 },449 {450 "id": 6,451 "type": "CLIPTextEncode",452 "pos": [453 740,454 550455 ],456 "size": {457 "0": 422.84503173828125,458 "1": 164.31304931640625459 },460 "flags": {},461 "order": 6,462 "mode": 0,463 "inputs": [464 {465 "name": "clip",466 "type": "CLIP",467 "link": 3468 }469 ],470 "outputs": [471 {472 "name": "CONDITIONING",473 "type": "CONDITIONING",474 "links": [475 4,476 87,477 98,478 109479 ],480 "slot_index": 0481 }482 ],483 "properties": {484 "Node name for S&R": "CLIPTextEncode"485 },486 "widgets_values": [487 "closeup of a fierce warrior woman wearing a full armor at the end of a battle\n\nhigh quality, detailed"488 ]489 },490 {491 "id": 15,492 "type": "IPAdapterModelLoader",493 "pos": [494 650,495 -20496 ],497 "size": {498 "0": 315,499 "1": 58500 },501 "flags": {},502 "order": 4,503 "mode": 0,504 "outputs": [505 {506 "name": "IPADAPTER",507 "type": "IPADAPTER",508 "links": [509 21,510 94,511 105,512 116513 ],514 "shape": 3515 }516 ],517 "properties": {518 "Node name for S&R": "IPAdapterModelLoader"519 },520 "widgets_values": [521 "ip-adapter-plus_sd15.safetensors"522 ]523 },524 {525 "id": 39,526 "type": "ImageBatch",527 "pos": [528 714,529 287530 ],531 "size": {532 "0": 210,533 "1": 46534 },535 "flags": {},536 "order": 8,537 "mode": 0,538 "inputs": [539 {540 "name": "image1",541 "type": "IMAGE",542 "link": 83543 },544 {545 "name": "image2",546 "type": "IMAGE",547 "link": 84548 }549 ],550 "outputs": [551 {552 "name": "IMAGE",553 "type": "IMAGE",554 "links": [555 85,556 95,557 106,558 117559 ],560 "shape": 3,561 "slot_index": 0562 }563 ],564 "properties": {565 "Node name for S&R": "ImageBatch"566 }567 },568 {569 "id": 38,570 "type": "LoadImage",571 "pos": [572 240,573 310574 ],575 "size": {576 "0": 315,577 "1": 314578 },579 "flags": {},580 "order": 5,581 "mode": 0,582 "outputs": [583 {584 "name": "IMAGE",585 "type": "IMAGE",586 "links": [587 84588 ],589 "shape": 3,590 "slot_index": 0591 },592 {593 "name": "MASK",594 "type": "MASK",595 "links": null,596 "shape": 3597 }598 ],599 "properties": {600 "Node name for S&R": "LoadImage"601 },602 "widgets_values": [603 "anime_illustration.png",604 "image"605 ]606 },607 {608 "id": 43,609 "type": "IPAdapterAdvanced",610 "pos": [611 1220,612 1030613 ],614 "size": {615 "0": 315,616 "1": 254617 },618 "flags": {},619 "order": 10,620 "mode": 0,621 "inputs": [622 {623 "name": "model",624 "type": "MODEL",625 "link": 93626 },627 {628 "name": "ipadapter",629 "type": "IPADAPTER",630 "link": 94,631 "slot_index": 1632 },633 {634 "name": "image",635 "type": "IMAGE",636 "link": 95637 },638 {639 "name": "image_negative",640 "type": "IMAGE",641 "link": null642 },643 {644 "name": "attn_mask",645 "type": "MASK",646 "link": null647 },648 {649 "name": "clip_vision",650 "type": "CLIP_VISION",651 "link": 96,652 "slot_index": 5653 }654 ],655 "outputs": [656 {657 "name": "MODEL",658 "type": "MODEL",659 "links": [660 86661 ],662 "shape": 3,663 "slot_index": 0664 }665 ],666 "properties": {667 "Node name for S&R": "IPAdapterAdvanced"668 },669 "widgets_values": [670 0.8,671 "linear",672 "add",673 0,674 1675 ]676 },677 {678 "id": 44,679 "type": "KSampler",680 "pos": [681 3470,682 390683 ],684 "size": {685 "0": 315,686 "1": 262687 },688 "flags": {},689 "order": 15,690 "mode": 0,691 "inputs": [692 {693 "name": "model",694 "type": "MODEL",695 "link": 97696 },697 {698 "name": "positive",699 "type": "CONDITIONING",700 "link": 98701 },702 {703 "name": "negative",704 "type": "CONDITIONING",705 "link": 99706 },707 {708 "name": "latent_image",709 "type": "LATENT",710 "link": 100711 }712 ],713 "outputs": [714 {715 "name": "LATENT",716 "type": "LATENT",717 "links": [718 101719 ],720 "slot_index": 0721 }722 ],723 "properties": {724 "Node name for S&R": "KSampler"725 },726 "widgets_values": [727 0,728 "fixed",729 30,730 6.5,731 "dpmpp_2m",732 "karras",733 1734 ]735 },736 {737 "id": 45,738 "type": "VAEDecode",739 "pos": [740 3840,741 400742 ],743 "size": {744 "0": 140,745 "1": 46746 },747 "flags": {},748 "order": 19,749 "mode": 0,750 "inputs": [751 {752 "name": "samples",753 "type": "LATENT",754 "link": 101755 },756 {757 "name": "vae",758 "type": "VAE",759 "link": 102760 }761 ],762 "outputs": [763 {764 "name": "IMAGE",765 "type": "IMAGE",766 "links": [767 103768 ],769 "slot_index": 0770 }771 ],772 "properties": {773 "Node name for S&R": "VAEDecode"774 }775 },776 {777 "id": 48,778 "type": "KSampler",779 "pos": [780 3480,781 1170782 ],783 "size": {784 "0": 315,785 "1": 262786 },787 "flags": {},788 "order": 16,789 "mode": 0,790 "inputs": [791 {792 "name": "model",793 "type": "MODEL",794 "link": 108795 },796 {797 "name": "positive",798 "type": "CONDITIONING",799 "link": 109800 },801 {802 "name": "negative",803 "type": "CONDITIONING",804 "link": 110805 },806 {807 "name": "latent_image",808 "type": "LATENT",809 "link": 111810 }811 ],812 "outputs": [813 {814 "name": "LATENT",815 "type": "LATENT",816 "links": [817 112818 ],819 "slot_index": 0820 }821 ],822 "properties": {823 "Node name for S&R": "KSampler"824 },825 "widgets_values": [826 0,827 "fixed",828 30,829 6.5,830 "dpmpp_2m",831 "karras",832 1833 ]834 },835 {836 "id": 49,837 "type": "VAEDecode",838 "pos": [839 3850,840 1180841 ],842 "size": {843 "0": 140,844 "1": 46845 },846 "flags": {},847 "order": 20,848 "mode": 0,849 "inputs": [850 {851 "name": "samples",852 "type": "LATENT",853 "link": 112854 },855 {856 "name": "vae",857 "type": "VAE",858 "link": 113859 }860 ],861 "outputs": [862 {863 "name": "IMAGE",864 "type": "IMAGE",865 "links": [866 114867 ],868 "slot_index": 0869 }870 ],871 "properties": {872 "Node name for S&R": "VAEDecode"873 }874 },875 {876 "id": 51,877 "type": "IPAdapterAdvanced",878 "pos": [879 3120,880 1130881 ],882 "size": {883 "0": 315,884 "1": 254885 },886 "flags": {},887 "order": 12,888 "mode": 0,889 "inputs": [890 {891 "name": "model",892 "type": "MODEL",893 "link": 115894 },895 {896 "name": "ipadapter",897 "type": "IPADAPTER",898 "link": 116,899 "slot_index": 1900 },901 {902 "name": "image",903 "type": "IMAGE",904 "link": 117905 },906 {907 "name": "image_negative",908 "type": "IMAGE",909 "link": null910 },911 {912 "name": "attn_mask",913 "type": "MASK",914 "link": null915 },916 {917 "name": "clip_vision",918 "type": "CLIP_VISION",919 "link": 118,920 "slot_index": 5921 }922 ],923 "outputs": [924 {925 "name": "MODEL",926 "type": "MODEL",927 "links": [928 108929 ],930 "shape": 3,931 "slot_index": 0932 }933 ],934 "properties": {935 "Node name for S&R": "IPAdapterAdvanced"936 },937 "widgets_values": [938 0.8,939 "linear",940 "norm average",941 0,942 1943 ]944 },945 {946 "id": 47,947 "type": "IPAdapterAdvanced",948 "pos": [949 3110,950 350951 ],952 "size": {953 "0": 315,954 "1": 254955 },956 "flags": {},957 "order": 11,958 "mode": 0,959 "inputs": [960 {961 "name": "model",962 "type": "MODEL",963 "link": 104964 },965 {966 "name": "ipadapter",967 "type": "IPADAPTER",968 "link": 105,969 "slot_index": 1970 },971 {972 "name": "image",973 "type": "IMAGE",974 "link": 106975 },976 {977 "name": "image_negative",978 "type": "IMAGE",979 "link": null980 },981 {982 "name": "attn_mask",983 "type": "MASK",984 "link": null985 },986 {987 "name": "clip_vision",988 "type": "CLIP_VISION",989 "link": 107,990 "slot_index": 5991 }992 ],993 "outputs": [994 {995 "name": "MODEL",996 "type": "MODEL",997 "links": [998 97999 ],1000 "shape": 3,1001 "slot_index": 01002 }1003 ],1004 "properties": {1005 "Node name for S&R": "IPAdapterAdvanced"1006 },1007 "widgets_values": [1008 0.8,1009 "linear",1010 "average",1011 0,1012 11013 ]1014 },1015 {1016 "id": 8,1017 "type": "VAEDecode",1018 "pos": [1019 1748,1020 6131021 ],1022 "size": {1023 "0": 140,1024 "1": 461025 },1026 "flags": {},1027 "order": 17,1028 "mode": 0,1029 "inputs": [1030 {1031 "name": "samples",1032 "type": "LATENT",1033 "link": 71034 },1035 {1036 "name": "vae",1037 "type": "VAE",1038 "link": 81039 }1040 ],1041 "outputs": [1042 {1043 "name": "IMAGE",1044 "type": "IMAGE",1045 "links": [1046 91047 ],1048 "slot_index": 01049 }1050 ],1051 "properties": {1052 "Node name for S&R": "VAEDecode"1053 }1054 },1055 {1056 "id": 41,1057 "type": "VAEDecode",1058 "pos": [1059 1746,1060 13861061 ],1062 "size": {1063 "0": 140,1064 "1": 461065 },1066 "flags": {},1067 "order": 18,1068 "mode": 0,1069 "inputs": [1070 {1071 "name": "samples",1072 "type": "LATENT",1073 "link": 901074 },1075 {1076 "name": "vae",1077 "type": "VAE",1078 "link": 911079 }1080 ],1081 "outputs": [1082 {1083 "name": "IMAGE",1084 "type": "IMAGE",1085 "links": [1086 921087 ],1088 "slot_index": 01089 }1090 ],1091 "properties": {1092 "Node name for S&R": "VAEDecode"1093 }1094 },1095 {1096 "id": 50,1097 "type": "SaveImage",1098 "pos": [1099 2530,1100 10731101 ],1102 "size": {1103 "0": 529.7760009765625,1104 "1": 582.30480957031251105 },1106 "flags": {},1107 "order": 24,1108 "mode": 0,1109 "inputs": [1110 {1111 "name": "images",1112 "type": "IMAGE",1113 "link": 1141114 }1115 ],1116 "properties": {},1117 "widgets_values": [1118 "IPAdapter"1119 ]1120 },1121 {1122 "id": 46,1123 "type": "SaveImage",1124 "pos": [1125 2518,1126 4191127 ],1128 "size": {1129 "0": 529.7760009765625,1130 "1": 582.30480957031251131 },1132 "flags": {},1133 "order": 23,1134 "mode": 0,1135 "inputs": [1136 {1137 "name": "images",1138 "type": "IMAGE",1139 "link": 1031140 }1141 ],1142 "properties": {},1143 "widgets_values": [1144 "IPAdapter"1145 ]1146 }1147 ],1148 "links": [1149 [1150 2,1151 5,1152 0,1153 3,1154 3,1155 "LATENT"1156 ],1157 [1158 3,1159 4,1160 1,1161 6,1162 0,1163 "CLIP"1164 ],1165 [1166 4,1167 6,1168 0,1169 3,1170 1,1171 "CONDITIONING"1172 ],1173 [1174 5,1175 4,1176 1,1177 7,1178 0,1179 "CLIP"1180 ],1181 [1182 6,1183 7,1184 0,1185 3,1186 2,1187 "CONDITIONING"1188 ],1189 [1190 7,1191 3,1192 0,1193 8,1194 0,1195 "LATENT"1196 ],1197 [1198 8,1199 4,1200 2,