stablediffusiontutorials/ideogram
053
1{2 "id": "c764440a-fdfe-4836-a0b1-80492760ce6e",3 "revision": 0,4 "last_node_id": 36,5 "last_link_id": 107,6 "nodes": [7 {8 "id": "sample",9 "type": "SamplerCustomAdvanced",10 "pos": [11 2688.33773566481,12 1375.46510421043713 ],14 "size": [15 212.3638671875,16 326.0000000000000617 ],18 "flags": {},19 "order": 35,20 "mode": 0,21 "inputs": [22 {23 "name": "noise",24 "type": "NOISE",25 "link": 8926 },27 {28 "name": "guider",29 "type": "GUIDER",30 "link": 9031 },32 {33 "name": "sampler",34 "type": "SAMPLER",35 "link": 9136 },37 {38 "name": "sigmas",39 "type": "SIGMAS",40 "link": 9241 },42 {43 "name": "latent_image",44 "type": "LATENT",45 "link": 9346 }47 ],48 "outputs": [49 {50 "name": "output",51 "type": "LATENT",52 "links": [53 9454 ]55 },56 {57 "name": "denoised_output",58 "type": "LATENT",59 "links": null60 }61 ],62 "title": "Sample",63 "properties": {64 "cnr_id": "comfy-core",65 "ver": "0.24.0",66 "Node name for S&R": "SamplerCustomAdvanced"67 },68 "widgets_values": []69 },70 {71 "id": 22,72 "type": "PreviewAny",73 "pos": [74 1283.445401573029,75 1909.78411932259276 ],77 "size": [78 254.42296063044228,79 216.2129577321488880 ],81 "flags": {},82 "order": 25,83 "mode": 0,84 "inputs": [85 {86 "name": "source",87 "type": "*",88 "link": 6189 }90 ],91 "outputs": [92 {93 "name": "STRING",94 "type": "STRING",95 "links": null96 }97 ],98 "properties": {99 "cnr_id": "comfy-core",100 "ver": "0.24.0",101 "Node name for S&R": "PreviewAny"102 },103 "widgets_values": [104 null,105 null,106 null107 ]108 },109 {110 "id": 10,111 "type": "Ideogram4PromptBuilderKJ",112 "pos": [113 1530.4724727907083,114 425.7846857247097115 ],116 "size": [117 480,118 414119 ],120 "flags": {},121 "order": 24,122 "mode": 0,123 "inputs": [124 {125 "name": "image",126 "shape": 7,127 "type": "IMAGE",128 "link": null129 },130 {131 "name": "import_json",132 "shape": 7,133 "type": "STRING",134 "link": 55135 },136 {137 "name": "bboxes",138 "shape": 7,139 "type": "BOUNDING_BOX",140 "link": null141 },142 {143 "name": "width",144 "type": "INT",145 "widget": {146 "name": "width"147 },148 "link": 104149 },150 {151 "name": "height",152 "type": "INT",153 "widget": {154 "name": "height"155 },156 "link": 105157 }158 ],159 "outputs": [160 {161 "name": "prompt",162 "type": "STRING",163 "links": [164 56,165 59,166 80167 ]168 },169 {170 "name": "preview",171 "type": "IMAGE",172 "links": null173 },174 {175 "name": "bboxes",176 "type": "BOUNDING_BOX",177 "links": null178 },179 {180 "name": "width",181 "type": "INT",182 "links": null183 },184 {185 "name": "height",186 "type": "INT",187 "links": null188 }189 ],190 "properties": {191 "cnr_id": "comfyui-kjnodes",192 "ver": "1.4.7",193 "Node name for S&R": "Ideogram4PromptBuilderKJ",194 "dockPinned": true,195 "dockGraph": {196 "x": 0,197 "y": 426,198 "w": 491,199 "h": 747200 },201 "docked": true,202 "dockMin": false203 },204 "widgets_values": [205 1126,206 1397,207 "A mirror selfie of a young woman with a blonde ponytail, wearing a dark bikini, standing in a bedroom.",208 "A blurred bedroom interior featuring a white door frame, a glimpse of a bed with blue linens, and a neutral-toned wall.",209 "photo",210 "smartphone camera, wide angle, f/2.2",211 "natural, intimate, candid",212 "soft indoor lighting, diffuse reflections",213 "photograph",214 "[\"#1A1A1A\",\"#E0E0E0\",\"#C0C0C0\",\"#F5D0C0\",\"#808080\"]",215 "[{\"type\":\"obj\",\"text\":\"\",\"desc\":\"A young woman with long blonde hair tied in a high ponytail. She is posed sideways, looking into a mirror.\",\"palette\":[\"#F5D0C0\"],\"x\":0.29,\"y\":0.04,\"w\":0.36,\"h\":0.94},{\"type\":\"obj\",\"text\":\"\",\"desc\":\"A sleek, dark charcoal black bikini set consisting of a triangle top and high-cut bottoms.\",\"palette\":[\"#1A1A1A\"],\"x\":0.35,\"y\":0.23,\"w\":0.25,\"h\":0.37},{\"type\":\"obj\",\"text\":\"\",\"desc\":\"A white smartphone held in the woman's right hand, capturing the reflection in the mirror.\",\"palette\":[],\"x\":0.6,\"y\":0.15,\"w\":0.1,\"h\":0.12},{\"type\":\"obj\",\"text\":\"\",\"desc\":\"Sheer white thigh-high stockings that contrast with the dark bikini.\",\"palette\":[],\"x\":0.37,\"y\":0.78,\"w\":0.26,\"h\":0.21}]",216 25,217 "always",218 "compact",219 ""220 ],221 "ideo": {222 "boxes": [223 {224 "type": "obj",225 "text": "",226 "desc": "A young woman with long blonde hair tied in a high ponytail. She is posed sideways, looking into a mirror.",227 "palette": [228 "#F5D0C0"229 ],230 "x": 0.29,231 "y": 0.04,232 "w": 0.36,233 "h": 0.94234 },235 {236 "type": "obj",237 "text": "",238 "desc": "A sleek, dark charcoal black bikini set consisting of a triangle top and high-cut bottoms.",239 "palette": [240 "#1A1A1A"241 ],242 "x": 0.35,243 "y": 0.23,244 "w": 0.25,245 "h": 0.37246 },247 {248 "type": "obj",249 "text": "",250 "desc": "A white smartphone held in the woman's right hand, capturing the reflection in the mirror.",251 "palette": [],252 "x": 0.6,253 "y": 0.15,254 "w": 0.1,255 "h": 0.12256 },257 {258 "type": "obj",259 "text": "",260 "desc": "Sheer white thigh-high stockings that contrast with the dark bikini.",261 "palette": [],262 "x": 0.37,263 "y": 0.78,264 "w": 0.26,265 "h": 0.21266 }267 ],268 "palette": [269 "#1A1A1A",270 "#E0E0E0",271 "#C0C0C0",272 "#F5D0C0",273 "#808080"274 ],275 "importMode": "always",276 "outputFormat": "compact",277 "dock": {278 "pinned": true,279 "graph": {280 "x": 0,281 "y": 426,282 "w": 491,283 "h": 747284 },285 "panelH": 150,286 "min": false287 }288 }289 },290 {291 "id": 32,292 "type": "ImageScaleToTotalPixels",293 "pos": [294 1642.1251560008811,295 1930.776753618382296 ],297 "size": [298 270,299 106300 ],301 "flags": {},302 "order": 11,303 "mode": 0,304 "inputs": [305 {306 "name": "image",307 "type": "IMAGE",308 "link": 99309 }310 ],311 "outputs": [312 {313 "name": "IMAGE",314 "type": "IMAGE",315 "links": [316 98317 ]318 }319 ],320 "properties": {321 "cnr_id": "comfy-core",322 "ver": "0.8.2",323 "Node name for S&R": "ImageScaleToTotalPixels",324 "enableTabs": false,325 "tabWidth": 65,326 "tabXOffset": 10,327 "hasSecondTab": false,328 "secondTabText": "Send Back",329 "secondTabOffset": 80,330 "secondTabWidth": 65331 },332 "widgets_values": [333 "bilinear",334 1.5,335 1336 ]337 },338 {339 "id": 33,340 "type": "GetImageSize",341 "pos": [342 1709.3725602360748,343 2112.194917843295344 ],345 "size": [346 140,347 124.00000000000023348 ],349 "flags": {},350 "order": 15,351 "mode": 0,352 "inputs": [353 {354 "name": "image",355 "type": "IMAGE",356 "link": 98357 }358 ],359 "outputs": [360 {361 "name": "width",362 "type": "INT",363 "links": [364 100,365 102,366 104367 ]368 },369 {370 "name": "height",371 "type": "INT",372 "links": [373 101,374 103,375 105376 ]377 },378 {379 "name": "batch_size",380 "type": "INT",381 "links": []382 }383 ],384 "properties": {385 "cnr_id": "comfy-core",386 "ver": "0.7.0",387 "Node name for S&R": "GetImageSize",388 "enableTabs": false,389 "tabWidth": 65,390 "tabXOffset": 10,391 "hasSecondTab": false,392 "secondTabText": "Send Back",393 "secondTabOffset": 80,394 "secondTabWidth": 65395 },396 "widgets_values": []397 },398 {399 "id": "save_diptych",400 "type": "SaveImage",401 "pos": [402 2922.999048556709,403 1482.0206743888095404 ],405 "size": [406 296.2566908842782,407 461.9457765276952408 ],409 "flags": {},410 "order": 38,411 "mode": 0,412 "inputs": [413 {414 "name": "images",415 "type": "IMAGE",416 "link": 96417 }418 ],419 "outputs": [],420 "title": "Save Inpainted Image",421 "properties": {422 "cnr_id": "comfy-core",423 "ver": "0.24.0",424 "Node name for S&R": "SaveImage"425 },426 "widgets_values": [427 "ideogram4_bg_inpaint"428 ]429 },430 {431 "id": "load_ref",432 "type": "LoadImage",433 "pos": [434 2133.0441539526746,435 1384.834925029741436 ],437 "size": [438 222.798828125,439 326440 ],441 "flags": {},442 "order": 0,443 "mode": 0,444 "inputs": [],445 "outputs": [446 {447 "name": "IMAGE",448 "type": "IMAGE",449 "links": [450 75,451 99452 ]453 },454 {455 "name": "MASK",456 "type": "MASK",457 "links": null458 }459 ],460 "title": "Load ORIGINAL IMAGE",461 "properties": {462 "cnr_id": "comfy-core",463 "ver": "0.24.0",464 "Node name for S&R": "LoadImage"465 },466 "widgets_values": [467 "b907e0e5-8f91-4d55-bf2b-9f6a6e164706.jpeg",468 "image"469 ]470 },471 {472 "id": 26,473 "type": "MaskPreview+",474 "pos": [475 2409.2836907700685,476 1440.899981350772477 ],478 "size": [479 270.790625,480 258481 ],482 "flags": {},483 "order": 32,484 "mode": 0,485 "inputs": [486 {487 "name": "mask",488 "type": "MASK",489 "link": 66490 }491 ],492 "outputs": [],493 "title": "🔧 Mask (White = redraw)",494 "properties": {495 "cnr_id": "comfyui_essentials",496 "ver": "99aad72c84e1dac2f924941ecb12c93007512a8c",497 "Node name for S&R": "MaskPreview+"498 },499 "widgets_values": []500 },501 {502 "id": "invert_mask",503 "type": "InvertMask",504 "pos": [505 2430.0867431975103,506 1368.4387360661187507 ],508 "size": [509 214.503515625,510 26511 ],512 "flags": {},513 "order": 30,514 "mode": 0,515 "inputs": [516 {517 "name": "mask",518 "type": "MASK",519 "link": 106520 }521 ],522 "outputs": [523 {524 "name": "MASK",525 "type": "MASK",526 "links": [527 66,528 83529 ]530 }531 ],532 "properties": {533 "cnr_id": "comfy-core",534 "ver": "0.24.0",535 "Node name for S&R": "InvertMask"536 },537 "widgets_values": []538 },539 {540 "id": "split_sigmas",541 "type": "SplitSigmasDenoise",542 "pos": [543 2679.258670152133,544 1246.2972973702401545 ],546 "size": [547 220.1841796875,548 78549 ],550 "flags": {},551 "order": 20,552 "mode": 0,553 "inputs": [554 {555 "name": "sigmas",556 "type": "SIGMAS",557 "link": 72558 }559 ],560 "outputs": [561 {562 "name": "high_sigmas",563 "type": "SIGMAS",564 "links": null565 },566 {567 "name": "low_sigmas",568 "type": "SIGMAS",569 "links": [570 92571 ]572 }573 ],574 "title": "Apply Partial Denoise Level",575 "properties": {576 "cnr_id": "comfy-core",577 "ver": "0.24.0",578 "Node name for S&R": "SplitSigmasDenoise"579 },580 "widgets_values": [581 0.9582 ]583 },584 {585 "id": 36,586 "type": "SaveImage",587 "pos": [588 3262.7347475392257,589 1494.691960217746590 ],591 "size": [592 270,593 58594 ],595 "flags": {},596 "order": 39,597 "mode": 0,598 "inputs": [599 {600 "name": "images",601 "type": "IMAGE",602 "link": 107603 }604 ],605 "outputs": [],606 "properties": {607 "cnr_id": "comfy-core",608 "ver": "0.24.0",609 "Node name for S&R": "SaveImage"610 },611 "widgets_values": [612 "ComfyUI"613 ]614 },615 {616 "id": "sigmas",617 "type": "Ideogram4Scheduler",618 "pos": [619 2932.9457331889307,620 1145.2731383181226621 ],622 "size": [623 273.265234375,624 154625 ],626 "flags": {},627 "order": 17,628 "mode": 0,629 "inputs": [630 {631 "name": "width",632 "type": "INT",633 "widget": {634 "name": "width"635 },636 "link": 100637 },638 {639 "name": "height",640 "type": "INT",641 "widget": {642 "name": "height"643 },644 "link": 101645 }646 ],647 "outputs": [648 {649 "name": "SIGMAS",650 "type": "SIGMAS",651 "links": [652 72653 ]654 }655 ],656 "title": "Logit-normal schedule, full denoise",657 "properties": {658 "cnr_id": "comfy-core",659 "ver": "0.24.0",660 "Node name for S&R": "Ideogram4Scheduler"661 },662 "widgets_values": [663 20,664 1024,665 1024,666 0,667 1.75668 ]669 },670 {671 "id": "euler",672 "type": "KSamplerSelect",673 "pos": [674 2669.559021568096,675 1125.3236014478784676 ],677 "size": [678 210,679 58680 ],681 "flags": {},682 "order": 1,683 "mode": 0,684 "inputs": [],685 "outputs": [686 {687 "name": "SAMPLER",688 "type": "SAMPLER",689 "links": [690 91691 ]692 }693 ],694 "title": "Euler",695 "properties": {696 "cnr_id": "comfy-core",697 "ver": "0.24.0",698 "Node name for S&R": "KSamplerSelect"699 },700 "widgets_values": [701 "euler"702 ]703 },704 {705 "id": "scale_image",706 "type": "ImageScale",707 "pos": [708 1621.27210786276,709 1719.8737511682891710 ],711 "size": [712 270,713 130714 ],715 "flags": {},716 "order": 18,717 "mode": 0,718 "inputs": [719 {720 "name": "image",721 "type": "IMAGE",722 "link": 75723 },724 {725 "name": "width",726 "type": "INT",727 "widget": {728 "name": "width"729 },730 "link": 102731 },732 {733 "name": "height",734 "type": "INT",735 "widget": {736 "name": "height"737 },738 "link": 103739 }740 ],741 "outputs": [742 {743 "name": "IMAGE",744 "type": "IMAGE",745 "links": [746 60,747 64,748 67,749 78750 ]751 }752 ],753 "title": "Scale Original Image to Target Res",754 "properties": {755 "cnr_id": "comfy-core",756 "ver": "0.24.0",757 "Node name for S&R": "ImageScale"758 },759 "widgets_values": [760 "lanczos",761 512,762 512,763 "center"764 ]765 },766 {767 "id": "encode",768 "type": "VAEEncode",769 "pos": [770 1342.266797458516,771 1726.4464779182024772 ],773 "size": [774 161.073828125,775 46776 ],777 "flags": {},778 "order": 23,779 "mode": 0,780 "inputs": [781 {782 "name": "pixels",783 "type": "IMAGE",784 "link": 78785 },786 {787 "name": "vae",788 "type": "VAE",789 "link": 79790 }791 ],792 "outputs": [793 {794 "name": "LATENT",795 "type": "LATENT",796 "links": [797 82798 ]799 }800 ],801 "title": "Encode Full Image",802 "properties": {803 "cnr_id": "comfy-core",804 "ver": "0.24.0",805 "Node name for S&R": "VAEEncode"806 },807 "widgets_values": []808 },809 {810 "id": 29,811 "type": "ImageConcatMulti",812 "pos": [813 3383.8201468426396,814 1280.3748772195586815 ],816 "size": [817 270,818 150819 ],820 "flags": {},821 "order": 37,822 "mode": 0,823 "inputs": [824 {825 "name": "image_1",826 "type": "IMAGE,MASK",827 "link": 67828 },829 {830 "name": "image_2",831 "shape": 7,832 "type": "IMAGE,MASK",833 "link": 68834 }835 ],836 "outputs": [837 {838 "name": "output",839 "type": "IMAGE",840 "links": [841 107842 ]843 }844 ],845 "properties": {846 "cnr_id": "comfyui-kjnodes",847 "ver": "1.4.7"848 },849 "widgets_values": [850 2,851 "right",852 false,853 null854 ]855 },856 {857 "id": "decode",858 "type": "VAEDecode",859 "pos": [860 3512.9791609497715,861 1138.4353851287403862 ],863 "size": [864 140,865 46866 ],867 "flags": {},868 "order": 36,869 "mode": 0,870 "inputs": [871 {872 "name": "samples",873 "type": "LATENT",874 "link": 94875 },876 {877 "name": "vae",878 "type": "VAE",879 "link": 95880 }881 ],882 "outputs": [883 {884 "name": "IMAGE",885 "type": "IMAGE",886 "links": [887 68,888 96889 ]890 }891 ],892 "title": "Decode",893 "properties": {894 "cnr_id": "comfy-core",895 "ver": "0.24.0",896 "Node name for S&R": "VAEDecode"897 },898 "widgets_values": []899 },900 {901 "id": "noise",902 "type": "RandomNoise",903 "pos": [904 2934.67212630585,905 1004.6003726119689906 ],907 "size": [908 270,909 82910 ],911 "flags": {},912 "order": 2,913 "mode": 0,914 "inputs": [],915 "outputs": [916 {917 "name": "NOISE",918 "type": "NOISE",919 "links": [920 89921 ]922 }923 ],924 "title": "Noise",925 "properties": {926 "cnr_id": "comfy-core",927 "ver": "0.24.0",928 "Node name for S&R": "RandomNoise"929 },930 "widgets_values": [931 1,932 "increment"933 ]934 },935 {936 "id": "guider",937 "type": "DualModelGuider",938 "pos": [939 2673.1060263099985,940 688.5003292646956941 ],942 "size": [943 270,944 118945 ],946 "flags": {},947 "order": 34,948 "mode": 0,949 "inputs": [950 {951 "name": "model",952 "type": "MODEL",953 "link": 85954 },955 {956 "name": "positive",957 "type": "CONDITIONING",958 "link": 86959 },960 {961 "name": "model_negative",962 "shape": 7,963 "type": "MODEL",964 "link": 87965 },966 {967 "name": "negative",968 "shape": 7,969 "type": "CONDITIONING",970 "link": 88971 }972 ],973 "outputs": [974 {975 "name": "GUIDER",976 "type": "GUIDER",977 "links": [978 90979 ]980 }981 ],982 "title": "Asymmetric CFG guider",983 "properties": {984 "cnr_id": "comfy-core",985 "ver": "0.24.0",986 "Node name for S&R": "DualModelGuider"987 },988 "widgets_values": [989 6.5990 ]991 },992 {993 "id": "cfg_override",994 "type": "CFGOverride",995 "pos": [996 2678.353807223727,997 514.5598829620338998 ],999 "size": [1000 270,1001 1061002 ],1003 "flags": {},1004 "order": 19,1005 "mode": 0,1006 "inputs": [1007 {1008 "name": "model",1009 "type": "MODEL",1010 "link": 771011 }1012 ],1013 "outputs": [1014 {1015 "name": "MODEL",1016 "type": "MODEL",1017 "links": [1018 851019 ]1020 }1021 ],1022 "title": "CFG 3 for last 30% of trajectory",1023 "properties": {1024 "cnr_id": "comfy-core",1025 "ver": "0.24.0",1026 "Node name for S&R": "CFGOverride"1027 },1028 "widgets_values": [1029 3,1030 0.7,1031 11032 ]1033 },1034 {1035 "id": "caption_zero",1036 "type": "ConditioningZeroOut",1037 "pos": [1038 2511.564244163179,1039 252.35995912350821040 ],1041 "size": [1042 235.5923828125,1043 261044 ],1045 "flags": {},1046 "order": 31,1047 "mode": 0,1048 "inputs": [1049 {1050 "name": "conditioning",1051 "type": "CONDITIONING",1052 "link": 841053 }1054 ],1055 "outputs": [1056 {1057 "name": "CONDITIONING",1058 "type": "CONDITIONING",1059 "links": [1060 881061 ]1062 }1063 ],1064 "title": "Zeroed cond for uncond pass",1065 "properties": {1066 "cnr_id": "comfy-core",1067 "ver": "0.24.0",1068 "Node name for S&R": "ConditioningZeroOut"1069 },1070 "widgets_values": []1071 },1072 {1073 "id": "masked_latent",1074 "type": "SetLatentNoiseMask",1075 "pos": [1076 2534.870971629894,1077 377.906699509170151078 ],1079 "size": [1080 201.0162109375,1081 461082 ],1083 "flags": {},1084 "order": 33,1085 "mode": 0,1086 "inputs": [1087 {1088 "name": "samples",1089 "type": "LATENT",1090 "link": 821091 },1092 {1093 "name": "mask",1094 "type": "MASK",1095 "link": 831096 }1097 ],1098 "outputs": [1099 {1100 "name": "LATENT",1101 "type": "LATENT",1102 "links": [1103 931104 ]1105 }1106 ],1107 "title": "Apply Background Mask",1108 "properties": {1109 "cnr_id": "comfy-core",1110 "ver": "0.24.0",1111 "Node name for S&R": "SetLatentNoiseMask"1112 },1113 "widgets_values": []1114 },1115 {1116 "id": 11,1117 "type": "PreviewAny",1118 "pos": [1119 2037.7842325461788,1120 399.48321615908331121 ],1122 "size": [1123 339.8814453125,1124 1661125 ],1126 "flags": {},1127 "order": 27,1128 "mode": 0,1129 "inputs": [1130 {1131 "name": "source",1132 "type": "*",1133 "link": 561134 }1135 ],1136 "outputs": [1137 {1138 "name": "STRING",1139 "type": "STRING",1140 "links": null1141 }1142 ],1143 "title": "Итоговое форматирование промпта после builder",1144 "properties": {1145 "cnr_id": "comfy-core",1146 "ver": "0.24.0",1147 "Node name for S&R": "PreviewAny"1148 },1149 "widgets_values": [1150 null,1151 null,1152 null1153 ]1154 },1155 {1156 "id": 7,1157 "type": "PatchFlashAttentionKJ",1158 "pos": [1159 1206.778279094607,1160 300.11385803219971161 ],1162 "size": [1163 270,1164 581165 ],1166 "flags": {},1167 "order": 16,1168 "mode": 0,1169 "inputs": [1170 {1171 "name": "model",1172 "type": "MODEL",1173 "link": 511174 }1175 ],1176 "outputs": [1177 {1178 "name": "MODEL",1179 "type": "MODEL",1180 "links": [1181 771182 ]1183 }1184 ],1185 "properties": {1186 "cnr_id": "comfyui-kjnodes",1187 "ver": "1.4.7",1188 "Node name for S&R": "PatchFlashAttentionKJ"1189 },1190 "widgets_values": [1191 false1192 ]1193 },1194 {1195 "id": "vae",1196 "type": "VAELoader",1197 "pos": [1198 808.8573307226322,1199 824.39355760822561200 ],