Team Ai
Datasetpublic

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

sourceHugging Facecc-by-3.0updated 2y agoView on Hugging Face
2likes90downloads
ipadapter_faceid_batch.json1168 linesDownload Raw Back to root
1{2  "last_node_id": 32,3  "last_link_id": 54,4  "nodes": [5    {6      "id": 8,7      "type": "VAEDecode",8      "pos": [9        1640,10        71011      ],12      "size": {13        "0": 140,14        "1": 4615      },16      "flags": {},17      "order": 19,18      "mode": 0,19      "inputs": [20        {21          "name": "samples",22          "type": "LATENT",23          "link": 724        },25        {26          "name": "vae",27          "type": "VAE",28          "link": 829        }30      ],31      "outputs": [32        {33          "name": "IMAGE",34          "type": "IMAGE",35          "links": [36            937          ],38          "slot_index": 039        }40      ],41      "properties": {42        "Node name for S&R": "VAEDecode"43      }44    },45    {46      "id": 5,47      "type": "EmptyLatentImage",48      "pos": [49        870,50        110051      ],52      "size": {53        "0": 315,54        "1": 10655      },56      "flags": {},57      "order": 0,58      "mode": 0,59      "outputs": [60        {61          "name": "LATENT",62          "type": "LATENT",63          "links": [64            265          ],66          "slot_index": 067        }68      ],69      "properties": {70        "Node name for S&R": "EmptyLatentImage"71      },72      "widgets_values": [73        512,74        512,75        176      ]77    },78    {79      "id": 3,80      "type": "KSampler",81      "pos": [82        1280,83        71084      ],85      "size": {86        "0": 315,87        "1": 26288      },89      "flags": {},90      "order": 18,91      "mode": 0,92      "inputs": [93        {94          "name": "model",95          "type": "MODEL",96          "link": 4297        },98        {99          "name": "positive",100          "type": "CONDITIONING",101          "link": 4102        },103        {104          "name": "negative",105          "type": "CONDITIONING",106          "link": 6107        },108        {109          "name": "latent_image",110          "type": "LATENT",111          "link": 2112        }113      ],114      "outputs": [115        {116          "name": "LATENT",117          "type": "LATENT",118          "links": [119            7120          ],121          "slot_index": 0122        }123      ],124      "properties": {125        "Node name for S&R": "KSampler"126      },127      "widgets_values": [128        0,129        "fixed",130        30,131        6.5,132        "ddpm",133        "karras",134        1135      ]136    },137    {138      "id": 9,139      "type": "SaveImage",140      "pos": [141        1830,142        700143      ],144      "size": {145        "0": 529.7760009765625,146        "1": 582.3048095703125147      },148      "flags": {},149      "order": 20,150      "mode": 0,151      "inputs": [152        {153          "name": "images",154          "type": "IMAGE",155          "link": 9156        }157      ],158      "properties": {},159      "widgets_values": [160        "IPAdapter"161      ]162    },163    {164      "id": 7,165      "type": "CLIPTextEncode",166      "pos": [167        760,168        850169      ],170      "size": {171        "0": 425.27801513671875,172        "1": 180.6060791015625173      },174      "flags": {},175      "order": 9,176      "mode": 0,177      "inputs": [178        {179          "name": "clip",180          "type": "CLIP",181          "link": 5182        }183      ],184      "outputs": [185        {186          "name": "CONDITIONING",187          "type": "CONDITIONING",188          "links": [189            6190          ],191          "slot_index": 0192        }193      ],194      "properties": {195        "Node name for S&R": "CLIPTextEncode"196      },197      "widgets_values": [198        "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed, naked"199      ]200    },201    {202      "id": 6,203      "type": "CLIPTextEncode",204      "pos": [205        760,206        620207      ],208      "size": {209        "0": 422.84503173828125,210        "1": 164.31304931640625211      },212      "flags": {},213      "order": 8,214      "mode": 0,215      "inputs": [216        {217          "name": "clip",218          "type": "CLIP",219          "link": 3220        }221      ],222      "outputs": [223        {224          "name": "CONDITIONING",225          "type": "CONDITIONING",226          "links": [227            4228          ],229          "slot_index": 0230        }231      ],232      "properties": {233        "Node name for S&R": "CLIPTextEncode"234      },235      "widgets_values": [236        "closeup of a beautiful woman wearing a black dress on the seaside\n\nserene, sunset, spring, high quality, detailed, diffuse light"237      ]238    },239    {240      "id": 4,241      "type": "CheckpointLoaderSimple",242      "pos": [243        10,244        680245      ],246      "size": {247        "0": 315,248        "1": 98249      },250      "flags": {},251      "order": 1,252      "mode": 0,253      "outputs": [254        {255          "name": "MODEL",256          "type": "MODEL",257          "links": [258            36259          ],260          "slot_index": 0261        },262        {263          "name": "CLIP",264          "type": "CLIP",265          "links": [266            3,267            5268          ],269          "slot_index": 1270        },271        {272          "name": "VAE",273          "type": "VAE",274          "links": [275            8276          ],277          "slot_index": 2278        }279      ],280      "properties": {281        "Node name for S&R": "CheckpointLoaderSimple"282      },283      "widgets_values": [284        "sd15/realisticVisionV51_v51VAE.safetensors"285      ]286    },287    {288      "id": 22,289      "type": "IPAdapterUnifiedLoader",290      "pos": [291        855,292        51293      ],294      "size": {295        "0": 315,296        "1": 78297      },298      "flags": {},299      "order": 15,300      "mode": 0,301      "inputs": [302        {303          "name": "model",304          "type": "MODEL",305          "link": 43306        },307        {308          "name": "ipadapter",309          "type": "IPADAPTER",310          "link": 38311        }312      ],313      "outputs": [314        {315          "name": "model",316          "type": "MODEL",317          "links": [318            40319          ],320          "shape": 3,321          "slot_index": 0322        },323        {324          "name": "ipadapter",325          "type": "IPADAPTER",326          "links": [327            37328          ],329          "shape": 3330        }331      ],332      "properties": {333        "Node name for S&R": "IPAdapterUnifiedLoader"334      },335      "widgets_values": [336        "FULL FACE - SD1.5 only (portraits stronger)"337      ]338    },339    {340      "id": 21,341      "type": "IPAdapter",342      "pos": [343        1280,344        170345      ],346      "size": {347        "0": 315,348        "1": 166349      },350      "flags": {},351      "order": 17,352      "mode": 0,353      "inputs": [354        {355          "name": "model",356          "type": "MODEL",357          "link": 40358        },359        {360          "name": "ipadapter",361          "type": "IPADAPTER",362          "link": 37,363          "slot_index": 1364        },365        {366          "name": "image",367          "type": "IMAGE",368          "link": 53369        },370        {371          "name": "attn_mask",372          "type": "MASK",373          "link": null374        }375      ],376      "outputs": [377        {378          "name": "MODEL",379          "type": "MODEL",380          "links": [381            42382          ],383          "shape": 3,384          "slot_index": 0385        }386      ],387      "properties": {388        "Node name for S&R": "IPAdapter"389      },390      "widgets_values": [391        0.4,392        0,393        1394      ]395    },396    {397      "id": 20,398      "type": "IPAdapterUnifiedLoaderFaceID",399      "pos": [400        457,401        57402      ],403      "size": {404        "0": 315,405        "1": 126406      },407      "flags": {},408      "order": 7,409      "mode": 0,410      "inputs": [411        {412          "name": "model",413          "type": "MODEL",414          "link": 36415        },416        {417          "name": "ipadapter",418          "type": "IPADAPTER",419          "link": null420        }421      ],422      "outputs": [423        {424          "name": "MODEL",425          "type": "MODEL",426          "links": [427            35428          ],429          "shape": 3,430          "slot_index": 0431        },432        {433          "name": "ipadapter",434          "type": "IPADAPTER",435          "links": [436            34,437            38438          ],439          "shape": 3,440          "slot_index": 1441        }442      ],443      "properties": {444        "Node name for S&R": "IPAdapterUnifiedLoaderFaceID"445      },446      "widgets_values": [447        "FACEID PLUS V2",448        0.6,449        "CPU"450      ]451    },452    {453      "id": 12,454      "type": "LoadImage",455      "pos": [456        -220,457        -370458      ],459      "size": {460        "0": 315,461        "1": 314462      },463      "flags": {},464      "order": 2,465      "mode": 0,466      "outputs": [467        {468          "name": "IMAGE",469          "type": "IMAGE",470          "links": [471            44472          ],473          "shape": 3,474          "slot_index": 0475        },476        {477          "name": "MASK",478          "type": "MASK",479          "links": null,480          "shape": 3481        }482      ],483      "properties": {484        "Node name for S&R": "LoadImage"485      },486      "widgets_values": [487        "rosario-1.jpg",488        "image"489      ]490    },491    {492      "id": 25,493      "type": "LoadImage",494      "pos": [495        -580,496        -380497      ],498      "size": {499        "0": 315,500        "1": 314501      },502      "flags": {},503      "order": 3,504      "mode": 0,505      "outputs": [506        {507          "name": "IMAGE",508          "type": "IMAGE",509          "links": [510            45511          ],512          "shape": 3,513          "slot_index": 0514        },515        {516          "name": "MASK",517          "type": "MASK",518          "links": null,519          "shape": 3520        }521      ],522      "properties": {523        "Node name for S&R": "LoadImage"524      },525      "widgets_values": [526        "rosario_4.jpg",527        "image"528      ]529    },530    {531      "id": 24,532      "type": "LoadImage",533      "pos": [534        -230,535        0536      ],537      "size": {538        "0": 315,539        "1": 314540      },541      "flags": {},542      "order": 4,543      "mode": 0,544      "outputs": [545        {546          "name": "IMAGE",547          "type": "IMAGE",548          "links": [549            46550          ],551          "shape": 3,552          "slot_index": 0553        },554        {555          "name": "MASK",556          "type": "MASK",557          "links": null,558          "shape": 3559        }560      ],561      "properties": {562        "Node name for S&R": "LoadImage"563      },564      "widgets_values": [565        "rosario_5.jpg",566        "image"567      ]568    },569    {570      "id": 26,571      "type": "LoadImage",572      "pos": [573        -580,574        0575      ],576      "size": {577        "0": 315,578        "1": 314579      },580      "flags": {},581      "order": 5,582      "mode": 0,583      "outputs": [584        {585          "name": "IMAGE",586          "type": "IMAGE",587          "links": [588            47589          ],590          "shape": 3,591          "slot_index": 0592        },593        {594          "name": "MASK",595          "type": "MASK",596          "links": null,597          "shape": 3598        }599      ],600      "properties": {601        "Node name for S&R": "LoadImage"602      },603      "widgets_values": [604        "rosario-2.jpg",605        "image"606      ]607    },608    {609      "id": 27,610      "type": "ImageBatch",611      "pos": [612        180,613        -210614      ],615      "size": {616        "0": 210,617        "1": 46618      },619      "flags": {},620      "order": 10,621      "mode": 0,622      "inputs": [623        {624          "name": "image1",625          "type": "IMAGE",626          "link": 44627        },628        {629          "name": "image2",630          "type": "IMAGE",631          "link": 45632        }633      ],634      "outputs": [635        {636          "name": "IMAGE",637          "type": "IMAGE",638          "links": [639            48640          ],641          "shape": 3,642          "slot_index": 0643        }644      ],645      "properties": {646        "Node name for S&R": "ImageBatch"647      }648    },649    {650      "id": 28,651      "type": "ImageBatch",652      "pos": [653        180,654        -110655      ],656      "size": {657        "0": 210,658        "1": 46659      },660      "flags": {},661      "order": 11,662      "mode": 0,663      "inputs": [664        {665          "name": "image1",666          "type": "IMAGE",667          "link": 46668        },669        {670          "name": "image2",671          "type": "IMAGE",672          "link": 47673        }674      ],675      "outputs": [676        {677          "name": "IMAGE",678          "type": "IMAGE",679          "links": [680            49681          ],682          "shape": 3,683          "slot_index": 0684        }685      ],686      "properties": {687        "Node name for S&R": "ImageBatch"688      }689    },690    {691      "id": 18,692      "type": "IPAdapterFaceID",693      "pos": [694        850,695        190696      ],697      "size": {698        "0": 315,699        "1": 298700      },701      "flags": {},702      "order": 13,703      "mode": 0,704      "inputs": [705        {706          "name": "model",707          "type": "MODEL",708          "link": 35709        },710        {711          "name": "ipadapter",712          "type": "IPADAPTER",713          "link": 34,714          "slot_index": 1715        },716        {717          "name": "image",718          "type": "IMAGE",719          "link": 50720        },721        {722          "name": "image_negative",723          "type": "IMAGE",724          "link": null725        },726        {727          "name": "attn_mask",728          "type": "MASK",729          "link": null730        },731        {732          "name": "clip_vision",733          "type": "CLIP_VISION",734          "link": null735        },736        {737          "name": "insightface",738          "type": "INSIGHTFACE",739          "link": null740        }741      ],742      "outputs": [743        {744          "name": "MODEL",745          "type": "MODEL",746          "links": [747            43748          ],749          "shape": 3,750          "slot_index": 0751        }752      ],753      "properties": {754        "Node name for S&R": "IPAdapterFaceID"755      },756      "widgets_values": [757        0.8,758        2,759        "linear",760        "concat",761        0,762        1763      ]764    },765    {766      "id": 29,767      "type": "ImageBatch",768      "pos": [769        420,770        -170771      ],772      "size": {773        "0": 210,774        "1": 46775      },776      "flags": {},777      "order": 12,778      "mode": 0,779      "inputs": [780        {781          "name": "image1",782          "type": "IMAGE",783          "link": 48784        },785        {786          "name": "image2",787          "type": "IMAGE",788          "link": 49789        }790      ],791      "outputs": [792        {793          "name": "IMAGE",794          "type": "IMAGE",795          "links": [796            50,797            51798          ],799          "shape": 3,800          "slot_index": 0801        }802      ],803      "properties": {804        "Node name for S&R": "ImageBatch"805      }806    },807    {808      "id": 31,809      "type": "ImageListToBatch+",810      "pos": [811        1218,812        -208813      ],814      "size": {815        "0": 210,816        "1": 26817      },818      "flags": {},819      "order": 16,820      "mode": 0,821      "inputs": [822        {823          "name": "image",824          "type": "IMAGE",825          "link": 52826        }827      ],828      "outputs": [829        {830          "name": "IMAGE",831          "type": "IMAGE",832          "links": [833            53834          ],835          "shape": 3,836          "slot_index": 0837        }838      ],839      "properties": {840        "Node name for S&R": "ImageListToBatch+"841      }842    },843    {844      "id": 30,845      "type": "FaceBoundingBox",846      "pos": [847        848,848        -211849      ],850      "size": {851        "0": 315,852        "1": 162853      },854      "flags": {},855      "order": 14,856      "mode": 0,857      "inputs": [858        {859          "name": "analysis_models",860          "type": "ANALYSIS_MODELS",861          "link": 54,862          "slot_index": 0863        },864        {865          "name": "image",866          "type": "IMAGE",867          "link": 51868        }869      ],870      "outputs": [871        {872          "name": "IMAGE",873          "type": "IMAGE",874          "links": [875            52876          ],877          "shape": 6,878          "slot_index": 0879        },880        {881          "name": "x",882          "type": "INT",883          "links": null,884          "shape": 6885        },886        {887          "name": "y",888          "type": "INT",889          "links": null,890          "shape": 6891        },892        {893          "name": "width",894          "type": "INT",895          "links": null,896          "shape": 6897        },898        {899          "name": "height",900          "type": "INT",901          "links": null,902          "shape": 6903        }904      ],905      "properties": {906        "Node name for S&R": "FaceBoundingBox"907      },908      "widgets_values": [909        30,910        -1911      ]912    },913    {914      "id": 32,915      "type": "FaceAnalysisModels",916      "pos": [917        602,918        -369919      ],920      "size": [921        210,922        82923      ],924      "flags": {},925      "order": 6,926      "mode": 0,927      "outputs": [928        {929          "name": "ANALYSIS_MODELS",930          "type": "ANALYSIS_MODELS",931          "links": [932            54933          ],934          "shape": 3935        }936      ],937      "properties": {938        "Node name for S&R": "FaceAnalysisModels"939      },940      "widgets_values": [941        "dlib",942        "CPU"943      ]944    }945  ],946  "links": [947    [948      2,949      5,950      0,951      3,952      3,953      "LATENT"954    ],955    [956      3,957      4,958      1,959      6,960      0,961      "CLIP"962    ],963    [964      4,965      6,966      0,967      3,968      1,969      "CONDITIONING"970    ],971    [972      5,973      4,974      1,975      7,976      0,977      "CLIP"978    ],979    [980      6,981      7,982      0,983      3,984      2,985      "CONDITIONING"986    ],987    [988      7,989      3,990      0,991      8,992      0,993      "LATENT"994    ],995    [996      8,997      4,998      2,999      8,1000      1,1001      "VAE"1002    ],1003    [1004      9,1005      8,1006      0,1007      9,1008      0,1009      "IMAGE"1010    ],1011    [1012      34,1013      20,1014      1,1015      18,1016      1,1017      "IPADAPTER"1018    ],1019    [1020      35,1021      20,1022      0,1023      18,1024      0,1025      "MODEL"1026    ],1027    [1028      36,1029      4,1030      0,1031      20,1032      0,1033      "MODEL"1034    ],1035    [1036      37,1037      22,1038      1,1039      21,1040      1,1041      "IPADAPTER"1042    ],1043    [1044      38,1045      20,1046      1,1047      22,1048      1,1049      "IPADAPTER"1050    ],1051    [1052      40,1053      22,1054      0,1055      21,1056      0,1057      "MODEL"1058    ],1059    [1060      42,1061      21,1062      0,1063      3,1064      0,1065      "MODEL"1066    ],1067    [1068      43,1069      18,1070      0,1071      22,1072      0,1073      "MODEL"1074    ],1075    [1076      44,1077      12,1078      0,1079      27,1080      0,1081      "IMAGE"1082    ],1083    [1084      45,1085      25,1086      0,1087      27,1088      1,1089      "IMAGE"1090    ],1091    [1092      46,1093      24,1094      0,1095      28,1096      0,1097      "IMAGE"1098    ],1099    [1100      47,1101      26,1102      0,1103      28,1104      1,1105      "IMAGE"1106    ],1107    [1108      48,1109      27,1110      0,1111      29,1112      0,1113      "IMAGE"1114    ],1115    [1116      49,1117      28,1118      0,1119      29,1120      1,1121      "IMAGE"1122    ],1123    [1124      50,1125      29,1126      0,1127      18,1128      2,1129      "IMAGE"1130    ],1131    [1132      51,1133      29,1134      0,1135      30,1136      1,1137      "IMAGE"1138    ],1139    [1140      52,1141      30,1142      0,1143      31,1144      0,1145      "IMAGE"1146    ],1147    [1148      53,1149      31,1150      0,1151      21,1152      2,1153      "IMAGE"1154    ],1155    [1156      54,1157      32,1158      0,1159      30,1160      0,1161      "ANALYSIS_MODELS"1162    ]1163  ],1164  "groups": [],1165  "config": {},1166  "extra": {},1167  "version": 0.41168}