Source JSON
Post #205087 · 1 source
inkbunny.net · 3780446:5848343 · selected
Downloader metadata · database Download
{
"_format": "download_manifest_v2",
"api_blob_sha512": "25b0d8f412ff9d54e1f27192b0dc60aeaf09d3643aec1ffaa59928266de727d9cb12e0295fea50f8f4c06a2325ace73b84608afa80ee79a886b36863b7bcca59",
"artifacts": [
{
"blob_sha512": "481713575310c0d12f3a8bc49f3269521d0bd580c0ce4d9e18949137dd0c5a1e39d53447bfda0801a472db5a22288b1b7d208af8089ae40117fb812db444e29d",
"path": "/home/rome/Desktop/Dev/img-downloader/export/inkbunny.net/Artists/soundslikethunder/3780446_5848343_soundslikethunder_pb-_temp_ulasu_00001_.json"
},
{
"blob_sha512": "25b0d8f412ff9d54e1f27192b0dc60aeaf09d3643aec1ffaa59928266de727d9cb12e0295fea50f8f4c06a2325ace73b84608afa80ee79a886b36863b7bcca59",
"path": "/home/rome/Desktop/Dev/img-downloader/export/inkbunny.net/Artists/soundslikethunder/3780446_5848343_soundslikethunder_pb-_temp_ulasu_00001_.api.json"
},
{
"blob_sha512": "e1604a10dd54f0a6d1edee34c326cda2a95b21cf513ffc71ae09e54e3f2d1b1fe95b042df49e1de5c35070f30b3e28a87264144b66c1116b875fe06908334618",
"path": "/home/rome/Desktop/Dev/img-downloader/export/inkbunny.net/Artists/soundslikethunder/3780446_5848343_soundslikethunder_pb-_temp_ulasu_00001_.description.json"
},
{
"blob_sha512": "6ad587e46049fd82bd4329af1cf45280ab3d3ff2b51a76dd730fa24bd4362d04d482ed0d149fa8598f2ed399937b29fdeaba9b22e008fa9b0019aeb264d22e85",
"path": "/home/rome/Desktop/Dev/img-downloader/export/inkbunny.net/Artists/soundslikethunder/profile.api.json"
}
],
"sidecar_fallbacks": {
".api.json": {
"comments_count": "1",
"create_datetime": "2025-12-27 12:25:45.904071+00",
"create_datetime_usertime": "27 Dec 2025 13:25 CET",
"deleted": "f",
"description": "ComfyUI/SDXL",
"favorite": "f",
"favorites_count": "23",
"file_name": "5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"files": [
{
"create_datetime": "2025-12-27 12:21:38.972168+00",
"create_datetime_usertime": "27 Dec 2025 13:21 CET",
"deleted": "f",
"file_id": "5848342",
"file_name": "5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"full_file_md5": "fd0ea0539bb7d6113464e0f58861dc52",
"full_size_x": "2432",
"full_size_y": "1664",
"initial_file_md5": "e08697499609f19313c258a903253594",
"large_file_md5": "159b0802b521706bf7b4010890896fa5",
"mimetype": "image/png",
"preview_size_x": "300",
"preview_size_y": "205",
"screen_size_x": "920",
"screen_size_y": "629",
"small_file_md5": "33cb0a35972aa0c262107015f3ce7bff",
"submission_file_order": "0",
"submission_id": "3780446",
"thumb_huge_noncustom_x": "300",
"thumb_huge_noncustom_y": "205",
"thumb_large_noncustom_x": "200",
"thumb_large_noncustom_y": "137",
"thumb_medium_noncustom_x": "120",
"thumb_medium_noncustom_y": "82",
"thumbnail_md5": "c1d2e321c57474acafd5feb9c5583274",
"thumbnail_url_huge_noncustom": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"thumbnail_url_large_noncustom": "https://nl1.ib.metapix.net/thumbnails/large/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"thumbnail_url_medium_noncustom": "https://nl1.ib.metapix.net/thumbnails/medium/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"user_id": "298620"
},
{
"create_datetime": "2025-12-27 12:23:36.625293+00",
"create_datetime_usertime": "27 Dec 2025 13:23 CET",
"deleted": "f",
"file_id": "5848343",
"file_name": "5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"full_file_md5": "17c281cf51c99461fd24ef719d50dbfe",
"full_size_x": null,
"full_size_y": null,
"initial_file_md5": "17c281cf51c99461fd24ef719d50dbfe",
"large_file_md5": "",
"mimetype": "application/json",
"preview_size_x": null,
"preview_size_y": null,
"screen_size_x": null,
"screen_size_y": null,
"small_file_md5": "",
"submission_file_order": "1",
"submission_id": "3780446",
"thumbnail_md5": "",
"user_id": "298620"
}
],
"friends_only": "f",
"guest_block": "t",
"hidden": "f",
"keywords": [
{
"contributed": "f",
"keyword_id": "530560",
"keyword_name": "ai generated",
"submissions_count": "33409"
},
{
"contributed": "f",
"keyword_id": "104180",
"keyword_name": "animal genitalia",
"submissions_count": "13246"
},
{
"contributed": "f",
"keyword_id": "127",
"keyword_name": "cougar",
"submissions_count": "4731"
},
{
"contributed": "f",
"keyword_id": "263",
"keyword_name": "erection",
"submissions_count": "73140"
},
{
"contributed": "f",
"keyword_id": "62",
"keyword_name": "feline",
"submissions_count": "162228"
},
{
"contributed": "f",
"keyword_id": "49948",
"keyword_name": "feline penis",
"submissions_count": "2306"
},
{
"contributed": "f",
"keyword_id": "165",
"keyword_name": "male",
"submissions_count": "1268521"
},
{
"contributed": "f",
"keyword_id": "63",
"keyword_name": "penis",
"submissions_count": "232007"
},
{
"contributed": "f",
"keyword_id": "2492",
"keyword_name": "solo",
"submissions_count": "121169"
}
],
"last_file_update_datetime": "2025-12-27 12:23:36.625293+00",
"last_file_update_datetime_usertime": "27 Dec 2025 13:23 CET",
"latest_file_name": "5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_mimetype": "application/json",
"mimetype": "image/png",
"pagecount": "2",
"pools": [],
"pools_count": 0,
"public": "t",
"rating_id": "2",
"rating_name": "Adult",
"ratings": [
{
"content_tag_id": "4",
"description": "Erotic imagery, sexual activity or arousal",
"name": "Sexual Themes",
"rating_id": "2"
}
],
"scraps": "f",
"submission_id": "3780446",
"submission_type_id": "1",
"thumb_huge_noncustom_x": "300",
"thumb_huge_noncustom_y": "205",
"thumb_large_noncustom_x": "200",
"thumb_large_noncustom_y": "137",
"thumb_medium_noncustom_x": "120",
"thumb_medium_noncustom_y": "82",
"thumbnail_url_huge_noncustom": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"thumbnail_url_large_noncustom": "https://nl1.ib.metapix.net/thumbnails/large/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"thumbnail_url_medium_noncustom": "https://nl1.ib.metapix.net/thumbnails/medium/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"title": "[AI] Cougar guy",
"type_name": "Picture/Pinup",
"user_icon_file_name": "487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_icon_url_large": "https://nl1.ib.metapix.net/usericons/large/487/487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_icon_url_medium": "https://nl1.ib.metapix.net/usericons/medium/487/487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_icon_url_small": "https://nl1.ib.metapix.net/usericons/small/487/487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_id": "298620",
"username": "soundslikethunder",
"views": "271",
"writing": ""
},
".description.json": {
"description": "ComfyUI/SDXL"
}
}
}
.api.json · embedded sidecar fallback Download
{
"comments_count": "1",
"create_datetime": "2025-12-27 12:25:45.904071+00",
"create_datetime_usertime": "27 Dec 2025 13:25 CET",
"deleted": "f",
"description": "ComfyUI/SDXL",
"favorite": "f",
"favorites_count": "23",
"file_name": "5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"files": [
{
"create_datetime": "2025-12-27 12:21:38.972168+00",
"create_datetime_usertime": "27 Dec 2025 13:21 CET",
"deleted": "f",
"file_id": "5848342",
"file_name": "5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.png",
"full_file_md5": "fd0ea0539bb7d6113464e0f58861dc52",
"full_size_x": "2432",
"full_size_y": "1664",
"initial_file_md5": "e08697499609f19313c258a903253594",
"large_file_md5": "159b0802b521706bf7b4010890896fa5",
"mimetype": "image/png",
"preview_size_x": "300",
"preview_size_y": "205",
"screen_size_x": "920",
"screen_size_y": "629",
"small_file_md5": "33cb0a35972aa0c262107015f3ce7bff",
"submission_file_order": "0",
"submission_id": "3780446",
"thumb_huge_noncustom_x": "300",
"thumb_huge_noncustom_y": "205",
"thumb_large_noncustom_x": "200",
"thumb_large_noncustom_y": "137",
"thumb_medium_noncustom_x": "120",
"thumb_medium_noncustom_y": "82",
"thumbnail_md5": "c1d2e321c57474acafd5feb9c5583274",
"thumbnail_url_huge_noncustom": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"thumbnail_url_large_noncustom": "https://nl1.ib.metapix.net/thumbnails/large/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"thumbnail_url_medium_noncustom": "https://nl1.ib.metapix.net/thumbnails/medium/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"user_id": "298620"
},
{
"create_datetime": "2025-12-27 12:23:36.625293+00",
"create_datetime_usertime": "27 Dec 2025 13:23 CET",
"deleted": "f",
"file_id": "5848343",
"file_name": "5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"full_file_md5": "17c281cf51c99461fd24ef719d50dbfe",
"full_size_x": null,
"full_size_y": null,
"initial_file_md5": "17c281cf51c99461fd24ef719d50dbfe",
"large_file_md5": "",
"mimetype": "application/json",
"preview_size_x": null,
"preview_size_y": null,
"screen_size_x": null,
"screen_size_y": null,
"small_file_md5": "",
"submission_file_order": "1",
"submission_id": "3780446",
"thumbnail_md5": "",
"user_id": "298620"
}
],
"friends_only": "f",
"guest_block": "t",
"hidden": "f",
"keywords": [
{
"contributed": "f",
"keyword_id": "530560",
"keyword_name": "ai generated",
"submissions_count": "33409"
},
{
"contributed": "f",
"keyword_id": "104180",
"keyword_name": "animal genitalia",
"submissions_count": "13246"
},
{
"contributed": "f",
"keyword_id": "127",
"keyword_name": "cougar",
"submissions_count": "4731"
},
{
"contributed": "f",
"keyword_id": "263",
"keyword_name": "erection",
"submissions_count": "73140"
},
{
"contributed": "f",
"keyword_id": "62",
"keyword_name": "feline",
"submissions_count": "162228"
},
{
"contributed": "f",
"keyword_id": "49948",
"keyword_name": "feline penis",
"submissions_count": "2306"
},
{
"contributed": "f",
"keyword_id": "165",
"keyword_name": "male",
"submissions_count": "1268521"
},
{
"contributed": "f",
"keyword_id": "63",
"keyword_name": "penis",
"submissions_count": "232007"
},
{
"contributed": "f",
"keyword_id": "2492",
"keyword_name": "solo",
"submissions_count": "121169"
}
],
"last_file_update_datetime": "2025-12-27 12:23:36.625293+00",
"last_file_update_datetime_usertime": "27 Dec 2025 13:23 CET",
"latest_file_name": "5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_file_url_full": "https://nl1.ib.metapix.net/files/full/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_file_url_preview": "https://nl1.ib.metapix.net/files/preview/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_file_url_screen": "https://nl1.ib.metapix.net/files/screen/5848/5848343_soundslikethunder_pb-_temp_ulasu_00001_.json",
"latest_mimetype": "application/json",
"mimetype": "image/png",
"pagecount": "2",
"pools": [],
"pools_count": 0,
"public": "t",
"rating_id": "2",
"rating_name": "Adult",
"ratings": [
{
"content_tag_id": "4",
"description": "Erotic imagery, sexual activity or arousal",
"name": "Sexual Themes",
"rating_id": "2"
}
],
"scraps": "f",
"submission_id": "3780446",
"submission_type_id": "1",
"thumb_huge_noncustom_x": "300",
"thumb_huge_noncustom_y": "205",
"thumb_large_noncustom_x": "200",
"thumb_large_noncustom_y": "137",
"thumb_medium_noncustom_x": "120",
"thumb_medium_noncustom_y": "82",
"thumbnail_url_huge_noncustom": "https://nl1.ib.metapix.net/files/preview/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001_.jpg",
"thumbnail_url_large_noncustom": "https://nl1.ib.metapix.net/thumbnails/large/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"thumbnail_url_medium_noncustom": "https://nl1.ib.metapix.net/thumbnails/medium/5848/5848342_soundslikethunder_pb-_temp_ulasu_00001__noncustom.jpg",
"title": "[AI] Cougar guy",
"type_name": "Picture/Pinup",
"user_icon_file_name": "487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_icon_url_large": "https://nl1.ib.metapix.net/usericons/large/487/487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_icon_url_medium": "https://nl1.ib.metapix.net/usericons/medium/487/487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_icon_url_small": "https://nl1.ib.metapix.net/usericons/small/487/487750_soundslikethunder_comfyui_temp_loizm_00001_.png",
"user_id": "298620",
"username": "soundslikethunder",
"views": "271",
"writing": ""
}
.description.json · embedded sidecar fallback Download
{
"description": "ComfyUI/SDXL"
}
3780446_5848343_soundslikethunder_pb-_temp_ulasu_00001_.json · CAS artifact Download
{
"config": {},
"extra": {
"VHS_KeepIntermediate": true,
"VHS_MetadataImage": true,
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"ds": {
"offset": [
-2826.526174388923,
-584.0386953793623
],
"scale": 1.1167815779424766
},
"frontendVersion": "1.28.8",
"workflowRendererVersion": "LG"
},
"groups": [
{
"bounding": [
-50,
-1360,
1550,
430
],
"color": "#3f789e",
"flags": {},
"font_size": 24,
"id": 1,
"title": "LLM Logic"
}
],
"id": "d4ffefa1-7345-44f7-9f99-1c73fe330091",
"last_link_id": 2787,
"last_node_id": 1301,
"links": [
[
11,
7,
0,
8,
0,
"CONDITIONING"
],
[
12,
6,
0,
8,
1,
"CONDITIONING"
],
[
109,
33,
0,
78,
0,
"CONDITIONING"
],
[
110,
31,
0,
78,
1,
"CONDITIONING"
],
[
176,
122,
0,
141,
0,
"CLIP"
],
[
177,
122,
0,
140,
0,
"CLIP"
],
[
191,
127,
0,
143,
1,
"STRING"
],
[
215,
48,
0,
157,
2,
"CLIP"
],
[
218,
157,
1,
122,
0,
"*"
],
[
234,
164,
0,
127,
2,
"STRING"
],
[
253,
157,
2,
170,
3,
"string"
],
[
254,
170,
0,
161,
3,
"STRING"
],
[
263,
163,
2,
174,
3,
"string"
],
[
264,
174,
0,
164,
3,
"STRING"
],
[
339,
163,
1,
207,
0,
"*"
],
[
341,
207,
0,
143,
0,
"CLIP"
],
[
342,
207,
0,
142,
0,
"CLIP"
],
[
789,
410,
0,
409,
0,
"IMAGE"
],
[
795,
423,
0,
139,
4,
"INT"
],
[
796,
132,
0,
424,
0,
"*"
],
[
798,
428,
0,
422,
0,
"INT"
],
[
875,
464,
0,
325,
0,
"IMAGE"
],
[
878,
466,
0,
324,
0,
"IMAGE"
],
[
908,
482,
0,
479,
3,
"IMAGE"
],
[
910,
479,
0,
480,
1,
"CONDITIONING"
],
[
911,
479,
1,
480,
2,
"CONDITIONING"
],
[
912,
479,
2,
480,
3,
"LATENT"
],
[
972,
499,
0,
497,
0,
"IMAGE"
],
[
975,
501,
0,
502,
0,
"*"
],
[
979,
505,
0,
5,
1,
"VAE"
],
[
987,
480,
0,
509,
0,
"*"
],
[
988,
510,
0,
499,
0,
"LATENT"
],
[
1027,
482,
1,
479,
4,
"MASK"
],
[
1089,
559,
4,
466,
2,
"INT"
],
[
1090,
559,
4,
464,
2,
"INT"
],
[
1309,
207,
0,
657,
0,
"*"
],
[
1310,
657,
0,
492,
0,
"CLIP"
],
[
1400,
679,
6,
694,
0,
"*"
],
[
1422,
482,
2,
524,
0,
"IMAGE"
],
[
1423,
482,
2,
497,
1,
"IMAGE"
],
[
1424,
482,
3,
497,
2,
"CROP_REGION"
],
[
1427,
506,
0,
702,
0,
"*"
],
[
1428,
702,
0,
479,
2,
"VAE"
],
[
1430,
702,
0,
9,
1,
"VAE"
],
[
1431,
506,
0,
499,
1,
"VAE"
],
[
1492,
128,
0,
666,
0,
"*"
],
[
1540,
50,
0,
8,
2,
"CONTROL_NET"
],
[
1541,
50,
0,
78,
2,
"CONTROL_NET"
],
[
1857,
887,
0,
884,
0,
"IMAGE"
],
[
1894,
906,
0,
887,
0,
"IMAGE"
],
[
1898,
908,
0,
3,
0,
"MASK"
],
[
1904,
896,
0,
907,
0,
"MASK"
],
[
1905,
896,
0,
909,
0,
"MASK"
],
[
1946,
930,
0,
931,
0,
"*"
],
[
1957,
559,
4,
930,
2,
"INT"
],
[
1961,
69,
0,
73,
0,
"MODEL"
],
[
2026,
504,
0,
967,
1,
"VAE"
],
[
2044,
964,
0,
970,
6,
"FLOAT"
],
[
2046,
961,
0,
970,
5,
"INT"
],
[
2048,
965,
0,
970,
7,
"COMBO"
],
[
2051,
971,
0,
972,
0,
"MODEL"
],
[
2052,
972,
0,
970,
0,
"MODEL"
],
[
2070,
967,
0,
973,
0,
"*"
],
[
2077,
965,
0,
139,
7,
"COMBO"
],
[
2078,
961,
0,
139,
5,
"INT"
],
[
2079,
964,
0,
139,
6,
"FLOAT"
],
[
2080,
140,
0,
970,
2,
"CONDITIONING"
],
[
2081,
141,
0,
970,
1,
"CONDITIONING"
],
[
2091,
481,
0,
40,
0,
"MODEL"
],
[
2092,
40,
0,
128,
0,
"MODEL"
],
[
2120,
880,
0,
990,
0,
"*"
],
[
2152,
3,
0,
6,
1,
"MASK"
],
[
2153,
3,
0,
7,
1,
"MASK"
],
[
2156,
143,
0,
7,
0,
"CONDITIONING"
],
[
2157,
143,
0,
33,
0,
"CONDITIONING"
],
[
2158,
142,
0,
6,
0,
"CONDITIONING"
],
[
2159,
142,
0,
31,
0,
"CONDITIONING"
],
[
2160,
908,
0,
995,
0,
"*"
],
[
2161,
995,
0,
33,
1,
"MASK"
],
[
2162,
995,
0,
31,
1,
"MASK"
],
[
2167,
325,
0,
997,
0,
"*"
],
[
2168,
997,
0,
78,
3,
"IMAGE"
],
[
2169,
324,
0,
998,
0,
"*"
],
[
2170,
998,
0,
8,
3,
"IMAGE"
],
[
2171,
73,
0,
139,
0,
"MODEL"
],
[
2172,
1000,
0,
482,
4,
"BOOLEAN"
],
[
2208,
143,
0,
1009,
0,
"*"
],
[
2210,
142,
0,
1010,
0,
"*"
],
[
2228,
482,
4,
1008,
3,
"IMAGE"
],
[
2229,
1008,
0,
479,
0,
"CONDITIONING"
],
[
2230,
1008,
1,
479,
1,
"CONDITIONING"
],
[
2233,
1019,
0,
1008,
2,
"CONTROL_NET"
],
[
2234,
1010,
0,
1020,
0,
"*"
],
[
2235,
1020,
0,
1008,
1,
"CONDITIONING"
],
[
2238,
1023,
0,
1024,
0,
"*"
],
[
2245,
1026,
0,
967,
0,
"LATENT"
],
[
2246,
970,
0,
1026,
0,
"LATENT"
],
[
2247,
139,
0,
1026,
1,
"LATENT"
],
[
2248,
1025,
0,
1026,
2,
"BOOLEAN"
],
[
2250,
139,
0,
977,
0,
"LATENT"
],
[
2255,
1028,
0,
970,
8,
"COMBO"
],
[
2256,
1028,
0,
139,
8,
"COMBO"
],
[
2259,
1030,
0,
781,
0,
"UPSCALE_MODEL"
],
[
2275,
1042,
0,
1041,
0,
"IMAGE"
],
[
2278,
884,
0,
1044,
0,
"IMAGE"
],
[
2284,
666,
0,
480,
0,
"MODEL"
],
[
2293,
141,
0,
139,
1,
"CONDITIONING"
],
[
2294,
140,
0,
139,
2,
"CONDITIONING"
],
[
2295,
425,
0,
139,
3,
"LATENT"
],
[
2303,
1049,
0,
679,
6,
"*"
],
[
2307,
1056,
0,
127,
3,
"STRING"
],
[
2309,
105,
0,
1057,
0,
"*"
],
[
2310,
1057,
0,
1049,
7,
"STRING"
],
[
2334,
681,
0,
1081,
0,
"IMAGE"
],
[
2348,
1086,
0,
1081,
1,
"IMAGE"
],
[
2357,
1086,
0,
1099,
0,
"*"
],
[
2360,
1102,
0,
1100,
3,
"STRING"
],
[
2362,
1049,
0,
1103,
3,
"STRING"
],
[
2369,
1109,
0,
1099,
1,
"BOOLEAN"
],
[
2370,
1099,
0,
1110,
0,
"IMAGE"
],
[
2371,
1110,
0,
1049,
1,
"IMAGE"
],
[
2373,
1103,
0,
1108,
4,
"STRING"
],
[
2374,
1100,
0,
1108,
2,
"STRING"
],
[
2376,
1100,
0,
1112,
0,
"*"
],
[
2377,
1112,
0,
1049,
3,
"STRING"
],
[
2379,
1114,
0,
1113,
2,
"STRING"
],
[
2380,
1100,
0,
1113,
4,
"STRING"
],
[
2381,
1113,
0,
1112,
1,
"*"
],
[
2383,
681,
0,
1049,
0,
"IMAGE"
],
[
2386,
1118,
0,
1119,
0,
"*"
],
[
2387,
1120,
0,
1057,
1,
"BOOLEAN"
],
[
2388,
1121,
0,
1122,
0,
"*"
],
[
2392,
679,
7,
692,
0,
"STRING"
],
[
2396,
1127,
0,
1049,
9,
"STRING"
],
[
2398,
1102,
0,
1128,
6,
"*"
],
[
2400,
1128,
6,
1131,
0,
"*"
],
[
2401,
1132,
0,
1081,
6,
"*"
],
[
2402,
1132,
0,
1109,
0,
"BOOLEAN"
],
[
2403,
1132,
0,
1112,
2,
"BOOLEAN"
],
[
2404,
1123,
0,
1132,
1,
"BOOLEAN"
],
[
2405,
1120,
0,
1132,
0,
"BOOLEAN"
],
[
2438,
679,
10,
1157,
0,
"*"
],
[
2444,
1108,
0,
1160,
6,
"*"
],
[
2446,
731,
0,
161,
4,
"STRING"
],
[
2447,
161,
0,
141,
1,
"STRING"
],
[
2448,
1165,
0,
69,
0,
"MODEL"
],
[
2449,
1165,
0,
971,
0,
"MODEL"
],
[
2450,
157,
0,
1165,
0,
"MODEL"
],
[
2451,
1166,
0,
481,
0,
"MODEL"
],
[
2452,
163,
0,
1166,
0,
"MODEL"
],
[
2453,
1167,
0,
1055,
0,
"STRING"
],
[
2454,
1168,
0,
1128,
10,
"STRING"
],
[
2455,
1169,
0,
1160,
10,
"STRING"
],
[
2456,
1170,
0,
679,
10,
"STRING"
],
[
2457,
1171,
0,
1081,
10,
"STRING"
],
[
2462,
1173,
0,
1008,
0,
"CONDITIONING"
],
[
2463,
916,
0,
1173,
2,
"BOOLEAN"
],
[
2464,
492,
0,
1173,
0,
"CONDITIONING"
],
[
2465,
1009,
0,
1173,
1,
"CONDITIONING"
],
[
2466,
1174,
0,
164,
2,
"STRING"
],
[
2468,
1176,
0,
161,
2,
"STRING"
],
[
2469,
1177,
0,
140,
1,
"STRING"
],
[
2470,
170,
0,
1178,
0,
"*"
],
[
2471,
1156,
0,
1179,
0,
"*"
],
[
2472,
695,
0,
1180,
0,
"*"
],
[
2473,
693,
0,
1181,
0,
"*"
],
[
2474,
1184,
0,
127,
4,
"STRING"
],
[
2475,
1185,
0,
492,
1,
"STRING"
],
[
2480,
1197,
0,
900,
0,
"IMAGE"
],
[
2483,
932,
0,
1197,
0,
"IMAGE"
],
[
2487,
1198,
0,
1199,
0,
"MASK"
],
[
2488,
884,
1,
1199,
1,
"MASK"
],
[
2489,
1199,
0,
897,
0,
"MASK"
],
[
2490,
897,
0,
1200,
0,
"MASK"
],
[
2491,
1044,
1,
1200,
1,
"MASK"
],
[
2492,
1200,
0,
896,
0,
"MASK"
],
[
2493,
8,
0,
1201,
0,
"CONDITIONING"
],
[
2494,
78,
0,
1201,
1,
"CONDITIONING"
],
[
2497,
8,
1,
1202,
0,
"CONDITIONING"
],
[
2498,
78,
1,
1202,
1,
"CONDITIONING"
],
[
2570,
302,
0,
781,
1,
"IMAGE"
],
[
2580,
781,
0,
1215,
0,
"IMAGE"
],
[
2581,
1215,
0,
784,
0,
"IMAGE"
],
[
2585,
1172,
0,
302,
0,
"IMAGE"
],
[
2586,
915,
0,
1216,
0,
"*"
],
[
2587,
1216,
0,
1172,
2,
"BOOLEAN"
],
[
2588,
497,
0,
1172,
0,
"IMAGE"
],
[
2589,
9,
0,
1172,
1,
"IMAGE"
],
[
2592,
1043,
1,
482,
1,
"MASK"
],
[
2593,
1043,
0,
482,
0,
"IMAGE"
],
[
2622,
482,
4,
1223,
0,
"IMAGE"
],
[
2644,
1233,
0,
482,
2,
"IMAGE"
],
[
2646,
1011,
0,
1233,
0,
"IMAGE"
],
[
2647,
1234,
0,
466,
0,
"IMAGE"
],
[
2648,
1234,
0,
464,
0,
"IMAGE"
],
[
2649,
1234,
0,
559,
0,
"IMAGE"
],
[
2650,
1234,
0,
906,
0,
"*"
],
[
2651,
1234,
0,
930,
0,
"IMAGE"
],
[
2658,
978,
0,
1238,
0,
"LATENT"
],
[
2659,
1239,
0,
1238,
1,
"VAE"
],
[
2662,
1241,
0,
970,
3,
"LATENT"
],
[
2663,
1239,
0,
1241,
1,
"VAE"
],
[
2665,
1242,
0,
1044,
2,
"BOOLEAN"
],
[
2666,
1175,
0,
559,
10,
"STRING"
],
[
2668,
1246,
0,
1234,
0,
"*"
],
[
2669,
989,
0,
1246,
1,
"BOOLEAN"
],
[
2670,
1234,
0,
1247,
0,
"IMAGE"
],
[
2671,
1247,
1,
1197,
3,
"INT"
],
[
2672,
1247,
2,
1197,
2,
"INT"
],
[
2675,
82,
1,
919,
0,
"SEGM_DETECTOR"
],
[
2680,
199,
0,
163,
2,
"CLIP"
],
[
2684,
1252,
0,
9,
0,
"LATENT"
],
[
2688,
5,
0,
1252,
3,
"LATENT"
],
[
2689,
1201,
0,
1252,
1,
"CONDITIONING"
],
[
2690,
1202,
0,
1252,
2,
"CONDITIONING"
],
[
2691,
128,
0,
1252,
0,
"MODEL"
],
[
2698,
1256,
0,
1255,
0,
"MODEL"
],
[
2701,
1257,
0,
1255,
1,
"CLIP"
],
[
2725,
1266,
0,
157,
0,
"MODEL"
],
[
2727,
1269,
1,
1268,
0,
"CLIP"
],
[
2728,
1267,
1,
1268,
1,
"CLIP"
],
[
2729,
1269,
0,
1270,
0,
"MODEL"
],
[
2730,
1267,
0,
1270,
1,
"MODEL"
],
[
2739,
375,
0,
1266,
0,
"MODEL"
],
[
2740,
375,
1,
48,
0,
"CLIP"
],
[
2741,
1250,
0,
163,
0,
"MODEL"
],
[
2742,
1250,
1,
199,
0,
"CLIP"
],
[
2745,
1274,
1,
1275,
0,
"SEGM_DETECTOR"
],
[
2754,
1278,
0,
887,
1,
"MASK"
],
[
2759,
919,
0,
1283,
0,
"MASK"
],
[
2761,
1283,
0,
1198,
1,
"MASK"
],
[
2762,
1278,
0,
1198,
0,
"MASK"
],
[
2766,
1275,
0,
1278,
1,
"MASK"
],
[
2767,
900,
0,
1278,
0,
"MASK"
],
[
2768,
1289,
0,
1288,
10,
"STRING"
],
[
2770,
1291,
0,
1288,
6,
"*"
],
[
2771,
1238,
0,
1288,
0,
"IMAGE"
],
[
2772,
1288,
0,
1241,
0,
"IMAGE"
],
[
2773,
1292,
0,
1294,
6,
"*"
],
[
2774,
1293,
0,
1294,
10,
"STRING"
],
[
2775,
906,
0,
1294,
0,
"IMAGE"
],
[
2776,
1294,
0,
5,
0,
"IMAGE"
],
[
2777,
1296,
0,
1295,
10,
"STRING"
],
[
2780,
1295,
6,
884,
3,
"COMBO"
],
[
2781,
1295,
6,
1044,
3,
"COMBO"
],
[
2782,
973,
0,
1295,
0,
"IMAGE"
],
[
2783,
1234,
0,
919,
1,
"IMAGE"
],
[
2784,
1234,
0,
1275,
1,
"IMAGE"
],
[
2786,
1299,
0,
884,
2,
"BOOLEAN"
],
[
2787,
1300,
0,
1246,
0,
"IMAGE"
]
],
"nodes": [
{
"flags": {
"collapsed": true
},
"id": 695,
"inputs": [],
"mode": 0,
"order": 0,
"outputs": [
{
"links": [
2472
],
"name": "*",
"type": "*"
}
],
"pos": [
-1650,
-1250
],
"properties": {},
"size": [
210,
60
],
"title": "Get_suggestion",
"type": "GetNode",
"widgets_values": [
"suggestion"
]
},
{
"bgcolor": "#29699c",
"color": "#1b4669",
"flags": {
"collapsed": true
},
"id": 422,
"inputs": [
{
"link": 798,
"name": "INT",
"type": "INT"
}
],
"mode": 0,
"order": 109,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1480,
-980
],
"properties": {
"previousName": "seed"
},
"size": [
210,
60
],
"title": "Set_seed",
"type": "SetNode",
"widgets_values": [
"seed"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 424,
"inputs": [
{
"link": 796,
"name": "LATENT",
"type": "LATENT"
}
],
"mode": 0,
"order": 103,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1750,
-1030
],
"properties": {
"previousName": "latent"
},
"size": [
210,
60
],
"title": "Set_latent",
"type": "SetNode",
"widgets_values": [
"latent"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 143,
"inputs": [
{
"link": 341,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 191,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"link": null,
"localized_name": "parser",
"name": "parser",
"type": "COMBO",
"widget": {
"name": "parser"
}
},
{
"link": null,
"localized_name": "mean_normalization",
"name": "mean_normalization",
"type": "BOOLEAN",
"widget": {
"name": "mean_normalization"
}
},
{
"link": null,
"localized_name": "multi_conditioning",
"name": "multi_conditioning",
"type": "BOOLEAN",
"widget": {
"name": "multi_conditioning"
}
},
{
"link": null,
"localized_name": "use_old_emphasis_implementation",
"name": "use_old_emphasis_implementation",
"type": "BOOLEAN",
"widget": {
"name": "use_old_emphasis_implementation"
}
},
{
"link": null,
"localized_name": "with_SDXL",
"name": "with_SDXL",
"type": "BOOLEAN",
"widget": {
"name": "with_SDXL"
}
},
{
"link": null,
"localized_name": "ascore",
"name": "ascore",
"type": "FLOAT",
"widget": {
"name": "ascore"
}
},
{
"link": null,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": null,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "crop_w",
"name": "crop_w",
"type": "INT",
"widget": {
"name": "crop_w"
}
},
{
"link": null,
"localized_name": "crop_h",
"name": "crop_h",
"type": "INT",
"widget": {
"name": "crop_h"
}
},
{
"link": null,
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
}
},
{
"link": null,
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
}
},
{
"link": null,
"localized_name": "text_g",
"name": "text_g",
"type": "STRING",
"widget": {
"name": "text_g"
}
},
{
"link": null,
"localized_name": "text_l",
"name": "text_l",
"type": "STRING",
"widget": {
"name": "text_l"
}
},
{
"link": null,
"localized_name": "smZ_steps",
"name": "smZ_steps",
"shape": 7,
"type": "INT",
"widget": {
"name": "smZ_steps"
}
}
],
"mode": 0,
"order": 178,
"outputs": [
{
"links": [
2156,
2157,
2208
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1110,
390
],
"properties": {
"Node name for S&R": "smZ CLIPTextEncode",
"cnr_id": "comfyui_smznodes",
"ver": "1.2.12"
},
"size": [
371.20001220703125,
168.39999389648438
],
"type": "smZ CLIPTextEncode",
"widgets_values": [
"",
"A1111",
false,
true,
false,
false,
6,
1024,
1024,
0,
0,
1024,
1024,
"",
"",
1
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 141,
"inputs": [
{
"link": 176,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 2447,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"link": null,
"localized_name": "parser",
"name": "parser",
"type": "COMBO",
"widget": {
"name": "parser"
}
},
{
"link": null,
"localized_name": "mean_normalization",
"name": "mean_normalization",
"type": "BOOLEAN",
"widget": {
"name": "mean_normalization"
}
},
{
"link": null,
"localized_name": "multi_conditioning",
"name": "multi_conditioning",
"type": "BOOLEAN",
"widget": {
"name": "multi_conditioning"
}
},
{
"link": null,
"localized_name": "use_old_emphasis_implementation",
"name": "use_old_emphasis_implementation",
"type": "BOOLEAN",
"widget": {
"name": "use_old_emphasis_implementation"
}
},
{
"link": null,
"localized_name": "with_SDXL",
"name": "with_SDXL",
"type": "BOOLEAN",
"widget": {
"name": "with_SDXL"
}
},
{
"link": null,
"localized_name": "ascore",
"name": "ascore",
"type": "FLOAT",
"widget": {
"name": "ascore"
}
},
{
"link": null,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": null,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "crop_w",
"name": "crop_w",
"type": "INT",
"widget": {
"name": "crop_w"
}
},
{
"link": null,
"localized_name": "crop_h",
"name": "crop_h",
"type": "INT",
"widget": {
"name": "crop_h"
}
},
{
"link": null,
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
}
},
{
"link": null,
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
}
},
{
"link": null,
"localized_name": "text_g",
"name": "text_g",
"type": "STRING",
"widget": {
"name": "text_g"
}
},
{
"link": null,
"localized_name": "text_l",
"name": "text_l",
"type": "STRING",
"widget": {
"name": "text_l"
}
},
{
"link": null,
"localized_name": "smZ_steps",
"name": "smZ_steps",
"shape": 7,
"type": "INT",
"widget": {
"name": "smZ_steps"
}
}
],
"mode": 0,
"order": 168,
"outputs": [
{
"links": [
2081,
2293
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
-710,
-540
],
"properties": {
"Node name for S&R": "smZ CLIPTextEncode",
"cnr_id": "comfyui_smznodes",
"ver": "1.2.12"
},
"size": [
371.20001220703125,
168.39999389648438
],
"type": "smZ CLIPTextEncode",
"widgets_values": [
"",
"A1111",
false,
true,
false,
false,
6,
1024,
1024,
0,
0,
1024,
1024,
"",
"",
1
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 140,
"inputs": [
{
"link": 177,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 2469,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"link": null,
"localized_name": "parser",
"name": "parser",
"type": "COMBO",
"widget": {
"name": "parser"
}
},
{
"link": null,
"localized_name": "mean_normalization",
"name": "mean_normalization",
"type": "BOOLEAN",
"widget": {
"name": "mean_normalization"
}
},
{
"link": null,
"localized_name": "multi_conditioning",
"name": "multi_conditioning",
"type": "BOOLEAN",
"widget": {
"name": "multi_conditioning"
}
},
{
"link": null,
"localized_name": "use_old_emphasis_implementation",
"name": "use_old_emphasis_implementation",
"type": "BOOLEAN",
"widget": {
"name": "use_old_emphasis_implementation"
}
},
{
"link": null,
"localized_name": "with_SDXL",
"name": "with_SDXL",
"type": "BOOLEAN",
"widget": {
"name": "with_SDXL"
}
},
{
"link": null,
"localized_name": "ascore",
"name": "ascore",
"type": "FLOAT",
"widget": {
"name": "ascore"
}
},
{
"link": null,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": null,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "crop_w",
"name": "crop_w",
"type": "INT",
"widget": {
"name": "crop_w"
}
},
{
"link": null,
"localized_name": "crop_h",
"name": "crop_h",
"type": "INT",
"widget": {
"name": "crop_h"
}
},
{
"link": null,
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
}
},
{
"link": null,
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
}
},
{
"link": null,
"localized_name": "text_g",
"name": "text_g",
"type": "STRING",
"widget": {
"name": "text_g"
}
},
{
"link": null,
"localized_name": "text_l",
"name": "text_l",
"type": "STRING",
"widget": {
"name": "text_l"
}
},
{
"link": null,
"localized_name": "smZ_steps",
"name": "smZ_steps",
"shape": 7,
"type": "INT",
"widget": {
"name": "smZ_steps"
}
}
],
"mode": 0,
"order": 150,
"outputs": [
{
"links": [
2080,
2294
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
-710,
-480
],
"properties": {
"Node name for S&R": "smZ CLIPTextEncode",
"cnr_id": "comfyui_smznodes",
"ver": "1.2.12"
},
"size": [
212.05859375,
160
],
"type": "smZ CLIPTextEncode",
"widgets_values": [
"(worst quality, bad quality:1.2), sketch",
"A1111",
false,
true,
false,
false,
6,
1024,
1024,
0,
0,
1024,
1024,
"",
"",
1
]
},
{
"bgcolor": "#29699c",
"color": "#1b4669",
"flags": {
"collapsed": true
},
"id": 423,
"inputs": [],
"mode": 0,
"order": 1,
"outputs": [
{
"links": [
795
],
"name": "INT",
"type": "INT"
}
],
"pos": [
-660,
-400
],
"properties": {},
"size": [
210,
60
],
"title": "Get_seed",
"type": "GetNode",
"widgets_values": [
"seed"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 48,
"inputs": [
{
"link": 2740,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": null,
"localized_name": "stop_at_clip_layer",
"name": "stop_at_clip_layer",
"type": "INT",
"widget": {
"name": "stop_at_clip_layer"
}
}
],
"mode": 0,
"order": 111,
"outputs": [
{
"links": [
202,
215
],
"localized_name": "CLIP",
"name": "CLIP",
"slot_index": 0,
"type": "CLIP"
}
],
"pos": [
-2030,
-550
],
"properties": {
"Node name for S&R": "CLIPSetLastLayer",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
58
],
"type": "CLIPSetLastLayer",
"widgets_values": [
-2
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 481,
"inputs": [
{
"link": 2451,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "strength"
}
}
],
"mode": 0,
"order": 144,
"outputs": [
{
"links": [
2091
],
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
580,
430
],
"properties": {
"Node name for S&R": "DifferentialDiffusion",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
210,
34
],
"type": "DifferentialDiffusion",
"widgets_values": [
1
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 50,
"inputs": [
{
"link": null,
"localized_name": "control_net_name",
"name": "control_net_name",
"type": "COMBO",
"widget": {
"name": "control_net_name"
}
}
],
"mode": 0,
"order": 2,
"outputs": [
{
"links": [
1540,
1541
],
"localized_name": "CONTROL_NET",
"name": "CONTROL_NET",
"slot_index": 0,
"type": "CONTROL_NET"
}
],
"pos": [
1300,
200
],
"properties": {
"Node name for S&R": "ControlNetLoader",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
330,
60
],
"type": "ControlNetLoader",
"widgets_values": [
"xinsircontrolnet-union-sdxl-10_promax.safetensors"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 3,
"inputs": [
{
"link": 1898,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 87,
"outputs": [
{
"links": [
2152,
2153
],
"localized_name": "MASK",
"name": "MASK",
"slot_index": 0,
"type": "MASK"
}
],
"pos": [
1190,
260
],
"properties": {
"Node name for S&R": "InvertMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
26
],
"title": "Invert",
"type": "InvertMask",
"widgets_values": []
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 931,
"inputs": [
{
"link": 1946,
"name": "IMAGE",
"type": "IMAGE"
}
],
"mode": 0,
"order": 171,
"outputs": [
{
"links": [],
"name": "*",
"type": "*"
}
],
"pos": [
1040,
260
],
"properties": {
"previousName": "lineart"
},
"size": [
210,
60
],
"title": "Set_lineart",
"type": "SetNode",
"widgets_values": [
"lineart"
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 6,
"inputs": [
{
"link": 2158,
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2152,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
}
},
{
"link": null,
"localized_name": "set_cond_area",
"name": "set_cond_area",
"type": "COMBO",
"widget": {
"name": "set_cond_area"
}
}
],
"mode": 0,
"order": 161,
"outputs": [
{
"links": [
12
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1370,
310
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 7,
"inputs": [
{
"link": 2156,
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2153,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
}
},
{
"link": null,
"localized_name": "set_cond_area",
"name": "set_cond_area",
"type": "COMBO",
"widget": {
"name": "set_cond_area"
}
}
],
"mode": 0,
"order": 189,
"outputs": [
{
"links": [
11
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1370,
260
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"bgcolor": "#1f401b",
"color": "#1c5715",
"flags": {
"collapsed": true
},
"id": 908,
"inputs": [],
"mode": 0,
"order": 3,
"outputs": [
{
"links": [
1898,
2160
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1040,
310
],
"properties": {},
"size": [
210,
60
],
"title": "Get_Mask",
"type": "GetNode",
"widgets_values": [
"Mask"
]
},
{
"flags": {},
"id": 995,
"inputs": [
{
"link": 2160,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 88,
"outputs": [
{
"links": [
2161,
2162
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1210,
280
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 33,
"inputs": [
{
"link": 2157,
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2161,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
}
},
{
"link": null,
"localized_name": "set_cond_area",
"name": "set_cond_area",
"type": "COMBO",
"widget": {
"name": "set_cond_area"
}
}
],
"mode": 0,
"order": 190,
"outputs": [
{
"links": [
109
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1370,
390
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 31,
"inputs": [
{
"link": 2159,
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2162,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
}
},
{
"link": null,
"localized_name": "set_cond_area",
"name": "set_cond_area",
"type": "COMBO",
"widget": {
"name": "set_cond_area"
}
}
],
"mode": 0,
"order": 162,
"outputs": [
{
"links": [
110
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1370,
450
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"flags": {},
"id": 997,
"inputs": [
{
"link": 2167,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 182,
"outputs": [
{
"links": [
2168
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
1398.056396484375,
501.2684631347656
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
82,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1009,
"inputs": [
{
"link": 2208,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 191,
"outputs": [
{
"links": [
2465
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1340,
550
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
140.8,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1020,
"inputs": [
{
"link": 2234,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 177,
"outputs": [
{
"links": [
2235
],
"name": "",
"type": "CONDITIONING"
}
],
"pos": [
2310,
590
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1010,
"inputs": [
{
"link": 2210,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 163,
"outputs": [
{
"links": [
2234
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1340,
590
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
140.8,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 657,
"inputs": [
{
"link": 1309,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 146,
"outputs": [
{
"links": [
1310
],
"name": "CLIP",
"type": "CLIP"
}
],
"pos": [
1050,
930
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 492,
"inputs": [
{
"link": 1310,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 2475,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"link": null,
"localized_name": "parser",
"name": "parser",
"type": "COMBO",
"widget": {
"name": "parser"
}
},
{
"link": null,
"localized_name": "mean_normalization",
"name": "mean_normalization",
"type": "BOOLEAN",
"widget": {
"name": "mean_normalization"
}
},
{
"link": null,
"localized_name": "multi_conditioning",
"name": "multi_conditioning",
"type": "BOOLEAN",
"widget": {
"name": "multi_conditioning"
}
},
{
"link": null,
"localized_name": "use_old_emphasis_implementation",
"name": "use_old_emphasis_implementation",
"type": "BOOLEAN",
"widget": {
"name": "use_old_emphasis_implementation"
}
},
{
"link": null,
"localized_name": "with_SDXL",
"name": "with_SDXL",
"type": "BOOLEAN",
"widget": {
"name": "with_SDXL"
}
},
{
"link": null,
"localized_name": "ascore",
"name": "ascore",
"type": "FLOAT",
"widget": {
"name": "ascore"
}
},
{
"link": null,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": null,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "crop_w",
"name": "crop_w",
"type": "INT",
"widget": {
"name": "crop_w"
}
},
{
"link": null,
"localized_name": "crop_h",
"name": "crop_h",
"type": "INT",
"widget": {
"name": "crop_h"
}
},
{
"link": null,
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
}
},
{
"link": null,
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
}
},
{
"link": null,
"localized_name": "text_g",
"name": "text_g",
"type": "STRING",
"widget": {
"name": "text_g"
}
},
{
"link": null,
"localized_name": "text_l",
"name": "text_l",
"type": "STRING",
"widget": {
"name": "text_l"
}
},
{
"link": null,
"localized_name": "smZ_steps",
"name": "smZ_steps",
"shape": 7,
"type": "INT",
"widget": {
"name": "smZ_steps"
}
}
],
"mode": 0,
"order": 164,
"outputs": [
{
"links": [
2464
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1700,
960
],
"properties": {
"Node name for S&R": "smZ CLIPTextEncode",
"cnr_id": "comfyui_smznodes",
"ver": "1.2.12"
},
"size": [
371.20001220703125,
168.39999389648438
],
"type": "smZ CLIPTextEncode",
"widgets_values": [
"",
"A1111",
false,
true,
false,
false,
6,
1024,
1024,
0,
0,
1024,
1024,
"",
"",
1
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 207,
"inputs": [
{
"link": 339,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 133,
"outputs": [
{
"links": [
341,
342,
1309
],
"name": "CLIP",
"type": "CLIP"
}
],
"pos": [
900,
420
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"pinned": true
},
"id": 480,
"inputs": [
{
"link": 2284,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": 910,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 911,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 912,
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT"
},
{
"link": null,
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
}
},
{
"link": null,
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": null,
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
},
{
"link": null,
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
},
{
"link": null,
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
}
},
{
"link": null,
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
}
}
],
"mode": 0,
"order": 209,
"outputs": [
{
"links": [
987
],
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
2880,
510
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
220,
510
],
"type": "KSampler",
"widgets_values": [
1228,
"fixed",
12,
4,
"euler_ancestral",
"beta",
0.8
]
},
{
"bgcolor": "hsla(198, 17.1%, 29.8%, 1)",
"color": "#2a363b",
"flags": {
"pinned": true
},
"id": 302,
"inputs": [
{
"link": 2585,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image",
"name": "image",
"type": "STRING",
"widget": {
"name": "image"
}
},
{
"link": null,
"localized_name": "block",
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": null,
"localized_name": "restore_mask",
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 215,
"outputs": [
{
"links": [
2570
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
3120,
420
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "38bb9ffdf66386dc3a9d764db83f7460f458bffa"
},
"size": [
1240,
1320
],
"type": "PreviewBridge",
"widgets_values": [
"$302-0",
true,
"never"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"pinned": true
},
"id": 324,
"inputs": [
{
"link": 878,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image",
"name": "image",
"type": "STRING",
"widget": {
"name": "image"
}
},
{
"link": null,
"localized_name": "block",
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": null,
"localized_name": "restore_mask",
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 169,
"outputs": [
{
"links": [
2169
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1040,
-130
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.14.2"
},
"size": [
240,
350
],
"title": "Depth",
"type": "PreviewBridge",
"widgets_values": [
"$324-0",
false,
"always"
]
},
{
"flags": {
"collapsed": true
},
"id": 990,
"inputs": [
{
"link": 2120,
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"mode": 0,
"order": 114,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1280,
-780
],
"properties": {
"previousName": "refine"
},
"size": [
210,
60
],
"title": "Set_refine",
"type": "SetNode",
"widgets_values": [
"refine"
]
},
{
"flags": {
"collapsed": true
},
"id": 1024,
"inputs": [
{
"link": 2238,
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"mode": 0,
"order": 113,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1070,
-780
],
"properties": {
"previousName": "Hires"
},
"size": [
210,
60
],
"title": "Set_Hires",
"type": "SetNode",
"widgets_values": [
"Hires"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 502,
"inputs": [
{
"link": 975,
"name": "VAE",
"type": "VAE"
}
],
"mode": 0,
"order": 89,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-2030,
-440
],
"properties": {
"previousName": "VAE"
},
"size": [
210,
58
],
"title": "Set_VAE",
"type": "SetNode",
"widgets_values": [
"VAE"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": false
},
"id": 501,
"inputs": [
{
"link": null,
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
}
}
],
"mode": 0,
"order": 4,
"outputs": [
{
"links": [
975
],
"localized_name": "VAE",
"name": "VAE",
"slot_index": 0,
"type": "VAE"
}
],
"pos": [
-2450,
-470
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
400,
58
],
"type": "VAELoader",
"widgets_values": [
"sdxl.vae.safetensors"
]
},
{
"flags": {
"collapsed": true
},
"id": 1119,
"inputs": [
{
"link": 2386,
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"mode": 0,
"order": 105,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1300,
-880
],
"properties": {
"previousName": "uselm"
},
"size": [
210,
60
],
"title": "Set_uselm",
"type": "SetNode",
"widgets_values": [
"uselm"
]
},
{
"flags": {
"collapsed": true
},
"id": 1122,
"inputs": [
{
"link": 2388,
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"mode": 0,
"order": 104,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1050,
-880
],
"properties": {
"previousName": "startover"
},
"size": [
210,
60
],
"title": "Set_startover",
"type": "SetNode",
"widgets_values": [
"startover"
]
},
{
"flags": {
"collapsed": true
},
"id": 1112,
"inputs": [
{
"link": 2376,
"localized_name": "on_true",
"name": "on_true",
"type": "*"
},
{
"link": 2381,
"localized_name": "on_false",
"name": "on_false",
"type": "*"
},
{
"link": 2403,
"localized_name": "boolean",
"name": "boolean",
"type": "BOOLEAN",
"widget": {
"name": "boolean"
}
}
],
"mode": 0,
"order": 126,
"outputs": [
{
"links": [
2377
],
"localized_name": "*",
"name": "*",
"type": "*"
}
],
"pos": [
720,
-1060
],
"properties": {
"Node name for S&R": "Switch any [Crystools]",
"cnr_id": "comfyui-crystools",
"ver": "1.25.2"
},
"size": [
270,
78
],
"title": "Switch",
"type": "Switch any [Crystools]",
"widgets_values": [
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1055,
"inputs": [
{
"link": 2453,
"name": "STRING",
"type": "STRING"
}
],
"mode": 0,
"order": 112,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1330,
-860
],
"properties": {
"previousName": "prompt"
},
"size": [
210,
60
],
"title": "Set_prompt",
"type": "SetNode",
"widgets_values": [
"prompt"
]
},
{
"flags": {
"collapsed": true
},
"id": 692,
"inputs": [
{
"link": 2392,
"name": "*",
"type": "*"
}
],
"mode": 0,
"order": 185,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
1200,
-1020
],
"properties": {
"previousName": "response"
},
"size": [
210,
60
],
"title": "Set_response",
"type": "SetNode",
"widgets_values": [
"response"
]
},
{
"flags": {
"collapsed": true
},
"id": 693,
"inputs": [],
"mode": 0,
"order": 5,
"outputs": [
{
"links": [
2473
],
"name": "*",
"type": "*"
}
],
"pos": [
-1320,
-1270
],
"properties": {},
"size": [
210,
60
],
"title": "Get_response",
"type": "GetNode",
"widgets_values": [
"response"
]
},
{
"flags": {
"collapsed": true
},
"id": 1102,
"inputs": [],
"mode": 0,
"order": 6,
"outputs": [
{
"links": [
2360,
2398
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
130,
-1100
],
"properties": {},
"size": [
210,
50
],
"title": "Get_prompt",
"type": "GetNode",
"widgets_values": [
"prompt"
]
},
{
"flags": {
"collapsed": true
},
"id": 1108,
"inputs": [
{
"link": null,
"localized_name": "action",
"name": "action",
"type": "COMBO",
"widget": {
"name": "action"
}
},
{
"link": null,
"localized_name": "tidy_tags",
"name": "tidy_tags",
"type": "COMBO",
"widget": {
"name": "tidy_tags"
}
},
{
"link": 2374,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": null,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": 2373,
"localized_name": "text_c",
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 187,
"outputs": [
{
"links": [
2444
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
1200,
-1100
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
298
],
"title": "String Function",
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"no",
"User's prompt:",
"\n",
""
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {},
"id": 325,
"inputs": [
{
"link": 875,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image",
"name": "image",
"type": "STRING",
"widget": {
"name": "image"
}
},
{
"link": null,
"localized_name": "block",
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": null,
"localized_name": "restore_mask",
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 170,
"outputs": [
{
"links": [
2167
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1040,
500
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.14.2"
},
"size": [
240,
350
],
"title": "Detail",
"type": "PreviewBridge",
"widgets_values": [
"$325-0",
false,
"never"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 1019,
"inputs": [
{
"link": null,
"localized_name": "control_net_name",
"name": "control_net_name",
"type": "COMBO",
"widget": {
"name": "control_net_name"
}
}
],
"mode": 0,
"order": 7,
"outputs": [
{
"links": [
2233
],
"localized_name": "CONTROL_NET",
"name": "CONTROL_NET",
"slot_index": 0,
"type": "CONTROL_NET"
}
],
"pos": [
2200,
650
],
"properties": {
"Node name for S&R": "ControlNetLoader",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
330,
60
],
"type": "ControlNetLoader",
"widgets_values": [
"xinsircontrolnet-union-sdxl-10_promax.safetensors"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {},
"id": 970,
"inputs": [
{
"link": 2052,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": 2081,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2080,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2662,
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT"
},
{
"link": null,
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
}
},
{
"link": 2046,
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": 2044,
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
},
{
"link": 2048,
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
},
{
"link": 2255,
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
}
},
{
"link": null,
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
}
}
],
"mode": 0,
"order": 179,
"outputs": [
{
"links": [
2246
],
"localized_name": "LATENT",
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
-430,
-160
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
270,
486
],
"type": "KSampler",
"widgets_values": [
1,
"fixed",
20,
4,
"euler_ancestral",
"beta",
0.30000000000000004
]
},
{
"flags": {
"collapsed": true
},
"id": 1100,
"inputs": [
{
"link": null,
"localized_name": "action",
"name": "action",
"type": "COMBO",
"widget": {
"name": "action"
}
},
{
"link": null,
"localized_name": "tidy_tags",
"name": "tidy_tags",
"type": "COMBO",
"widget": {
"name": "tidy_tags"
}
},
{
"link": null,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 2360,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": null,
"localized_name": "text_c",
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 91,
"outputs": [
{
"links": [
2374,
2376,
2380
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
360,
-1100
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
298
],
"title": "String Function",
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"no",
"User's prompt:\n",
"",
"\n"
]
},
{
"flags": {
"collapsed": true
},
"id": 1103,
"inputs": [
{
"link": null,
"localized_name": "action",
"name": "action",
"type": "COMBO",
"widget": {
"name": "action"
}
},
{
"link": null,
"localized_name": "tidy_tags",
"name": "tidy_tags",
"type": "COMBO",
"widget": {
"name": "tidy_tags"
}
},
{
"link": null,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 2362,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": null,
"localized_name": "text_c",
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 175,
"outputs": [
{
"links": [
2373
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
1030,
-1130
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
274
],
"title": "String Function",
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"no",
"AI's response:\n",
"",
"\n"
]
},
{
"flags": {
"collapsed": true
},
"id": 1099,
"inputs": [
{
"link": 2357,
"localized_name": "value",
"name": "value",
"type": "IMAGE"
},
{
"link": 2369,
"localized_name": "mode",
"name": "mode",
"type": "BOOLEAN",
"widget": {
"name": "mode"
}
},
{
"link": null,
"localized_name": "behavior",
"name": "behavior",
"type": "COMBO",
"widget": {
"name": "behavior"
}
}
],
"mode": 0,
"order": 131,
"outputs": [
{
"label": "IMAGE",
"links": [
2370
],
"localized_name": "value",
"name": "value",
"type": "IMAGE"
}
],
"pos": [
540,
-1130
],
"properties": {
"Node name for S&R": "ImpactControlBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.20.0"
},
"size": [
270,
82
],
"type": "ImpactControlBridge",
"widgets_values": [
true,
"Mute"
]
},
{
"flags": {
"collapsed": true
},
"id": 694,
"inputs": [
{
"link": 1400,
"name": "*",
"type": "*"
}
],
"mode": 0,
"order": 184,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
1200,
-1060
],
"properties": {
"previousName": "suggestion"
},
"size": [
210,
60
],
"title": "Set_suggestion",
"type": "SetNode",
"widgets_values": [
"suggestion"
]
},
{
"flags": {
"collapsed": true
},
"id": 1132,
"inputs": [
{
"link": 2405,
"localized_name": "boolean_a",
"name": "boolean_a",
"type": "BOOLEAN",
"widget": {
"name": "boolean_a"
}
},
{
"link": 2404,
"localized_name": "boolean_b",
"name": "boolean_b",
"type": "BOOLEAN",
"widget": {
"name": "boolean_b"
}
}
],
"mode": 0,
"order": 99,
"outputs": [
{
"links": [
2401,
2402,
2403
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
130,
-1060
],
"properties": {
"Node name for S&R": "Logic Comparison AND",
"cnr_id": "was-ns",
"ver": "3.0.0"
},
"size": [
270,
82
],
"type": "Logic Comparison AND",
"widgets_values": [
false,
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1113,
"inputs": [
{
"link": null,
"localized_name": "action",
"name": "action",
"type": "COMBO",
"widget": {
"name": "action"
}
},
{
"link": null,
"localized_name": "tidy_tags",
"name": "tidy_tags",
"type": "COMBO",
"widget": {
"name": "tidy_tags"
}
},
{
"link": 2379,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": null,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": 2380,
"localized_name": "text_c",
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 117,
"outputs": [
{
"links": [
2381
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
540,
-960
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
274
],
"title": "String Function",
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"no",
"User's prompt:\n",
"\n",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1128,
"inputs": [
{
"link": null,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2398,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2454,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 107,
"outputs": [
{
"links": [],
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"slot_index": 4,
"type": "*"
},
{
"links": null,
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [
2400
],
"localized_name": "text1",
"name": "text1",
"slot_index": 6,
"type": "*"
},
{
"links": [],
"localized_name": "text2",
"name": "text2",
"slot_index": 7,
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": null,
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": [],
"localized_name": "any2",
"name": "any2",
"slot_index": 11,
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
300,
-1250
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "1493d77cb9a05f065afe53381b69ada867231f8b"
},
"size": [
350,
940
],
"title": "Clean prompt",
"type": "Exec Python Code Script",
"widgets_values": [
"# Default text1 and text2 to empty strings\r\ntext1_extracted = ''\r\ntext2_extracted = ''\r\n\r\n# Ensure any1.data exists and is a string\r\nif hasattr(any1, 'data') and isinstance(any1.data, str):\r\n # Extract text between the last \"ASSISTANT: \" and \"=== End History ===\"\r\n assistant_index = any1.data.rfind(\"ASSISTANT: \")\r\n end_history_index = any1.data.rfind(\"=== End History ===\")\r\n\r\n if assistant_index != -1 and end_history_index != -1 and assistant_index < end_history_index:\r\n text2_extracted = any1.data[assistant_index + len(\"ASSISTANT: \"):end_history_index].strip()\r\n\r\n # Extract text between the last `<!CLIP=` tag and `>` closing tag\r\n last_clip_end = any1.data.rfind('>') # Find the last closing tag\r\n if last_clip_end != -1:\r\n last_clip_start = any1.data.rfind('<!CLIP=', 0, last_clip_end) # Find the last opening tag before it\r\n if last_clip_start != -1:\r\n # Extract text between the tags\r\n text1_extracted = any1.data[last_clip_start + len('<!CLIP='):last_clip_end].strip()\r\n\r\n# Assign the extracted values\r\ntext1.to(text1_extracted)\r\ntext2.to(text2_extracted)\r\n",
0,
0,
"LLM Turned Off",
"LLM Turned Off",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1127,
"inputs": [
{
"link": null,
"localized_name": "root_dir",
"name": "root_dir",
"type": "COMBO",
"widget": {
"name": "root_dir"
}
},
{
"link": null,
"localized_name": "file",
"name": "file",
"type": "COMBO",
"widget": {
"name": "file"
}
}
],
"mode": 0,
"order": 8,
"outputs": [
{
"links": [
2396
],
"localized_name": "STRING",
"name": "STRING",
"slot_index": 0,
"type": "STRING"
}
],
"pos": [
690,
-1270
],
"properties": {
"Node name for S&R": "LoadText|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "bbda5e52ad580c13ceaa53136d9c2bed9137bd2e"
},
"size": [
250,
82
],
"title": "Load prompt",
"type": "LoadText|pysssss",
"widgets_values": [
"input",
"geminiprompt.txt"
]
},
{
"flags": {
"collapsed": true
},
"id": 1131,
"inputs": [
{
"link": 2400,
"name": "*",
"type": "*"
}
],
"mode": 0,
"order": 123,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
480,
-1250
],
"properties": {
"previousName": "promptdist"
},
"size": [
210,
60
],
"title": "Set_promptdist",
"type": "SetNode",
"widgets_values": [
"promptdist"
]
},
{
"flags": {
"collapsed": true
},
"id": 105,
"inputs": [
{
"link": null,
"localized_name": "root_dir",
"name": "root_dir",
"type": "COMBO",
"widget": {
"name": "root_dir"
}
},
{
"link": null,
"localized_name": "file",
"name": "file",
"type": "COMBO",
"widget": {
"name": "file"
}
}
],
"mode": 0,
"order": 9,
"outputs": [
{
"links": [
2309
],
"localized_name": "STRING",
"name": "STRING",
"slot_index": 0,
"type": "STRING"
}
],
"pos": [
540,
-1180
],
"properties": {
"Node name for S&R": "LoadText|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "bbda5e52ad580c13ceaa53136d9c2bed9137bd2e"
},
"size": [
250,
82
],
"title": "API Key",
"type": "LoadText|pysssss",
"widgets_values": [
"input",
"API-key.txt"
]
},
{
"flags": {
"collapsed": true
},
"id": 1120,
"inputs": [],
"mode": 0,
"order": 10,
"outputs": [
{
"links": [
2387,
2405
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-30,
-1220
],
"properties": {},
"size": [
210,
60
],
"title": "Get_uselm",
"type": "GetNode",
"widgets_values": [
"uselm"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 425,
"inputs": [],
"mode": 0,
"order": 11,
"outputs": [
{
"links": [
2295
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
-660,
-440
],
"properties": {},
"size": [
210,
60
],
"title": "Get_latent",
"type": "GetNode",
"widgets_values": [
"latent"
]
},
{
"flags": {
"collapsed": true
},
"id": 679,
"inputs": [
{
"link": null,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2303,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2456,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 174,
"outputs": [
{
"links": [],
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"slot_index": 4,
"type": "*"
},
{
"links": [],
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [
1400
],
"localized_name": "text1",
"name": "text1",
"slot_index": 6,
"type": "*"
},
{
"links": [
2392
],
"localized_name": "text2",
"name": "text2",
"slot_index": 7,
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": [
2438
],
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": [],
"localized_name": "any2",
"name": "any2",
"slot_index": 11,
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
1030,
-1060
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "1493d77cb9a05f065afe53381b69ada867231f8b"
},
"size": [
350,
940
],
"title": "Extract promp",
"type": "Exec Python Code Script",
"widgets_values": [
"# Default text1 and text2 to empty strings\r\ntext1_extracted = ''\r\ntext2_extracted = ''\r\n\r\n# Ensure any1.data exists and is a string\r\nif hasattr(any1, 'data') and isinstance(any1.data, str):\r\n # Extract text between the last \"ASSISTANT: \" and \"=== End History ===\"\r\n assistant_index = any1.data.rfind(\"ASSISTANT: \")\r\n end_history_index = any1.data.rfind(\"=== End History ===\")\r\n\r\n if assistant_index != -1 and end_history_index != -1 and assistant_index < end_history_index:\r\n text2_extracted = any1.data[assistant_index + len(\"ASSISTANT: \"):end_history_index].strip()\r\n\r\n # Extract text between the last `<!CLIP=` tag and `>` closing tag\r\n last_clip_end = any1.data.rfind('>') # Find the last closing tag\r\n if last_clip_end != -1:\r\n last_clip_start = any1.data.rfind('<!CLIP=', 0, last_clip_end) # Find the last opening tag before it\r\n if last_clip_start != -1:\r\n # Extract text between the tags\r\n text1_extracted = any1.data[last_clip_start + len('<!CLIP='):last_clip_end].strip()\r\n\r\n# Assign the extracted values\r\ntext1.to(text1_extracted)\r\ntext2.to(text2_extracted)\r\n",
1024,
1024,
"LLM Turned Off",
"LLM Turned Off",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1157,
"inputs": [
{
"link": 2438,
"name": "*",
"type": "*"
}
],
"mode": 0,
"order": 186,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
1200,
-980
],
"properties": {
"previousName": "suggestedsize"
},
"size": [
210,
60
],
"title": "Set_suggestedsize",
"type": "SetNode",
"widgets_values": [
"suggestedsize"
]
},
{
"flags": {
"collapsed": true
},
"id": 1156,
"inputs": [],
"mode": 0,
"order": 12,
"outputs": [
{
"links": [
2471
],
"name": "*",
"type": "*"
}
],
"pos": [
-1990,
-1130
],
"properties": {},
"size": [
210,
60
],
"title": "Get_suggestedsize",
"type": "GetNode",
"widgets_values": [
"suggestedsize"
]
},
{
"flags": {
"collapsed": true
},
"id": 1160,
"inputs": [
{
"link": null,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2444,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2455,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 196,
"outputs": [
{
"links": [],
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": [],
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"slot_index": 4,
"type": "*"
},
{
"links": null,
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [],
"localized_name": "text1",
"name": "text1",
"slot_index": 6,
"type": "*"
},
{
"links": [],
"localized_name": "text2",
"name": "text2",
"slot_index": 7,
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": null,
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": [],
"localized_name": "any2",
"name": "any2",
"slot_index": 11,
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
1370,
-1100
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "1493d77cb9a05f065afe53381b69ada867231f8b"
},
"size": [
310,
546
],
"title": "Save log",
"type": "Exec Python Code Script",
"widgets_values": [
"# Default text1 and text2 to empty strings\r\ntext1_extracted = ''\r\ntext2_extracted = ''\r\n\r\n# Ensure any1.data exists and is a string\r\nif hasattr(any1, 'data') and isinstance(any1.data, str):\r\n # Extract text between the last \"ASSISTANT: \" and \"=== End History ===\"\r\n assistant_index = any1.data.rfind(\"ASSISTANT: \")\r\n end_history_index = any1.data.rfind(\"=== End History ===\")\r\n\r\n if assistant_index != -1 and end_history_index != -1 and assistant_index < end_history_index:\r\n text2_extracted = any1.data[assistant_index + len(\"ASSISTANT: \"):end_history_index].strip()\r\n\r\n # Extract text between the last `<!CLIP=` tag and `>` closing tag\r\n last_clip_end = any1.data.rfind('>') # Find the last closing tag\r\n if last_clip_end != -1:\r\n last_clip_start = any1.data.rfind('<!CLIP=', 0, last_clip_end) # Find the last opening tag before it\r\n if last_clip_start != -1:\r\n # Extract text between the tags\r\n text1_extracted = any1.data[last_clip_start + len('<!CLIP='):last_clip_end].strip()\r\n\r\n# Assign the extracted values\r\ntext1.to(text1_extracted)\r\ntext2.to(text2_extracted)\r\n",
0,
0,
"LLM Turned Off",
"LLM Turned Off",
true
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 681,
"inputs": [],
"mode": 0,
"order": 13,
"outputs": [
{
"links": [
2334,
2383
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
690,
-1180
],
"properties": {},
"size": [
210,
58
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {
"collapsed": true
},
"id": 1166,
"inputs": [
{
"link": 2452,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "sage_attention",
"name": "sage_attention",
"type": "COMBO",
"widget": {
"name": "sage_attention"
}
},
{
"link": null,
"localized_name": "allow_compile",
"name": "allow_compile",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "allow_compile"
}
}
],
"mode": 0,
"order": 132,
"outputs": [
{
"links": [
2451
],
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
240,
430
],
"properties": {
"Node name for S&R": "PathchSageAttentionKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.3"
},
"size": [
210,
58
],
"type": "PathchSageAttentionKJ",
"widgets_values": [
"auto",
false
]
},
{
"flags": {
"collapsed": true
},
"id": 731,
"inputs": [],
"mode": 0,
"order": 14,
"outputs": [
{
"links": [
2446
],
"name": "*",
"type": "*"
}
],
"pos": [
-1170,
-600
],
"properties": {},
"size": [
210,
60
],
"title": "Get_promptdist",
"type": "GetNode",
"widgets_values": [
"promptdist"
]
},
{
"flags": {
"collapsed": true
},
"id": 1025,
"inputs": [],
"mode": 0,
"order": 15,
"outputs": [
{
"links": [
2248
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-270,
-730
],
"properties": {},
"size": [
210,
60
],
"title": "Get_Hires",
"type": "GetNode",
"widgets_values": [
"Hires"
]
},
{
"flags": {
"collapsed": true
},
"id": 1169,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 16,
"outputs": [
{
"links": [
2455
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
1250,
-1160
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import os\n\nlog_path = os.path.join('.', 'ComfyUI', 'input', 'log.txt')\nos.makedirs(os.path.dirname(log_path), exist_ok=True)\n\n# Make sure the log file exists\nif not os.path.exists(log_path):\n open(log_path, 'w', encoding='utf-8').close()\n\n# Append any1 content to the file\nwith open(log_path, 'a', encoding='utf-8') as f:\n f.write(str(any1) + '\\n') # add newline for neat stacking\n"
]
},
{
"flags": {
"collapsed": true
},
"id": 1170,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 17,
"outputs": [
{
"links": [
2456
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
900,
-1060
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"text1_extracted = ''\ntext2_extracted = ''\nsize_extracted = ''\n\nif hasattr(any1, 'data') and isinstance(any1.data, str):\n data = any1.data\n\n import re\n\n # Extract CLIP tag content\n clip_matches = list(re.finditer(r'<!CLIP=(.*?)>', data, re.DOTALL))\n if clip_matches:\n text1_extracted = clip_matches[-1].group(1).strip()\n\n # Extract raw SIZE string like '512x768'\n size_match = re.search(r'<!SIZE=([0-9]+[xX][0-9]+)>', data)\n if size_match:\n size_extracted = size_match.group(1)\n\n # Remove tags\n text2_extracted = re.sub(r'<!CLIP=.*?>', '', data, flags=re.DOTALL)\n text2_extracted = re.sub(r'<!SIZE=\\d+[xX]\\d+>', '', text2_extracted).strip()\n\n# Send final text outputs\ntext1.to(text1_extracted)\ntext2.to(text2_extracted)\nany1.to(size_extracted) # just the 'WxH' string\n"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 127,
"inputs": [
{
"link": null,
"localized_name": "action",
"name": "action",
"type": "COMBO",
"widget": {
"name": "action"
}
},
{
"link": null,
"localized_name": "tidy_tags",
"name": "tidy_tags",
"type": "COMBO",
"widget": {
"name": "tidy_tags"
}
},
{
"link": 234,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 2307,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": 2474,
"localized_name": "text_c",
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 165,
"outputs": [
{
"links": [
191
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
820,
390
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "9f7b3215e6af317603056a9a1666bf6e83e28835"
},
"size": [
400,
298
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1109,
"inputs": [
{
"link": 2402,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
},
{
"link": null,
"localized_name": "reverse",
"name": "reverse",
"type": "BOOLEAN",
"widget": {
"name": "reverse"
}
}
],
"mode": 0,
"order": 121,
"outputs": [
{
"links": [
2369
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
},
{
"links": null,
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
360,
-1160
],
"properties": {
"Node name for S&R": "BooleanPrimitive",
"cnr_id": "comfyui-art-venture",
"ver": "1.1.1"
},
"size": [
270,
102
],
"type": "BooleanPrimitive",
"widgets_values": [
false,
true
]
},
{
"bgcolor": "#616161",
"color": "#757575",
"flags": {
"collapsed": true
},
"id": 39,
"inputs": [],
"mode": 0,
"order": 18,
"outputs": [],
"pos": [
240,
370
],
"properties": {},
"size": [
210,
88
],
"type": "Note",
"widgets_values": [
"(real life, cinematic, stunningly beautiful, masterpiece, best quality:1.5), source_furry, \n\ncinematic, chromatic abberration, bokeh, vibrant colors\n\n(by kenket:0.2), (by zootopia:0.4), (by my_little_pony:0.2)\n\nreal, detailed, digital photography, professional photo, photorealism, sharp, exposure blend, volumetric, ray tracing, hdr, 4k, 8k, absurd res, realistic, (best quality, good quality:1.2)\nBREAK"
]
},
{
"bgcolor": "#1f401b",
"color": "#1c5715",
"flags": {
"collapsed": true
},
"id": 907,
"inputs": [
{
"link": 1904,
"name": "MASK",
"type": "MASK"
}
],
"mode": 0,
"order": 222,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
1980,
-750
],
"properties": {
"previousName": "Mask"
},
"size": [
210,
60
],
"title": "Set_Mask",
"type": "SetNode",
"widgets_values": [
"Mask"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1202,
"inputs": [
{
"link": 2497,
"localized_name": "conditioning_1",
"name": "conditioning_1",
"type": "CONDITIONING"
},
{
"link": 2498,
"localized_name": "conditioning_2",
"name": "conditioning_2",
"type": "CONDITIONING"
}
],
"mode": 0,
"order": 202,
"outputs": [
{
"links": [
2690
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1800,
380
],
"properties": {
"Node name for S&R": "ConditioningCombine",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
216.92578125,
46
],
"type": "ConditioningCombine",
"widgets_values": []
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1201,
"inputs": [
{
"link": 2493,
"localized_name": "conditioning_1",
"name": "conditioning_1",
"type": "CONDITIONING"
},
{
"link": 2494,
"localized_name": "conditioning_2",
"name": "conditioning_2",
"type": "CONDITIONING"
}
],
"mode": 0,
"order": 201,
"outputs": [
{
"links": [
2689
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1800,
290
],
"properties": {
"Node name for S&R": "ConditioningCombine",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
216.92578125,
46
],
"type": "ConditioningCombine",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1056,
"inputs": [],
"mode": 0,
"order": 19,
"outputs": [
{
"links": [
2307
],
"name": "*",
"type": "*"
}
],
"pos": [
600,
330
],
"properties": {},
"size": [
210,
60
],
"title": "Get_promptdist",
"type": "GetNode",
"widgets_values": [
"promptdist"
]
},
{
"flags": {},
"id": 524,
"inputs": [
{
"link": 1422,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 127,
"outputs": [],
"pos": [
2650,
760
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
220,
258
],
"type": "PreviewImage",
"widgets_values": []
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 128,
"inputs": [
{
"link": 2092,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "model_type",
"name": "model_type",
"type": "COMBO",
"widget": {
"name": "model_type"
}
},
{
"link": null,
"localized_name": "res_mode",
"name": "res_mode",
"type": "COMBO",
"widget": {
"name": "res_mode"
}
},
{
"link": null,
"localized_name": "upscale_mode",
"name": "upscale_mode",
"type": "COMBO",
"widget": {
"name": "upscale_mode"
}
},
{
"link": null,
"localized_name": "ca_upscale_mode",
"name": "ca_upscale_mode",
"type": "COMBO",
"widget": {
"name": "ca_upscale_mode"
}
}
],
"mode": 0,
"order": 176,
"outputs": [
{
"links": [
1492,
2691
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
1810,
340
],
"properties": {
"Node name for S&R": "ApplyRAUNetSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
250,
130
],
"type": "ApplyRAUNetSimple",
"widgets_values": [
"auto",
"high (1536-2048)",
"bicubic",
"bicubic"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 40,
"inputs": [
{
"link": 2091,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "model_type",
"name": "model_type",
"type": "COMBO",
"widget": {
"name": "model_type"
}
}
],
"mode": 0,
"order": 160,
"outputs": [
{
"links": [
2092
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
820,
340
],
"properties": {
"Node name for S&R": "ApplyMSWMSAAttentionSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
237.52694702148438,
58
],
"title": "ApplyMSWMSAA",
"type": "ApplyMSWMSAAttentionSimple",
"widgets_values": [
"auto"
]
},
{
"flags": {
"collapsed": true
},
"id": 1086,
"inputs": [
{
"link": null,
"localized_name": "image_path",
"name": "image_path",
"type": "STRING",
"widget": {
"name": "image_path"
}
},
{
"link": null,
"localized_name": "RGBA",
"name": "RGBA",
"type": "COMBO",
"widget": {
"name": "RGBA"
}
},
{
"link": null,
"localized_name": "filename_text_extension",
"name": "filename_text_extension",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "filename_text_extension"
}
}
],
"mode": 0,
"order": 20,
"outputs": [
{
"links": [
2348,
2357
],
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"links": null,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"links": null,
"localized_name": "filename_text",
"name": "filename_text",
"type": "STRING"
}
],
"pos": [
380,
-1000
],
"properties": {
"Node name for S&R": "Image Load",
"cnr_id": "was-ns",
"ver": "3.0.0"
},
"size": [
440,
146
],
"type": "Image Load",
"widgets_values": [
"./ComfyUI/temp/tempimage1.png",
"false",
"true"
]
},
{
"flags": {
"collapsed": true
},
"id": 1114,
"inputs": [
{
"link": null,
"localized_name": "root_dir",
"name": "root_dir",
"type": "COMBO",
"widget": {
"name": "root_dir"
}
},
{
"link": null,
"localized_name": "file",
"name": "file",
"type": "COMBO",
"widget": {
"name": "file"
}
}
],
"mode": 0,
"order": 21,
"outputs": [
{
"links": [
2379
],
"localized_name": "STRING",
"name": "STRING",
"slot_index": 0,
"type": "STRING"
}
],
"pos": [
400,
-940
],
"properties": {
"Node name for S&R": "LoadText|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "bbda5e52ad580c13ceaa53136d9c2bed9137bd2e"
},
"size": [
250,
82
],
"title": "Load log",
"type": "LoadText|pysssss",
"widgets_values": [
"input",
"log.txt"
]
},
{
"flags": {},
"id": 1179,
"inputs": [
{
"link": 2471,
"localized_name": "source",
"name": "source",
"type": "*"
}
],
"mode": 0,
"order": 93,
"outputs": [],
"pos": [
-2010,
-1160
],
"properties": {
"Node name for S&R": "PreviewAny",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
210,
112
],
"title": "Suggested size",
"type": "PreviewAny",
"widgets_values": [
null,
null,
false
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 164,
"inputs": [
{
"link": null,
"localized_name": "action",
"name": "action",
"type": "COMBO",
"widget": {
"name": "action"
}
},
{
"link": null,
"localized_name": "tidy_tags",
"name": "tidy_tags",
"type": "COMBO",
"widget": {
"name": "tidy_tags"
}
},
{
"link": 2466,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 264,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": null,
"localized_name": "text_c",
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 147,
"outputs": [
{
"links": [
234
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
580,
390
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.3"
},
"size": [
400,
274
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1030,
"inputs": [
{
"link": null,
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": {
"name": "model_name"
}
}
],
"mode": 0,
"order": 22,
"outputs": [
{
"links": [
2259
],
"localized_name": "UPSCALE_MODEL",
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL"
}
],
"pos": [
4190,
370
],
"properties": {
"Node name for S&R": "UpscaleModelLoader",
"cnr_id": "comfy-core",
"ver": "0.3.44"
},
"size": [
270,
58
],
"type": "UpscaleModelLoader",
"widgets_values": [
"4x_NMKD-Siax_200k.pth"
]
},
{
"flags": {
"collapsed": true
},
"id": 781,
"inputs": [
{
"link": 2259,
"localized_name": "upscale_model",
"name": "upscale_model",
"type": "UPSCALE_MODEL"
},
{
"link": 2570,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"order": 217,
"outputs": [
{
"links": [
2580
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
4390,
450
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
233.5689453125,
46
],
"type": "ImageUpscaleWithModel",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1215,
"inputs": [
{
"link": 2580,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": {
"name": "upscale_method"
}
},
{
"link": null,
"localized_name": "scale_by",
"name": "scale_by",
"type": "FLOAT",
"widget": {
"name": "scale_by"
}
}
],
"mode": 0,
"order": 219,
"outputs": [
{
"links": [
2581
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
4640,
450
],
"properties": {
"Node name for S&R": "ImageScaleBy",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
270,
82
],
"type": "ImageScaleBy",
"widgets_values": [
"bicubic",
0.25000000000000006
]
},
{
"flags": {
"collapsed": true
},
"id": 1172,
"inputs": [
{
"link": 2588,
"localized_name": "on_true",
"name": "on_true",
"type": "IMAGE"
},
{
"link": 2589,
"localized_name": "on_false",
"name": "on_false",
"type": "IMAGE"
},
{
"link": 2587,
"localized_name": "boolean",
"name": "boolean",
"type": "BOOLEAN",
"widget": {
"name": "boolean"
}
}
],
"mode": 0,
"order": 211,
"outputs": [
{
"links": [
2585
],
"localized_name": "image",
"name": "image",
"type": "IMAGE"
}
],
"pos": [
2880,
450
],
"properties": {
"Node name for S&R": "Switch image [Crystools]",
"cnr_id": "comfyui-crystools",
"ver": "1.26.6"
},
"size": [
270,
78
],
"type": "Switch image [Crystools]",
"widgets_values": [
true
]
},
{
"flags": {},
"id": 1216,
"inputs": [
{
"link": 2586,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 116,
"outputs": [
{
"links": [
2587
],
"name": "",
"type": "BOOLEAN"
}
],
"pos": [
2740,
640
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 479,
"inputs": [
{
"link": 2229,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2230,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 1428,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
},
{
"link": 908,
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE"
},
{
"link": 1027,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "noise_mask",
"name": "noise_mask",
"type": "BOOLEAN",
"widget": {
"name": "noise_mask"
}
}
],
"mode": 0,
"order": 206,
"outputs": [
{
"links": [
910
],
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"links": [
911
],
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"links": [
912
],
"localized_name": "latent",
"name": "latent",
"type": "LATENT"
}
],
"pos": [
2670,
580
],
"properties": {
"Node name for S&R": "InpaintModelConditioning",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
210,
138
],
"title": "Inpaint",
"type": "InpaintModelConditioning",
"widgets_values": [
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1057,
"inputs": [
{
"link": 2309,
"localized_name": "value",
"name": "value",
"type": "STRING"
},
{
"link": 2387,
"localized_name": "mode",
"name": "mode",
"type": "BOOLEAN",
"widget": {
"name": "mode"
}
},
{
"link": null,
"localized_name": "behavior",
"name": "behavior",
"type": "COMBO",
"widget": {
"name": "behavior"
}
}
],
"mode": 0,
"order": 92,
"outputs": [
{
"label": "STRING",
"links": [
2310
],
"localized_name": "value",
"name": "value",
"type": "STRING"
}
],
"pos": [
680,
-1220
],
"properties": {
"Node name for S&R": "ImpactControlBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.20.0"
},
"size": [
270,
82
],
"type": "ImpactControlBridge",
"widgets_values": [
true,
"Mute"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": false
},
"id": 174,
"inputs": [
{
"link": null,
"localized_name": "group_mode",
"name": "group_mode",
"type": "BOOLEAN",
"widget": {
"name": "group_mode"
}
},
{
"link": null,
"localized_name": "default_active",
"name": "default_active",
"type": "BOOLEAN",
"widget": {
"name": "default_active"
}
},
{
"link": null,
"localized_name": "allow_strength_adjustment",
"name": "allow_strength_adjustment",
"type": "BOOLEAN",
"widget": {
"name": "allow_strength_adjustment"
}
},
{
"link": 263,
"name": "trigger_words",
"shape": 7,
"type": "string"
}
],
"mode": 0,
"order": 134,
"outputs": [
{
"links": [
264
],
"localized_name": "filtered_trigger_words",
"name": "filtered_trigger_words",
"type": "STRING"
}
],
"pos": [
240,
490
],
"properties": {
"Node name for S&R": "TriggerWord Toggle (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
310,
392
],
"type": "TriggerWord Toggle (LoraManager)",
"widgets_values": [
false,
true,
[],
[],
""
]
},
{
"flags": {},
"id": 784,
"inputs": [
{
"link": 2581,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 221,
"outputs": [],
"pos": [
4820,
420
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
1410,
1330
],
"type": "PreviewImage",
"widgets_values": []
},
{
"flags": {
"pinned": true
},
"id": 1043,
"inputs": [
{
"link": null,
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
}
},
{
"link": null,
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
}
}
],
"mode": 0,
"order": 23,
"outputs": [
{
"links": [
2593
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [
2592
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1450,
1000
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.44"
},
"size": [
440,
490
],
"type": "LoadImage",
"widgets_values": [
"clipspace/clipspace-painted-masked-87032746.png [input]",
"image"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 509,
"inputs": [
{
"link": 987,
"name": "LATENT",
"type": "LATENT"
}
],
"mode": 0,
"order": 212,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
3120,
380
],
"properties": {
"previousName": "InpaintLatent"
},
"size": [
210,
60
],
"title": "Set_InpaintLatent",
"type": "SetNode",
"widgets_values": [
"InpaintLatent"
]
},
{
"flags": {
"pinned": true
},
"id": 1044,
"inputs": [
{
"link": 2278,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image",
"name": "image",
"type": "STRING",
"widget": {
"name": "image"
}
},
{
"link": 2665,
"localized_name": "block",
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": 2781,
"localized_name": "restore_mask",
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 213,
"outputs": [
{
"links": null,
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [
2491
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1250,
-730
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.19.1"
},
"size": [
390,
510
],
"type": "PreviewBridge",
"widgets_values": [
"$1044-0",
{
"filename": "clipspace-paint-86416443.png",
"subfolder": "clipspace",
"type": "input"
},
"always"
]
},
{
"flags": {
"collapsed": true
},
"id": 1110,
"inputs": [
{
"link": 2370,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image",
"name": "image",
"type": "STRING",
"widget": {
"name": "image"
}
},
{
"link": null,
"localized_name": "block",
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": null,
"localized_name": "restore_mask",
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 143,
"outputs": [
{
"links": [
2371
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": null,
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
720,
-1130
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.20.0"
},
"size": [
270,
338
],
"title": "Bridge",
"type": "PreviewBridge",
"widgets_values": [
"$1110-0",
false,
"never"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": false
},
"id": 170,
"inputs": [
{
"link": null,
"localized_name": "group_mode",
"name": "group_mode",
"type": "BOOLEAN",
"widget": {
"name": "group_mode"
}
},
{
"link": null,
"localized_name": "default_active",
"name": "default_active",
"type": "BOOLEAN",
"widget": {
"name": "default_active"
}
},
{
"link": null,
"localized_name": "allow_strength_adjustment",
"name": "allow_strength_adjustment",
"type": "BOOLEAN",
"widget": {
"name": "allow_strength_adjustment"
}
},
{
"link": 253,
"name": "trigger_words",
"shape": 7,
"type": "string"
}
],
"mode": 0,
"order": 137,
"outputs": [
{
"links": [
254,
2470
],
"localized_name": "filtered_trigger_words",
"name": "filtered_trigger_words",
"type": "STRING"
}
],
"pos": [
-1320,
-520
],
"properties": {
"Node name for S&R": "TriggerWord Toggle (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
300,
260
],
"type": "TriggerWord Toggle (LoraManager)",
"widgets_values": [
false,
[
{
"active": true,
"text": "self breast sucking"
}
],
[
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "fur"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "detailed fur"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "body fur"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "tuft"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "fluffy"
}
],
[
{
"active": false,
"highlighted": false,
"strength": 0.8399999999999999,
"text": "tapering_penis_with_sheath"
},
{
"active": false,
"highlighted": false,
"strength": 1.06,
"text": "long_penis"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"highlighted": false,
"strength": null,
"text": "short_penis"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"highlighted": false,
"strength": 1.04,
"text": "tp_w$"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"highlighted": false,
"strength": null,
"text": "feline penis"
}
],
"tapering_penis_with_sheath,, long_penis,, short_penis,, tp_w$,, feline penis"
]
},
{
"flags": {},
"id": 1041,
"inputs": [
{
"link": 2275,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 96,
"outputs": [],
"pos": [
980,
1010
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
440,
440
],
"type": "PreviewImage",
"widgets_values": []
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 122,
"inputs": [
{
"link": 218,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 136,
"outputs": [
{
"links": [
176,
177
],
"name": "",
"type": "CLIP"
}
],
"pos": [
-820,
-590
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 161,
"inputs": [
{
"link": null,
"localized_name": "action",
"name": "action",
"type": "COMBO",
"widget": {
"name": "action"
}
},
{
"link": null,
"localized_name": "tidy_tags",
"name": "tidy_tags",
"type": "COMBO",
"widget": {
"name": "tidy_tags"
}
},
{
"link": 2468,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 254,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": 2446,
"localized_name": "text_c",
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 151,
"outputs": [
{
"links": [
2447
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-980,
-520
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "9f7b3215e6af317603056a9a1666bf6e83e28835"
},
"size": [
210,
298
],
"title": "String Function",
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 1011,
"inputs": [],
"mode": 0,
"order": 24,
"outputs": [
{
"links": [
2646
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
1400,
1580
],
"properties": {},
"size": [
210,
50
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 977,
"inputs": [
{
"link": 2250,
"name": "LATENT",
"type": "LATENT"
}
],
"mode": 0,
"order": 193,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-100,
-660
],
"properties": {
"previousName": "latent_0"
},
"size": [
210,
60
],
"title": "Set_latent_0",
"type": "SetNode",
"widgets_values": [
"latent_0"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 142,
"inputs": [
{
"link": 342,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": null,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"link": null,
"localized_name": "parser",
"name": "parser",
"type": "COMBO",
"widget": {
"name": "parser"
}
},
{
"link": null,
"localized_name": "mean_normalization",
"name": "mean_normalization",
"type": "BOOLEAN",
"widget": {
"name": "mean_normalization"
}
},
{
"link": null,
"localized_name": "multi_conditioning",
"name": "multi_conditioning",
"type": "BOOLEAN",
"widget": {
"name": "multi_conditioning"
}
},
{
"link": null,
"localized_name": "use_old_emphasis_implementation",
"name": "use_old_emphasis_implementation",
"type": "BOOLEAN",
"widget": {
"name": "use_old_emphasis_implementation"
}
},
{
"link": null,
"localized_name": "with_SDXL",
"name": "with_SDXL",
"type": "BOOLEAN",
"widget": {
"name": "with_SDXL"
}
},
{
"link": null,
"localized_name": "ascore",
"name": "ascore",
"type": "FLOAT",
"widget": {
"name": "ascore"
}
},
{
"link": null,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": null,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "crop_w",
"name": "crop_w",
"type": "INT",
"widget": {
"name": "crop_w"
}
},
{
"link": null,
"localized_name": "crop_h",
"name": "crop_h",
"type": "INT",
"widget": {
"name": "crop_h"
}
},
{
"link": null,
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
}
},
{
"link": null,
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
}
},
{
"link": null,
"localized_name": "text_g",
"name": "text_g",
"type": "STRING",
"widget": {
"name": "text_g"
}
},
{
"link": null,
"localized_name": "text_l",
"name": "text_l",
"type": "STRING",
"widget": {
"name": "text_l"
}
},
{
"link": null,
"localized_name": "smZ_steps",
"name": "smZ_steps",
"shape": 7,
"type": "INT",
"widget": {
"name": "smZ_steps"
}
}
],
"mode": 0,
"order": 145,
"outputs": [
{
"links": [
2158,
2159,
2210
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1110,
450
],
"properties": {
"Node name for S&R": "smZ CLIPTextEncode",
"cnr_id": "comfyui_smznodes",
"ver": "1.2.12"
},
"size": [
370,
170
],
"type": "smZ CLIPTextEncode",
"widgets_values": [
"worst quality, bad quality, grainy, noisy, render, filmgrain, watermark\n\n(source_anime, source_cartoon, panels,score_1, daz_studio, blender, source_filmmaker, 3d, sfm:1.6)",
"A1111",
false,
true,
false,
false,
6,
1024,
1024,
0,
0,
1024,
1024,
"",
"",
1
]
},
{
"flags": {},
"id": 1223,
"inputs": [
{
"link": 2622,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 129,
"outputs": [],
"pos": [
2410,
1060
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.56"
},
"size": [
210,
258
],
"type": "PreviewImage",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1174,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 25,
"outputs": [
{
"links": [
2466
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
400,
370
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"type": "PrimitiveStringMultiline",
"widgets_values": [
"(real life, cinematic, stunningly beautiful, masterpiece, best quality:1.5), source_furry, \n\ncinematic, chromatic abberration, bokeh, vibrant colors, contrast\n\nreal, detailed, digital photography, professional photo, photorealism, sharp, exposure blend, volumetric, ray tracing, hdr, 4k, 8k, absurd res, realistic, (best quality, good quality:1.2)\nBREAK"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 972,
"inputs": [
{
"link": 2051,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "model_type",
"name": "model_type",
"type": "COMBO",
"widget": {
"name": "model_type"
}
},
{
"link": null,
"localized_name": "res_mode",
"name": "res_mode",
"type": "COMBO",
"widget": {
"name": "res_mode"
}
},
{
"link": null,
"localized_name": "upscale_mode",
"name": "upscale_mode",
"type": "COMBO",
"widget": {
"name": "upscale_mode"
}
},
{
"link": null,
"localized_name": "ca_upscale_mode",
"name": "ca_upscale_mode",
"type": "COMBO",
"widget": {
"name": "ca_upscale_mode"
}
}
],
"mode": 0,
"order": 167,
"outputs": [
{
"links": [
2052
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
-710,
-600
],
"properties": {
"Node name for S&R": "ApplyRAUNetSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
250,
130
],
"type": "ApplyRAUNetSimple",
"widgets_values": [
"auto",
"high (1536-2048)",
"default",
"default"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 971,
"inputs": [
{
"link": 2449,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "model_type",
"name": "model_type",
"type": "COMBO",
"widget": {
"name": "model_type"
}
}
],
"mode": 0,
"order": 149,
"outputs": [
{
"links": [
2051
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
-970,
-600
],
"properties": {
"Node name for S&R": "ApplyMSWMSAAttentionSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
249.257421875,
58
],
"type": "ApplyMSWMSAAttentionSimple",
"widgets_values": [
"auto"
]
},
{
"flags": {
"collapsed": false
},
"id": 1184,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 26,
"outputs": [
{
"links": [
2474
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
580,
480
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
210,
300
],
"title": "Additional prompt",
"type": "PrimitiveStringMultiline",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1241,
"inputs": [
{
"link": 2772,
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE"
},
{
"link": 2663,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 130,
"outputs": [
{
"links": [
2662
],
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
-670,
-50
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"size": [
140,
46
],
"type": "VAEEncode",
"widgets_values": []
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 1239,
"inputs": [],
"mode": 0,
"order": 27,
"outputs": [
{
"links": [
2659,
2663
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
-1160,
-50
],
"properties": {},
"size": [
210,
50.00000762939453
],
"title": "Get_VAE",
"type": "GetNode",
"widgets_values": [
"VAE"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 978,
"inputs": [],
"mode": 0,
"order": 28,
"outputs": [
{
"links": [
2658
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
-1180,
-10
],
"properties": {},
"size": [
210,
60
],
"title": "Get_latent_0",
"type": "GetNode",
"widgets_values": [
"latent_0"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 1233,
"inputs": [
{
"link": 2646,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "preprocessor",
"name": "preprocessor",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "preprocessor"
}
},
{
"link": null,
"localized_name": "resolution",
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": {
"name": "resolution"
}
}
],
"mode": 0,
"order": 94,
"outputs": [
{
"links": [
2644
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
1560,
1550
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"LineArtPreprocessor",
1344
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1008,
"inputs": [
{
"link": 2462,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2235,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2233,
"localized_name": "control_net",
"name": "control_net",
"type": "CONTROL_NET"
},
{
"link": 2228,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
}
},
{
"link": null,
"localized_name": "start_percent",
"name": "start_percent",
"type": "FLOAT",
"widget": {
"name": "start_percent"
}
},
{
"link": null,
"localized_name": "end_percent",
"name": "end_percent",
"type": "FLOAT",
"widget": {
"name": "end_percent"
}
}
],
"mode": 4,
"order": 203,
"outputs": [
{
"links": [
2229
],
"localized_name": "positive",
"name": "positive",
"slot_index": 0,
"type": "CONDITIONING"
},
{
"links": [
2230
],
"localized_name": "negative",
"name": "negative",
"slot_index": 1,
"type": "CONDITIONING"
}
],
"pos": [
2410,
820
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
186
],
"type": "ControlNetApplyAdvanced",
"widgets_values": [
1,
0,
0.9
]
},
{
"flags": {},
"id": 1178,
"inputs": [
{
"link": 2470,
"localized_name": "source",
"name": "source",
"type": "*"
}
],
"mode": 0,
"order": 152,
"outputs": [],
"pos": [
-980,
-340
],
"properties": {
"Node name for S&R": "PreviewAny",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
210,
112
],
"type": "PreviewAny",
"widgets_values": [
null,
null,
false
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": false
},
"id": 100,
"inputs": [],
"mode": 0,
"order": 29,
"outputs": [],
"pos": [
-2010,
-1030
],
"properties": {},
"size": [
219.9107421875,
110
],
"title": "Recommended Resolutions",
"type": "Note",
"widgets_values": [
"768×1344 (9:16)\n832×1216 (2:3)\n896×1152 (3:4)\n1024×1024 (1:1)\n1152×896 (4:3)\n1216×832 (3:2)\n1344×768 (16:9)"
]
},
{
"flags": {},
"id": 1181,
"inputs": [
{
"link": 2473,
"localized_name": "source",
"name": "source",
"type": "*"
}
],
"mode": 0,
"order": 90,
"outputs": [],
"pos": [
-1340,
-1270
],
"properties": {
"Node name for S&R": "PreviewAny",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
430,
340
],
"type": "PreviewAny",
"widgets_values": [
null,
null,
false
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 1042,
"inputs": [],
"mode": 0,
"order": 30,
"outputs": [
{
"links": [
2275
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
830,
1040
],
"properties": {},
"size": [
210,
34
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {
"collapsed": true
},
"id": 1165,
"inputs": [
{
"link": 2450,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "sage_attention",
"name": "sage_attention",
"type": "COMBO",
"widget": {
"name": "sage_attention"
}
},
{
"link": null,
"localized_name": "allow_compile",
"name": "allow_compile",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "allow_compile"
}
}
],
"mode": 0,
"order": 135,
"outputs": [
{
"links": [
2448,
2449
],
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
-1220,
-660
],
"properties": {
"Node name for S&R": "PathchSageAttentionKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.3"
},
"size": [
210,
58
],
"type": "PathchSageAttentionKJ",
"widgets_values": [
"auto",
false
]
},
{
"flags": {
"collapsed": true
},
"id": 497,
"inputs": [
{
"link": 972,
"localized_name": "inpainted",
"name": "inpainted",
"type": "IMAGE"
},
{
"link": 1423,
"localized_name": "overlay_image",
"name": "overlay_image",
"type": "IMAGE"
},
{
"link": 1424,
"localized_name": "crop_region",
"name": "crop_region",
"type": "CROP_REGION"
}
],
"mode": 0,
"order": 128,
"outputs": [
{
"links": [
2588
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
2670,
510
],
"properties": {
"Node name for S&R": "OverlayInpaintedImage",
"aux_id": "m0rtus59/comfyui-art-venture",
"cnr_id": "comfyui-art-venture",
"ver": "1.0.7"
},
"size": [
192.43026733398438,
66
],
"title": "Overlay Inpainted",
"type": "OverlayInpaintedImage",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1173,
"inputs": [
{
"link": 2464,
"localized_name": "on_true",
"name": "on_true",
"type": "CONDITIONING"
},
{
"link": 2465,
"localized_name": "on_false",
"name": "on_false",
"type": "CONDITIONING"
},
{
"link": 2463,
"localized_name": "boolean",
"name": "boolean",
"type": "BOOLEAN",
"widget": {
"name": "boolean"
}
}
],
"mode": 0,
"order": 199,
"outputs": [
{
"links": [
2462
],
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING"
}
],
"pos": [
2200,
580
],
"properties": {
"Node name for S&R": "Switch conditioning [Crystools]",
"cnr_id": "comfyui-crystools",
"ver": "1.26.6"
},
"size": [
270,
78
],
"type": "Switch conditioning [Crystools]",
"widgets_values": [
true
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 916,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 31,
"outputs": [
{
"links": [
2463
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1680,
750
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
58
],
"title": "Replace prompt",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1049,
"inputs": [
{
"link": 2383,
"localized_name": "image_1",
"name": "image_1",
"shape": 7,
"type": "IMAGE"
},
{
"link": 2371,
"localized_name": "image_2",
"name": "image_2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image_3",
"name": "image_3",
"shape": 7,
"type": "IMAGE"
},
{
"link": 2377,
"localized_name": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
}
},
{
"link": null,
"localized_name": "safety_settings",
"name": "safety_settings",
"type": "COMBO",
"widget": {
"name": "safety_settings"
}
},
{
"link": null,
"localized_name": "response_type",
"name": "response_type",
"type": "COMBO",
"widget": {
"name": "response_type"
}
},
{
"link": null,
"localized_name": "model",
"name": "model",
"type": "COMBO",
"widget": {
"name": "model"
}
},
{
"link": 2310,
"localized_name": "api_key",
"name": "api_key",
"shape": 7,
"type": "STRING",
"widget": {
"name": "api_key"
}
},
{
"link": null,
"localized_name": "proxy",
"name": "proxy",
"shape": 7,
"type": "STRING",
"widget": {
"name": "proxy"
}
},
{
"link": 2396,
"localized_name": "system_instruction",
"name": "system_instruction",
"shape": 7,
"type": "STRING",
"widget": {
"name": "system_instruction"
}
},
{
"link": null,
"localized_name": "error_fallback_value",
"name": "error_fallback_value",
"shape": 7,
"type": "STRING",
"widget": {
"name": "error_fallback_value"
}
},
{
"link": null,
"localized_name": "seed",
"name": "seed",
"shape": 7,
"type": "INT",
"widget": {
"name": "seed"
}
},
{
"link": null,
"localized_name": "temperature",
"name": "temperature",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "temperature"
}
},
{
"link": null,
"localized_name": "num_predict",
"name": "num_predict",
"shape": 7,
"type": "INT",
"widget": {
"name": "num_predict"
}
}
],
"mode": 2,
"order": 159,
"outputs": [
{
"links": [
2303,
2362
],
"localized_name": "text",
"name": "text",
"type": "STRING"
}
],
"pos": [
870,
-1130
],
"properties": {
"Node name for S&R": "Ask_Gemini",
"cnr_id": "comfyui-gemini",
"ver": "1.1.2"
},
"size": [
270,
392
],
"type": "Ask_Gemini",
"widgets_values": [
"Why number 42 is important?",
"BLOCK_NONE",
"text",
"gemini-2.5-pro",
"",
"",
"",
"",
0,
"fixed",
-0.05,
0
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": false
},
"id": 199,
"inputs": [
{
"link": 2742,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": null,
"localized_name": "stop_at_clip_layer",
"name": "stop_at_clip_layer",
"type": "INT",
"widget": {
"name": "stop_at_clip_layer"
}
}
],
"mode": 0,
"order": 106,
"outputs": [
{
"links": [
2680
],
"localized_name": "CLIP",
"name": "CLIP",
"slot_index": 0,
"type": "CLIP"
}
],
"pos": [
-310,
450
],
"properties": {
"Node name for S&R": "CLIPSetLastLayer",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
58
],
"type": "CLIPSetLastLayer",
"widgets_values": [
-2
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 666,
"inputs": [
{
"link": 1492,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 188,
"outputs": [
{
"links": [
2284
],
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
2050,
510
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
82,
26
],
"type": "Reroute"
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 499,
"inputs": [
{
"link": 988,
"localized_name": "samples",
"name": "samples",
"type": "LATENT"
},
{
"link": 1431,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
},
{
"link": null,
"localized_name": "tile_size",
"name": "tile_size",
"type": "INT",
"widget": {
"name": "tile_size"
}
},
{
"link": null,
"localized_name": "overlap",
"name": "overlap",
"type": "INT",
"widget": {
"name": "overlap"
}
},
{
"link": null,
"localized_name": "temporal_size",
"name": "temporal_size",
"type": "INT",
"widget": {
"name": "temporal_size"
}
},
{
"link": null,
"localized_name": "temporal_overlap",
"name": "temporal_overlap",
"type": "INT",
"widget": {
"name": "temporal_overlap"
}
}
],
"mode": 0,
"order": 98,
"outputs": [
{
"links": [
972
],
"localized_name": "IMAGE",
"name": "IMAGE",
"slot_index": 0,
"type": "IMAGE"
}
],
"pos": [
2480,
510
],
"properties": {
"Node name for S&R": "VAEDecodeTiled",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
150
],
"title": "VAE Decode",
"type": "VAEDecodeTiled",
"widgets_values": [
1024,
64,
64,
8
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {},
"id": 702,
"inputs": [
{
"link": 1427,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 97,
"outputs": [
{
"links": [
1428,
1430
],
"name": "",
"type": "VAE"
}
],
"pos": [
2530,
440
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 506,
"inputs": [],
"mode": 0,
"order": 32,
"outputs": [
{
"links": [
1427,
1431
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
2350,
470
],
"properties": {},
"size": [
210,
50
],
"title": "Get_VAE",
"type": "GetNode",
"widgets_values": [
"VAE"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 510,
"inputs": [],
"mode": 0,
"order": 33,
"outputs": [
{
"links": [
988
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
2300,
510
],
"properties": {},
"size": [
210,
60
],
"title": "Get_InpaintLatent",
"type": "GetNode",
"widgets_values": [
"InpaintLatent"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 5,
"inputs": [
{
"link": 2776,
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE"
},
{
"link": 979,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 172,
"outputs": [
{
"links": [
2688
],
"localized_name": "LATENT",
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
1860,
40
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
46
],
"type": "VAEEncode",
"widgets_values": []
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 930,
"inputs": [
{
"link": 2651,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "preprocessor",
"name": "preprocessor",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "preprocessor"
}
},
{
"link": 1957,
"localized_name": "resolution",
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": {
"name": "resolution"
}
}
],
"mode": 0,
"order": 155,
"outputs": [
{
"links": [
1946
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
650,
60
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"Manga2Anime_LineArt_Preprocessor",
1344
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 163,
"inputs": [
{
"link": 2741,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"link": 2680,
"name": "clip",
"shape": 7,
"type": "CLIP"
},
{
"link": null,
"name": "lora_stack",
"shape": 7,
"type": "LORA_STACK"
}
],
"mode": 0,
"order": 122,
"outputs": [
{
"links": [
2452
],
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL"
},
{
"links": [
339
],
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP"
},
{
"links": [
263
],
"localized_name": "trigger_words",
"name": "trigger_words",
"type": "STRING"
},
{
"links": [],
"localized_name": "loaded_loras",
"name": "loaded_loras",
"type": "STRING"
}
],
"pos": [
-70,
400
],
"properties": {
"Node name for S&R": "Lora Loader (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
290,
380
],
"type": "Lora Loader (LoraManager)",
"widgets_values": [
"",
[]
]
},
{
"flags": {
"collapsed": true
},
"id": 1123,
"inputs": [],
"mode": 0,
"order": 34,
"outputs": [
{
"links": [
2404
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-30,
-1060
],
"properties": {},
"size": [
210,
60
],
"title": "Get_startover",
"type": "GetNode",
"widgets_values": [
"startover"
]
},
{
"flags": {
"collapsed": false
},
"id": 1256,
"inputs": [
{
"link": null,
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
}
},
{
"link": null,
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
}
}
],
"mode": 0,
"order": 35,
"outputs": [
{
"links": [
2698
],
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
-1550,
230
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
530,
82
],
"type": "UNETLoader",
"widgets_values": [
"mystuff\\bananastrike+ratatoskr_texturing_mix_00001_.safetensors",
"default"
]
},
{
"flags": {},
"id": 1255,
"inputs": [
{
"link": 2698,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": 2701,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": null,
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
}
},
{
"link": null,
"localized_name": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
}
},
{
"link": null,
"localized_name": "strength_clip",
"name": "strength_clip",
"type": "FLOAT",
"widget": {
"name": "strength_clip"
}
}
],
"mode": 0,
"order": 100,
"outputs": [
{
"links": [],
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL"
},
{
"links": [],
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP"
}
],
"pos": [
-830,
230
],
"properties": {
"Node name for S&R": "LoraLoader",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
270,
126
],
"type": "LoraLoader",
"widgets_values": [
"ILL\\KFT_Furropean_Extreme_IL-000004.safetensors",
0.6000000000000001,
1
]
},
{
"flags": {
"collapsed": false
},
"id": 1257,
"inputs": [
{
"link": null,
"localized_name": "clip_name1",
"name": "clip_name1",
"type": "COMBO",
"widget": {
"name": "clip_name1"
}
},
{
"link": null,
"localized_name": "clip_name2",
"name": "clip_name2",
"type": "COMBO",
"widget": {
"name": "clip_name2"
}
},
{
"link": null,
"localized_name": "type",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
}
},
{
"link": null,
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
}
}
],
"mode": 0,
"order": 36,
"outputs": [
{
"links": [
2701
],
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP"
}
],
"pos": [
-1560,
360
],
"properties": {
"Node name for S&R": "DualCLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
460,
130
],
"type": "DualCLIPLoader",
"widgets_values": [
"mystuff\\furelisev3+ratatoskr_clip_g_00001_.safetensors",
"mystuff\\furelisev3+ratatoskr_clip_l_00001_.safetensors",
"sdxl",
"default"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1245,
"inputs": [],
"mode": 0,
"order": 37,
"outputs": [],
"pos": [
-1890,
-760
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"explicit, size difference, duo, massive muscular anthro tiger male and a small anthro lynx male, in a steamy shower stall, water spraying down their bodies, the tiger is standing with a smug grin, one hand braced against the tiled wall, the lynx is on his knees, eagerly performing fellatio, deepthroating the tiger's huge, erect humanoid penis, tiger's hand on the back of the lynx's head, guiding him, the lynx's eyes are wide with adoration and effort, wet fur, glistening bodies, steam, low angle shot, deep throat, tears"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1263,
"inputs": [],
"mode": 0,
"order": 38,
"outputs": [],
"pos": [
-1980,
-760
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, lynx, male, femboy, slender, (black fur. black body:1.4), yellow eyes, thin waist, flat chested, long hair, straight hair, hair over eye, black leather collar, adolescent, kemono, young,\n\nmessy bedroom, cum on nose, shy, awe, looking up, foreskin, open mouth, tongue, fellatio, side view, solo focus, cum on face, cum on tongue, cumshot, cum on hair, bukkake, cum in hands, cupping palms"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1244,
"inputs": [],
"mode": 0,
"order": 39,
"outputs": [],
"pos": [
-1890,
-800
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"solo, anthro, lynx, male, femboy, very long hair, yellow eyes, (black fur, black body:1.4), collar, straight hair, low twintail, hairband, plain red loose t-shirt, shorts, coffee mug in hands, reclined on chair by the computer, dynamic angle, cozy room"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 780,
"inputs": [],
"mode": 0,
"order": 40,
"outputs": [],
"pos": [
-1890,
-880
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"masterpiece, best quality, amazing quality, very aesthetic, high resolution, Dynamic Angle, ultra-detailed, absurdres, newest, puffy anus, crotchboobs, bnipples, equine, horse, skindentation, beach, sand, ocean, sunset, ray tracing, detailed fur, on towel, looking back, standing, close up, horse tail, froghoof, hooves, detailed eyes, long lashes, makeup, beautiful, female, 1girl, presenting hindquarters, ass focus, blue eyes, looking back, smug, bubble butt, round ass, (white fur), ((partially visible vulva, partially visible anus, pussy peek, anus peek, skindentation, string bikini, pussy floss, fit body, collar, black hair, sweating, sweaty, large crotchboobs, seductive look, eclit))"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1243,
"inputs": [],
"mode": 0,
"order": 41,
"outputs": [],
"pos": [
-1890,
-840
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"solo, anthro, lynx, male, femboy, from behind, looking back, over-the-shoulder, lifting own clothes, flustered, embarrassed blush, (black fur, black body:1.4), very long hair, hair over one eye, yellow eyes, round glasses, collar, sheer white babydoll nightgown, white translucent thighhighs, bottomless, presenting hindquarters, detailed butt, cozy bedroom, soft morning light, sunbeam, detailed background"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 464,
"inputs": [
{
"link": 2648,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "preprocessor",
"name": "preprocessor",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "preprocessor"
}
},
{
"link": 1090,
"localized_name": "resolution",
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": {
"name": "resolution"
}
}
],
"mode": 4,
"order": 154,
"outputs": [
{
"links": [
875
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
650,
200
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"LineArtPreprocessor",
1344
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1269,
"inputs": [
{
"link": null,
"localized_name": "ckpt_name",
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
}
}
],
"mode": 2,
"order": 42,
"outputs": [
{
"links": [
2729
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [
2727
],
"localized_name": "CLIP",
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [],
"localized_name": "VAE",
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-1632.4090577373645,
-1776.0636702075612
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
370,
100
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"ILL\\chromaxlMix_v4Sorbet.safetensors"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1270,
"inputs": [
{
"link": 2729,
"localized_name": "model1",
"name": "model1",
"type": "MODEL"
},
{
"link": 2730,
"localized_name": "model2",
"name": "model2",
"type": "MODEL"
},
{
"link": null,
"localized_name": "ratio",
"name": "ratio",
"type": "FLOAT",
"widget": {
"name": "ratio"
}
}
],
"mode": 2,
"order": 101,
"outputs": [
{
"links": [],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
-1232.4090577373645,
-1776.0636702075612
],
"properties": {
"Node name for S&R": "ModelMergeSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
210,
80
],
"type": "ModelMergeSimple",
"widgets_values": [
0.7000000000000001
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1267,
"inputs": [
{
"link": null,
"localized_name": "ckpt_name",
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
}
}
],
"mode": 2,
"order": 43,
"outputs": [
{
"links": [
2730
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [
2728
],
"localized_name": "CLIP",
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [],
"localized_name": "VAE",
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-1632.4090577373645,
-1636.0636702075612
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
370,
100
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"ILL\\novaFurryXL_illustriousV30.safetensors"
]
},
{
"flags": {
"collapsed": true
},
"id": 965,
"inputs": [],
"mode": 0,
"order": 44,
"outputs": [
{
"links": [
2048,
2077
],
"name": "sampler",
"type": "COMBO"
},
{
"links": null,
"name": "sampler_name",
"type": "STRING"
}
],
"pos": [
-650,
-140
],
"properties": {
"Node name for S&R": "Sampler Selector (Image Saver)",
"cnr_id": "comfyui-image-saver",
"ver": "1.10.1"
},
"size": [
210,
78
],
"title": "Sampler",
"type": "Sampler Selector (Image Saver)",
"widgets_values": [
"euler_ancestral"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 73,
"inputs": [
{
"link": 1961,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "model_type",
"name": "model_type",
"type": "COMBO",
"widget": {
"name": "model_type"
}
},
{
"link": null,
"localized_name": "res_mode",
"name": "res_mode",
"type": "COMBO",
"widget": {
"name": "res_mode"
}
},
{
"link": null,
"localized_name": "upscale_mode",
"name": "upscale_mode",
"type": "COMBO",
"widget": {
"name": "upscale_mode"
}
},
{
"link": null,
"localized_name": "ca_upscale_mode",
"name": "ca_upscale_mode",
"type": "COMBO",
"widget": {
"name": "ca_upscale_mode"
}
}
],
"mode": 4,
"order": 166,
"outputs": [
{
"links": [
2171
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
-710,
-660
],
"properties": {
"Node name for S&R": "ApplyRAUNetSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
250,
130
],
"type": "ApplyRAUNetSimple",
"widgets_values": [
"auto",
"low (1024 or lower)",
"default",
"default"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 69,
"inputs": [
{
"link": 2448,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "model_type",
"name": "model_type",
"type": "COMBO",
"widget": {
"name": "model_type"
}
}
],
"mode": 4,
"order": 148,
"outputs": [
{
"links": [
1961
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
-970,
-660
],
"properties": {
"Node name for S&R": "ApplyMSWMSAAttentionSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
249.257421875,
60
],
"type": "ApplyMSWMSAAttentionSimple",
"widgets_values": [
"auto"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1262,
"inputs": [],
"mode": 0,
"order": 45,
"outputs": [],
"pos": [
-1980,
-800
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, snow_leopard, female, long grey hair, blue eyes, sitting on couch, messy stretched grey t-shirt, nipple outline, boxers, bulge, messy dorm room, smirk, pulls down the boxers, half erect, foreskin, upward view, (crotch focus:1.2), precum"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1261,
"inputs": [],
"mode": 0,
"order": 46,
"outputs": [],
"pos": [
-1980,
-840
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, snow_leopard, female, long grey hair, blue eyes, sitting on couch, messy stretched grey t-shirt, nipple outline, boxers, bulge, messy dorm room, smirk"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1268,
"inputs": [
{
"link": 2727,
"localized_name": "clip1",
"name": "clip1",
"type": "CLIP"
},
{
"link": 2728,
"localized_name": "clip2",
"name": "clip2",
"type": "CLIP"
},
{
"link": null,
"localized_name": "ratio",
"name": "ratio",
"type": "FLOAT",
"widget": {
"name": "ratio"
}
}
],
"mode": 2,
"order": 102,
"outputs": [
{
"links": [],
"localized_name": "CLIP",
"name": "CLIP",
"slot_index": 0,
"type": "CLIP"
}
],
"pos": [
-1232.4090577373645,
-1636.0636702075612
],
"properties": {
"Node name for S&R": "CLIPMergeSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
210,
78
],
"type": "CLIPMergeSimple",
"widgets_values": [
0.2
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {},
"id": 139,
"inputs": [
{
"link": 2171,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": 2293,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2294,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2295,
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT"
},
{
"link": 795,
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
}
},
{
"link": 2078,
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": 2079,
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
},
{
"link": 2077,
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
},
{
"link": 2256,
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
}
},
{
"link": null,
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
}
}
],
"mode": 0,
"order": 180,
"outputs": [
{
"links": [
2247,
2250
],
"localized_name": "LATENT",
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
-430,
-690
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
270,
486
],
"type": "KSampler",
"widgets_values": [
972130262925020,
"fixed",
20,
4,
"euler_ancestral",
"beta",
1
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1265,
"inputs": [],
"mode": 0,
"order": 47,
"outputs": [],
"pos": [
-970,
-170
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"(best quality, good quality:1.2), detailed background, depth of field, photorealistic details, volumetric lighting, by kenket, impressionism\nBREAK"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1264,
"inputs": [],
"mode": 0,
"order": 48,
"outputs": [],
"pos": [
-970,
-210
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"masterpiece, best quality, amazing quality, absurdres, 8k, solo\n\nby zaush, by kenket, by braeburned, by raaz, by demicoeur"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {},
"id": 1176,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 49,
"outputs": [
{
"links": [
2468
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1320,
-220
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
300,
120
],
"title": "Pretext",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"masterpiece, best quality, amazing quality, absurdres, 8k, solo\n\nby zaush, by kenket, by braeburned, by raaz, by demicoeur"
]
},
{
"flags": {
"collapsed": true
},
"id": 1028,
"inputs": [],
"mode": 0,
"order": 50,
"outputs": [
{
"links": [
2255,
2256
],
"name": "scheduler",
"type": "COMBO"
},
{
"links": null,
"name": "scheduler_name",
"type": "STRING"
}
],
"pos": [
-660,
-90
],
"properties": {
"Node name for S&R": "Scheduler Selector (Image Saver)",
"cnr_id": "comfyui-image-saver",
"ver": "1.12.0"
},
"size": [
310.7749938964844,
78
],
"title": "Scheduler",
"type": "Scheduler Selector (Image Saver)",
"widgets_values": [
"normal"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1260,
"inputs": [],
"mode": 0,
"order": 51,
"outputs": [],
"pos": [
-1980,
-880
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, lynx, male, femboy, slender, (black fur. black body:1.4), yellow eyes, thin waist, flat chested, long hair, straight hair, hair over eye, black leather collar, adolescent, kemono, young,\n\nwhite thigh high socks, kitchen, bare shoulder, oversized sweater, from back, fridge, presenting hindquarters"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 8,
"inputs": [
{
"link": 11,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 12,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 1540,
"localized_name": "control_net",
"name": "control_net",
"type": "CONTROL_NET"
},
{
"link": 2170,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
}
},
{
"link": null,
"localized_name": "start_percent",
"name": "start_percent",
"type": "FLOAT",
"widget": {
"name": "start_percent"
}
},
{
"link": null,
"localized_name": "end_percent",
"name": "end_percent",
"type": "FLOAT",
"widget": {
"name": "end_percent"
}
}
],
"mode": 0,
"order": 197,
"outputs": [
{
"links": [
2493
],
"localized_name": "positive",
"name": "positive",
"slot_index": 0,
"type": "CONDITIONING"
},
{
"links": [
2497
],
"localized_name": "negative",
"name": "negative",
"slot_index": 1,
"type": "CONDITIONING"
}
],
"pos": [
1530,
130
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
186
],
"type": "ControlNetApplyAdvanced",
"widgets_values": [
0.6,
0,
0.7
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {},
"id": 1177,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 52,
"outputs": [
{
"links": [
2469
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-980,
-470
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
210,
88
],
"title": "Negative",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"(worst quality, bad quality:1.2), sketch"
]
},
{
"flags": {
"collapsed": true
},
"id": 897,
"inputs": [
{
"link": 2489,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "expand",
"name": "expand",
"type": "INT",
"widget": {
"name": "expand"
}
},
{
"link": null,
"localized_name": "tapered_corners",
"name": "tapered_corners",
"type": "BOOLEAN",
"widget": {
"name": "tapered_corners"
}
}
],
"mode": 0,
"order": 216,
"outputs": [
{
"links": [
2490
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1520,
-780
],
"properties": {
"Node name for S&R": "GrowMask",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
210,
82
],
"type": "GrowMask",
"widgets_values": [
5,
true
]
},
{
"flags": {
"collapsed": true
},
"id": 896,
"inputs": [
{
"link": 2492,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "kernel_size",
"name": "kernel_size",
"type": "INT",
"widget": {
"name": "kernel_size"
}
},
{
"link": null,
"localized_name": "sigma",
"name": "sigma",
"type": "FLOAT",
"widget": {
"name": "sigma"
}
}
],
"mode": 0,
"order": 220,
"outputs": [
{
"links": [
1904,
1905
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1840,
-720
],
"properties": {
"Node name for S&R": "ImpactGaussianBlurMask",
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.1"
},
"size": [
210,
82
],
"title": "Blur Mask",
"type": "ImpactGaussianBlurMask",
"widgets_values": [
5,
10
]
},
{
"flags": {},
"id": 909,
"inputs": [
{
"link": 1905,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 223,
"outputs": [],
"pos": [
1980,
-710
],
"properties": {
"Node name for S&R": "MaskPreview",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
450,
470
],
"type": "MaskPreview",
"widgets_values": []
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": false
},
"id": 132,
"inputs": [
{
"link": null,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": null,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
}
}
],
"mode": 0,
"order": 53,
"outputs": [
{
"links": [
796
],
"localized_name": "LATENT",
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
-1790,
-1030
],
"properties": {
"Node name for S&R": "EmptyLatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
106
],
"type": "EmptyLatentImage",
"widgets_values": [
1216,
832,
1
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1266,
"inputs": [
{
"link": 2739,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "b1",
"name": "b1",
"type": "FLOAT",
"widget": {
"name": "b1"
}
},
{
"link": null,
"localized_name": "b2",
"name": "b2",
"type": "FLOAT",
"widget": {
"name": "b2"
}
},
{
"link": null,
"localized_name": "s1",
"name": "s1",
"type": "FLOAT",
"widget": {
"name": "s1"
}
},
{
"link": null,
"localized_name": "s2",
"name": "s2",
"type": "FLOAT",
"widget": {
"name": "s2"
}
}
],
"mode": 4,
"order": 110,
"outputs": [
{
"links": [
2725
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
-2030,
-720
],
"properties": {
"Node name for S&R": "FreeU_V2",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
210,
130
],
"type": "FreeU_V2",
"widgets_values": [
1.1,
1.2,
0.6,
0.4
]
},
{
"flags": {},
"id": 1180,
"inputs": [
{
"link": 2472,
"localized_name": "source",
"name": "source",
"type": "*"
}
],
"mode": 0,
"order": 86,
"outputs": [],
"pos": [
-1790,
-1270
],
"properties": {
"Node name for S&R": "PreviewAny",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
200
],
"title": "Suggested prompt",
"type": "PreviewAny",
"widgets_values": [
null,
null,
false
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1121,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 54,
"outputs": [
{
"links": [
2388
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-1120,
-890
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
58
],
"title": "Start over",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1118,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 55,
"outputs": [
{
"links": [
2386
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-1340,
-890
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
58
],
"title": "Use LM",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 900,
"inputs": [
{
"link": 2480,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "invert",
"name": "invert",
"type": "BOOLEAN",
"widget": {
"name": "invert"
}
},
{
"link": null,
"localized_name": "red",
"name": "red",
"type": "INT",
"widget": {
"name": "red"
}
},
{
"link": null,
"localized_name": "green",
"name": "green",
"type": "INT",
"widget": {
"name": "green"
}
},
{
"link": null,
"localized_name": "blue",
"name": "blue",
"type": "INT",
"widget": {
"name": "blue"
}
},
{
"link": null,
"localized_name": "threshold",
"name": "threshold",
"type": "INT",
"widget": {
"name": "threshold"
}
},
{
"link": null,
"localized_name": "per_batch",
"name": "per_batch",
"type": "INT",
"widget": {
"name": "per_batch"
}
}
],
"mode": 0,
"order": 173,
"outputs": [
{
"links": [
2767
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
350,
-770
],
"properties": {
"Node name for S&R": "ColorToMask",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.2"
},
"size": [
270,
178
],
"type": "ColorToMask",
"widgets_values": [
false,
255,
255,
255,
255,
1
]
},
{
"flags": {
"collapsed": true
},
"id": 887,
"inputs": [
{
"link": 1894,
"localized_name": "image",
"name": "image",
"shape": 7,
"type": "IMAGE"
},
{
"link": 2754,
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask_opacity",
"name": "mask_opacity",
"type": "FLOAT",
"widget": {
"name": "mask_opacity"
}
},
{
"link": null,
"localized_name": "mask_color",
"name": "mask_color",
"type": "STRING",
"widget": {
"name": "mask_color"
}
},
{
"link": null,
"localized_name": "pass_through",
"name": "pass_through",
"type": "BOOLEAN",
"widget": {
"name": "pass_through"
}
}
],
"mode": 0,
"order": 194,
"outputs": [
{
"links": [
1857
],
"localized_name": "composite",
"name": "composite",
"type": "IMAGE"
}
],
"pos": [
710,
-700
],
"properties": {
"Node name for S&R": "ImageAndMaskPreview",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.2"
},
"size": [
270,
126
],
"title": "Preview",
"type": "ImageAndMaskPreview",
"widgets_values": [
0.8000000000000002,
"255, 0, 255",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1198,
"inputs": [
{
"link": 2762,
"localized_name": "destination",
"name": "destination",
"type": "MASK"
},
{
"link": 2761,
"localized_name": "source",
"name": "source",
"type": "MASK"
},
{
"link": null,
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
}
},
{
"link": null,
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
}
},
{
"link": null,
"localized_name": "operation",
"name": "operation",
"type": "COMBO",
"widget": {
"name": "operation"
}
}
],
"mode": 4,
"order": 195,
"outputs": [
{
"links": [
2487
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
710,
-780
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"add"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 78,
"inputs": [
{
"link": 109,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 110,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 1541,
"localized_name": "control_net",
"name": "control_net",
"type": "CONTROL_NET"
},
{
"link": 2168,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE"
},
{
"link": null,
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
}
},
{
"link": null,
"localized_name": "start_percent",
"name": "start_percent",
"type": "FLOAT",
"widget": {
"name": "start_percent"
}
},
{
"link": null,
"localized_name": "end_percent",
"name": "end_percent",
"type": "FLOAT",
"widget": {
"name": "end_percent"
}
}
],
"mode": 0,
"order": 198,
"outputs": [
{
"links": [
2494
],
"localized_name": "positive",
"name": "positive",
"slot_index": 0,
"type": "CONDITIONING"
},
{
"links": [
2498
],
"localized_name": "negative",
"name": "negative",
"slot_index": 1,
"type": "CONDITIONING"
}
],
"pos": [
1530,
360
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
186
],
"type": "ControlNetApplyAdvanced",
"widgets_values": [
1,
0,
0.95
]
},
{
"flags": {},
"id": 1252,
"inputs": [
{
"link": 2691,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": 2689,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2690,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2688,
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT"
},
{
"link": null,
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
}
},
{
"link": null,
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": null,
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
},
{
"link": null,
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
},
{
"link": null,
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
}
},
{
"link": null,
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
}
}
],
"mode": 0,
"order": 205,
"outputs": [
{
"links": [
2684
],
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
2050,
-50
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.65"
},
"size": [
260,
550
],
"type": "KSampler",
"widgets_values": [
0,
"fixed",
30,
4,
"euler_ancestral",
"normal",
0.85
]
},
{
"flags": {
"collapsed": true
},
"id": 1199,
"inputs": [
{
"link": 2487,
"localized_name": "destination",
"name": "destination",
"type": "MASK"
},
{
"link": 2488,
"localized_name": "source",
"name": "source",
"type": "MASK"
},
{
"link": null,
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
}
},
{
"link": null,
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
}
},
{
"link": null,
"localized_name": "operation",
"name": "operation",
"type": "COMBO",
"widget": {
"name": "operation"
}
}
],
"mode": 0,
"order": 214,
"outputs": [
{
"links": [
2489
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1250,
-780
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"subtract"
]
},
{
"flags": {
"collapsed": true
},
"id": 1200,
"inputs": [
{
"link": 2490,
"localized_name": "destination",
"name": "destination",
"type": "MASK"
},
{
"link": 2491,
"localized_name": "source",
"name": "source",
"type": "MASK"
},
{
"link": null,
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
}
},
{
"link": null,
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
}
},
{
"link": null,
"localized_name": "operation",
"name": "operation",
"type": "COMBO",
"widget": {
"name": "operation"
}
}
],
"mode": 0,
"order": 218,
"outputs": [
{
"links": [
2492
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1670,
-720
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"add"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1250,
"inputs": [
{
"link": null,
"localized_name": "ckpt_name",
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
}
}
],
"mode": 0,
"order": 56,
"outputs": [
{
"links": [
2741
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [
2742
],
"localized_name": "CLIP",
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [],
"localized_name": "VAE",
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-740,
400
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
400,
98
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"furry-refiner-mix.safetensors"
]
},
{
"flags": {
"collapsed": true
},
"id": 559,
"inputs": [
{
"link": 2649,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2666,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 138,
"outputs": [
{
"links": null,
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [
1089,
1090,
1957
],
"localized_name": "number1",
"name": "number1",
"type": "*"
},
{
"links": [],
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [],
"localized_name": "text1",
"name": "text1",
"type": "*"
},
{
"links": null,
"localized_name": "text2",
"name": "text2",
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": null,
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": null,
"localized_name": "any2",
"name": "any2",
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
410,
270
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true,
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1175,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 57,
"outputs": [
{
"links": [
2666
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
260,
270
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"# Extract image tensor, assuming it's a batched Torch tensor\nimg = image1.data[0] # remove batch dimension\n\n# Get shape: height and width\nheight, width = img.shape[:2]\n\n# Pick smaller side\nsmaller = min(height, width)\n\n# Bucket to nearest multiple of 64\nsmaller = round(smaller / 64) * 64\n\n# Set output\nnumber1.to(int(smaller))\n\n# For debugging\nprint(f\"Fixed image shape: {img.shape}\")\nprint(f\"Smaller side (bucketed to 64): {smaller}\")\n"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"pinned": true
},
"id": 157,
"inputs": [
{
"link": 2725,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
},
{
"link": 215,
"name": "clip",
"shape": 7,
"type": "CLIP"
},
{
"link": null,
"name": "lora_stack",
"shape": 7,
"type": "LORA_STACK"
}
],
"mode": 0,
"order": 124,
"outputs": [
{
"links": [
2450
],
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL"
},
{
"links": [
218
],
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP"
},
{
"links": [
253
],
"localized_name": "trigger_words",
"name": "trigger_words",
"type": "STRING"
},
{
"links": [],
"localized_name": "loaded_loras",
"name": "loaded_loras",
"type": "STRING"
}
],
"pos": [
-1790,
-610
],
"properties": {
"Node name for S&R": "Lora Loader (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
440,
510
],
"type": "Lora Loader (LoraManager)",
"widgets_values": [
"<lora:cfg_scale_boost:0.60><lora:DetailedFur:1.00><lora:Tapering_Penis_With_Sheath_IL:0.60><lora:feline-penis-pdxl:0.60>",
[
{
"active": true,
"clipStrength": 0.6,
"expanded": false,
"name": "cfg_scale_boost",
"strength": 0.6
},
{
"active": false,
"clipStrength": 1,
"expanded": false,
"name": "DetailedFur",
"strength": 1
},
{
"active": true,
"clipStrength": "0.60",
"expanded": false,
"name": "Tapering_Penis_With_Sheath_IL",
"strength": "0.60"
},
{
"active": true,
"clipStrength": "0.60",
"expanded": false,
"name": "feline-penis-pdxl",
"strength": "0.60"
}
]
]
},
{
"flags": {
"collapsed": true
},
"id": 1168,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 58,
"outputs": [
{
"links": [
2454
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
180,
-1250
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"text1_extracted = ''\n\nif isinstance(getattr(any1, 'data', None), str):\n data = any1.data\n\n # Remove all text inside *...*\n import re\n text1_extracted = re.sub(r'\\*.*?\\*', '', data).strip()\n\ntext1.to(text1_extracted)\n"
]
},
{
"flags": {
"collapsed": true
},
"id": 1171,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 59,
"outputs": [
{
"links": [
2457
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
730,
-960
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import os\nfrom PIL import Image\nimport torchvision.transforms as T\n\ntemp_dir = os.path.join('.', 'ComfyUI', 'temp')\nos.makedirs(temp_dir, exist_ok=True)\n\nsave_path = os.path.join(temp_dir, 'tempimage1.png')\nlog_path = os.path.join('.', 'ComfyUI', 'input', 'log.txt') # changed from temp to input\n\nif any1:\n # Wipe tempimage1.png if exists\n if os.path.exists(save_path):\n os.remove(save_path)\n # Create or empty log.txt in 'input' folder\n with open(log_path, 'w') as f:\n pass # just open in write mode to truncate file or create it\nelse:\n # Extract tensor from wrapper\n tensor = image1.tensor if hasattr(image1, 'tensor') else image1.image if hasattr(image1, 'image') else image1.data\n\n # Assume tensor shape is [1, H, W, C], take first frame and first 3 channels, permute to [C, H, W]\n tensor = tensor[0, :, :, :3].permute(2, 0, 1)\n\n # Normalize if needed\n if tensor.max() > 1.0:\n tensor = tensor / 255.0\n\n # Convert and save\n T.ToPILImage()(tensor).save(save_path)\n"
]
},
{
"flags": {
"collapsed": true
},
"id": 1081,
"inputs": [
{
"link": 2334,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": 2348,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2401,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2457,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 120,
"outputs": [
{
"links": [],
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": [],
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"slot_index": 4,
"type": "*"
},
{
"links": null,
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [],
"localized_name": "text1",
"name": "text1",
"slot_index": 6,
"type": "*"
},
{
"links": [],
"localized_name": "text2",
"name": "text2",
"slot_index": 7,
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": null,
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": [],
"localized_name": "any2",
"name": "any2",
"slot_index": 11,
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
870,
-1000
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "1493d77cb9a05f065afe53381b69ada867231f8b"
},
"size": [
310,
546
],
"title": "Clean",
"type": "Exec Python Code Script",
"widgets_values": [
"# Default text1 and text2 to empty strings\r\ntext1_extracted = ''\r\ntext2_extracted = ''\r\n\r\n# Ensure any1.data exists and is a string\r\nif hasattr(any1, 'data') and isinstance(any1.data, str):\r\n # Extract text between the last \"ASSISTANT: \" and \"=== End History ===\"\r\n assistant_index = any1.data.rfind(\"ASSISTANT: \")\r\n end_history_index = any1.data.rfind(\"=== End History ===\")\r\n\r\n if assistant_index != -1 and end_history_index != -1 and assistant_index < end_history_index:\r\n text2_extracted = any1.data[assistant_index + len(\"ASSISTANT: \"):end_history_index].strip()\r\n\r\n # Extract text between the last `<!CLIP=` tag and `>` closing tag\r\n last_clip_end = any1.data.rfind('>') # Find the last closing tag\r\n if last_clip_end != -1:\r\n last_clip_start = any1.data.rfind('<!CLIP=', 0, last_clip_end) # Find the last opening tag before it\r\n if last_clip_start != -1:\r\n # Extract text between the tags\r\n text1_extracted = any1.data[last_clip_start + len('<!CLIP='):last_clip_end].strip()\r\n\r\n# Assign the extracted values\r\ntext1.to(text1_extracted)\r\ntext2.to(text2_extracted)\r\n",
0,
0,
"LLM Turned Off",
"LLM Turned Off",
true
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 410,
"inputs": [],
"mode": 0,
"order": 60,
"outputs": [
{
"links": [
789
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
-870,
-1260
],
"properties": {},
"size": [
210,
60
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {
"pinned": true
},
"id": 409,
"inputs": [
{
"link": 789,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 108,
"outputs": [],
"pos": [
-900,
-1270
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"size": [
600,
540
],
"type": "PreviewImage",
"widgets_values": []
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {},
"id": 428,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "INT",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 61,
"outputs": [
{
"links": [
798
],
"localized_name": "INT",
"name": "INT",
"type": "INT"
}
],
"pos": [
-1570,
-1030
],
"properties": {
"Node name for S&R": "PrimitiveInt",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"size": [
220,
82
],
"title": "Seed",
"type": "PrimitiveInt",
"widgets_values": [
969075871447415,
"fixed"
]
},
{
"flags": {
"collapsed": true
},
"id": 82,
"inputs": [
{
"link": null,
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": {
"name": "model_name"
}
}
],
"mode": 0,
"order": 62,
"outputs": [
{
"links": null,
"localized_name": "BBOX_DETECTOR",
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR"
},
{
"links": [
2675
],
"localized_name": "SEGM_DETECTOR",
"name": "SEGM_DETECTOR",
"slot_index": 1,
"type": "SEGM_DETECTOR"
}
],
"pos": [
-100,
-820
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider",
"cnr_id": "comfyui-impact-subpack",
"ver": "1.2.9"
},
"size": [
370,
80
],
"title": "UltralyticsDetector",
"type": "UltralyticsDetectorProvider",
"widgets_values": [
"segm/fdetailerAdetailerFor_v11.pt"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 505,
"inputs": [],
"mode": 0,
"order": 63,
"outputs": [
{
"links": [
979
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
1700,
40
],
"properties": {},
"size": [
210,
50.00000762939453
],
"title": "Get_VAE",
"type": "GetNode",
"widgets_values": [
"VAE"
]
},
{
"flags": {
"collapsed": true
},
"id": 1294,
"inputs": [
{
"link": 2775,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2773,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2774,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 156,
"outputs": [
{
"links": [
2776
],
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"type": "*"
},
{
"links": [],
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [],
"localized_name": "text1",
"name": "text1",
"type": "*"
},
{
"links": null,
"localized_name": "text2",
"name": "text2",
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": null,
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": null,
"localized_name": "any2",
"name": "any2",
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
1660,
-180
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"title": "Upscale to a bucket",
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1238,
"inputs": [
{
"link": 2658,
"localized_name": "samples",
"name": "samples",
"type": "LATENT"
},
{
"link": 2659,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 95,
"outputs": [
{
"links": [
2771
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
-1020,
-20
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"size": [
140,
46
],
"type": "VAEDecode",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1288,
"inputs": [
{
"link": 2771,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2770,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2768,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 119,
"outputs": [
{
"links": [
2772
],
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"type": "*"
},
{
"links": [],
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [],
"localized_name": "text1",
"name": "text1",
"type": "*"
},
{
"links": null,
"localized_name": "text2",
"name": "text2",
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": null,
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": null,
"localized_name": "any2",
"name": "any2",
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
-860,
-20
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"title": "Upscale to a bucket",
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1289,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 64,
"outputs": [
{
"links": [
2768
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-980,
20
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import torch\nimport torch.nn.functional as F\n\nimg = image1.data # [B,H,W,C] NHWC\nscale = float(any1.data)\n\n# Convert to float if needed\nif not torch.is_floating_point(img):\n img = img.float() / 255.0\n\nB, H, W, C = img.shape\n\n# Determine smaller side\nif H < W:\n smaller, larger = H, W\n smaller_is_height = True\nelse:\n smaller, larger = W, H\n smaller_is_height = False\n\n# Scale smaller side and bucket to nearest multiple of 64\nsmaller_scaled = smaller * scale\nsmaller_bucket = max(64, round(smaller_scaled / 64) * 64)\n\n# Compute larger side to preserve aspect ratio\nlarger_scaled = larger * (smaller_bucket / smaller)\n# Bucket larger side to nearest multiple of 64\nlarger_bucket = max(64, round(larger_scaled / 64) * 64)\n\n# Assign final H and W preserving aspect ratio\nif smaller_is_height:\n new_H, new_W = smaller_bucket, larger_bucket\nelse:\n new_W, new_H = smaller_bucket, larger_bucket\n\n# Resize with interpolate\nupscaled = F.interpolate(img.permute(0,3,1,2), size=(new_H,new_W), mode='bilinear', align_corners=False)\nupscaled = upscaled.permute(0,2,3,1)\n\n# Output\nimage1.to(upscaled)\n"
]
},
{
"flags": {},
"id": 1291,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "FLOAT",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 65,
"outputs": [
{
"links": [
2770
],
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT"
}
],
"pos": [
-1100,
60
],
"properties": {
"Node name for S&R": "PrimitiveFloat",
"cnr_id": "comfy-core",
"ver": "0.3.68"
},
"size": [
210,
58
],
"title": "Upscale by",
"type": "PrimitiveFloat",
"widgets_values": [
1.5
]
},
{
"flags": {
"collapsed": true
},
"id": 989,
"inputs": [],
"mode": 0,
"order": 66,
"outputs": [
{
"links": [
2669
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-120,
230
],
"properties": {},
"size": [
210,
60
],
"title": "Get_refine",
"type": "GetNode",
"widgets_values": [
"refine"
]
},
{
"bgcolor": "#355",
"color": "#233",
"flags": {},
"id": 961,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "INT",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 67,
"outputs": [
{
"links": [
2046,
2078
],
"localized_name": "INT",
"name": "INT",
"slot_index": 0,
"type": "INT"
}
],
"pos": [
-750,
-250
],
"properties": {
"Node name for S&R": "ImpactInt",
"cnr_id": "comfyui-impact-pack",
"ver": "808b0dedf03534a2594ecb60a9d6305a044efdc2"
},
"size": [
210,
58
],
"title": "Steps",
"type": "ImpactInt",
"widgets_values": [
24
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 375,
"inputs": [
{
"link": null,
"localized_name": "ckpt_name",
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
}
}
],
"mode": 0,
"order": 68,
"outputs": [
{
"links": [
2739
],
"localized_name": "MODEL",
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [
2740
],
"localized_name": "CLIP",
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [],
"localized_name": "VAE",
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-2450,
-610
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
400,
98
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"ComfyUI_00001_.safetensors"
]
},
{
"flags": {
"collapsed": true
},
"id": 1234,
"inputs": [
{
"link": 2668,
"localized_name": "anything",
"name": "anything",
"type": "*"
}
],
"mode": 0,
"order": 125,
"outputs": [
{
"links": [
2647,
2648,
2649,
2650,
2651,
2670,
2783,
2784
],
"localized_name": "output",
"name": "output",
"type": "*"
}
],
"pos": [
210,
230
],
"properties": {
"Node name for S&R": "easy cleanGpuUsed",
"cnr_id": "comfyui-easy-use",
"ver": "1.3.3"
},
"size": [
161.3404296875,
30
],
"type": "easy cleanGpuUsed",
"widgets_values": []
},
{
"bgcolor": "#355",
"color": "#233",
"flags": {},
"id": 964,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "FLOAT",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 69,
"outputs": [
{
"links": [
2044,
2079
],
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT"
}
],
"pos": [
-750,
-360
],
"properties": {
"Node name for S&R": "PrimitiveFloat",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
58
],
"title": "CFG",
"type": "PrimitiveFloat",
"widgets_values": [
2.3
]
},
{
"flags": {
"pinned": true
},
"id": 1167,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 70,
"outputs": [
{
"links": [
2453
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1790,
-890
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"type": "PrimitiveStringMultiline",
"widgets_values": [
"anthro, male, cougar, toned body, outdoors, fantasy, summer green, sky, small penis, looking at viewer"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1023,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 71,
"outputs": [
{
"links": [
2238
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-1120,
-790
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
58
],
"title": "Hires",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 880,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 72,
"outputs": [
{
"links": [
2120
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-1340,
-790
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
58
],
"title": "Refine",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1299,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 73,
"outputs": [
{
"links": [
2786
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
900,
-640
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.44"
},
"size": [
210,
58
],
"title": "Don't touch",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"flags": {
"pinned": true
},
"id": 884,
"inputs": [
{
"link": 1857,
"localized_name": "images",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image",
"name": "image",
"type": "STRING",
"widget": {
"name": "image"
}
},
{
"link": 2786,
"localized_name": "block",
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": 2780,
"localized_name": "restore_mask",
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 210,
"outputs": [
{
"links": [
2278
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [
2488
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
830,
-730
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.1"
},
"size": [
390,
510
],
"title": "Unmnask",
"type": "PreviewBridge",
"widgets_values": [
"$884-0",
{
"filename": "clipspace-paint-12741189.png",
"subfolder": "clipspace",
"type": "input"
},
"never"
]
},
{
"flags": {},
"id": 906,
"inputs": [
{
"link": 2650,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 139,
"outputs": [
{
"links": [
1894,
2775
],
"name": "",
"type": "*"
}
],
"pos": [
530,
-210
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 973,
"inputs": [
{
"link": 2070,
"name": "IMAGE",
"type": "IMAGE"
}
],
"mode": 0,
"order": 204,
"outputs": [
{
"links": [
2782
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
490,
-610
],
"properties": {
"previousName": "image1"
},
"size": [
210,
60
],
"title": "Set_image1",
"type": "SetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {
"collapsed": true
},
"id": 1295,
"inputs": [
{
"link": 2782,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2777,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
},
{
"link": null,
"localized_name": "number1",
"name": "number1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "number1"
}
},
{
"link": null,
"localized_name": "number2",
"name": "number2",
"shape": 7,
"type": "INT",
"widget": {
"name": "number2"
}
},
{
"link": null,
"localized_name": "text1",
"name": "text1",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text1"
}
},
{
"link": null,
"localized_name": "text2",
"name": "text2",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text2"
}
},
{
"link": null,
"localized_name": "verbose",
"name": "verbose",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "verbose"
}
}
],
"mode": 0,
"order": 207,
"outputs": [
{
"links": [],
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": null,
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"type": "*"
},
{
"links": [],
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [
2780,
2781
],
"localized_name": "text1",
"name": "text1",
"type": "*"
},
{
"links": null,
"localized_name": "text2",
"name": "text2",
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": null,
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": null,
"localized_name": "any2",
"name": "any2",
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
680,
-610
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"title": "Check update",
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1296,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 74,
"outputs": [
{
"links": [
2777
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
520,
-570
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import os\nfrom PIL import Image\nimport torchvision.transforms as T\nimport hashlib\nimport torch\n\n# --- Paths ---\ntemp_dir = os.path.join('.', 'ComfyUI', 'temp')\nos.makedirs(temp_dir, exist_ok=True)\nsave_path = os.path.join(temp_dir, 'imagebuffer.png') # persistent image buffer\n\n# --- Extract input tensor ---\ntensor = image1.tensor if hasattr(image1, 'tensor') else image1.image if hasattr(image1, 'image') else image1.data\n\n# Take first frame and first 3 channels, permute to [C,H,W]\ntensor = tensor[0, :, :, :3].permute(2, 0, 1)\n\n# Normalize if needed\nif tensor.max() > 1.0:\n tensor = tensor / 255.0\n\n# --- Convert to PIL for saving / hashing ---\nimg_pil = T.ToPILImage()(tensor)\n\n# --- Compute hash of current input image ---\ncurr_bytes = img_pil.tobytes()\ncurr_hash = hashlib.sha256(curr_bytes).hexdigest()\n\n# --- Compare with saved image ---\nif os.path.exists(save_path):\n # Load previous image\n prev_img = Image.open(save_path)\n prev_hash = hashlib.sha256(prev_img.tobytes()).hexdigest()\nelse:\n prev_hash = None\n\n# --- Decide output ---\nif prev_hash == curr_hash:\n text1.data = \"always\" # <--- assign to .data\nelse:\n text1.data = \"never\"\n\n# --- Save current image to buffer ---\nimg_pil.save(save_path)\n"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": false
},
"id": 1242,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 75,
"outputs": [
{
"links": [
2665
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1010,
-870
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.44"
},
"size": [
210,
58
],
"title": "Stop if mask empty",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 967,
"inputs": [
{
"link": 2245,
"localized_name": "samples",
"name": "samples",
"type": "LATENT"
},
{
"link": 2026,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 200,
"outputs": [
{
"links": [
2070
],
"localized_name": "IMAGE",
"name": "IMAGE",
"slot_index": 0,
"type": "IMAGE"
}
],
"pos": [
30,
-610
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
140,
50
],
"title": "VAE",
"type": "VAEDecode",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1026,
"inputs": [
{
"link": 2246,
"localized_name": "on_true",
"name": "on_true",
"type": "LATENT"
},
{
"link": 2247,
"localized_name": "on_false",
"name": "on_false",
"type": "LATENT"
},
{
"link": 2248,
"localized_name": "boolean",
"name": "boolean",
"type": "BOOLEAN",
"widget": {
"name": "boolean"
}
}
],
"mode": 0,
"order": 192,
"outputs": [
{
"links": [
2245
],
"localized_name": "latent",
"name": "latent",
"type": "LATENT"
}
],
"pos": [
-100,
-610
],
"properties": {
"Node name for S&R": "Switch latent [Crystools]",
"cnr_id": "comfyui-crystools",
"ver": "1.25.2"
},
"size": [
210,
78
],
"title": "Switch",
"type": "Switch latent [Crystools]",
"widgets_values": [
true
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 504,
"inputs": [],
"mode": 0,
"order": 76,
"outputs": [
{
"links": [
2026
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
-100,
-570
],
"properties": {},
"size": [
210,
60
],
"title": "Get_VAE",
"type": "GetNode",
"widgets_values": [
"VAE"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 932,
"inputs": [],
"mode": 0,
"order": 77,
"outputs": [
{
"links": [
2483
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
-100,
-770
],
"properties": {},
"size": [
210,
60
],
"title": "Get_lineart",
"type": "GetNode",
"widgets_values": [
"lineart"
]
},
{
"flags": {
"collapsed": true
},
"id": 1246,
"inputs": [
{
"link": 2787,
"localized_name": "value",
"name": "value",
"type": "*"
},
{
"link": 2669,
"localized_name": "mode",
"name": "mode",
"type": "BOOLEAN",
"widget": {
"name": "mode"
}
},
{
"link": null,
"localized_name": "behavior",
"name": "behavior",
"type": "COMBO",
"widget": {
"name": "behavior"
}
}
],
"mode": 0,
"order": 115,
"outputs": [
{
"label": "*",
"links": [
2668
],
"localized_name": "value",
"name": "value",
"type": "*"
}
],
"pos": [
40,
230
],
"properties": {
"Node name for S&R": "ImpactControlBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.25.1"
},
"size": [
270,
82
],
"type": "ImpactControlBridge",
"widgets_values": [
true,
"Stop"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 1300,
"inputs": [],
"mode": 0,
"order": 78,
"outputs": [
{
"links": [
2787
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
-120,
270
],
"properties": {},
"size": [
210,
60
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 466,
"inputs": [
{
"link": 2647,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "preprocessor",
"name": "preprocessor",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "preprocessor"
}
},
{
"link": 1089,
"localized_name": "resolution",
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": {
"name": "resolution"
}
}
],
"mode": 0,
"order": 153,
"outputs": [
{
"links": [
878
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
650,
-130
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"DepthAnythingV2Preprocessor",
1344
]
},
{
"flags": {
"collapsed": true
},
"id": 1275,
"inputs": [
{
"link": 2745,
"localized_name": "segm_detector",
"name": "segm_detector",
"type": "SEGM_DETECTOR"
},
{
"link": 2784,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "threshold",
"name": "threshold",
"type": "FLOAT",
"widget": {
"name": "threshold"
}
},
{
"link": null,
"localized_name": "dilation",
"name": "dilation",
"type": "INT",
"widget": {
"name": "dilation"
}
}
],
"mode": 0,
"order": 142,
"outputs": [
{
"links": [
2766
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
350,
-720
],
"properties": {
"Node name for S&R": "SegmDetectorCombined_v2",
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.0"
},
"size": [
271.8443298339844,
102
],
"title": "SEGM Detector",
"type": "SegmDetectorCombined_v2",
"widgets_values": [
0.6000000000000001,
10
]
},
{
"flags": {
"collapsed": true
},
"id": 1283,
"inputs": [
{
"link": 2759,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": null,
"localized_name": "min",
"name": "min",
"type": "FLOAT",
"widget": {
"name": "min"
}
},
{
"link": null,
"localized_name": "max",
"name": "max",
"type": "FLOAT",
"widget": {
"name": "max"
}
}
],
"mode": 4,
"order": 158,
"outputs": [
{
"links": [
2761
],
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"pos": [
510,
-820
],
"properties": {
"Node name for S&R": "RemapMaskRange",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.8"
},
"size": [
210,
82
],
"type": "RemapMaskRange",
"widgets_values": [
0,
0.8
]
},
{
"flags": {
"collapsed": true
},
"id": 919,
"inputs": [
{
"link": 2675,
"localized_name": "segm_detector",
"name": "segm_detector",
"type": "SEGM_DETECTOR"
},
{
"link": 2783,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "threshold",
"name": "threshold",
"type": "FLOAT",
"widget": {
"name": "threshold"
}
},
{
"link": null,
"localized_name": "dilation",
"name": "dilation",
"type": "INT",
"widget": {
"name": "dilation"
}
}
],
"mode": 0,
"order": 141,
"outputs": [
{
"links": [
2759
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
180,
-820
],
"properties": {
"Node name for S&R": "SegmDetectorCombined_v2",
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.0"
},
"size": [
271.8443298339844,
102
],
"title": "SEGM Detector",
"type": "SegmDetectorCombined_v2",
"widgets_values": [
0.6000000000000001,
10
]
},
{
"flags": {
"collapsed": true
},
"id": 1197,
"inputs": [
{
"link": 2483,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK"
},
{
"link": 2672,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 2671,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": {
"name": "upscale_method"
}
},
{
"link": null,
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": {
"name": "keep_proportion"
}
},
{
"link": null,
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": {
"name": "pad_color"
}
},
{
"link": null,
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": {
"name": "crop_position"
}
},
{
"link": null,
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": {
"name": "divisible_by"
}
},
{
"link": null,
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
}
}
],
"mode": 0,
"order": 157,
"outputs": [
{
"links": [
2480
],
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": null,
"localized_name": "width",
"name": "width",
"type": "INT"
},
{
"links": null,
"localized_name": "height",
"name": "height",
"type": "INT"
},
{
"links": null,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"pos": [
180,
-770
],
"properties": {
"Node name for S&R": "ImageResizeKJv2",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.3"
},
"size": [
270,
336
],
"type": "ImageResizeKJv2",
"widgets_values": [
512,
512,
"nearest-exact",
"resize",
"0, 0, 0",
"center",
2,
"cpu"
]
},
{
"flags": {
"collapsed": true
},
"id": 1247,
"inputs": [
{
"link": 2670,
"localized_name": "value",
"name": "value",
"type": "IMAGE"
}
],
"mode": 0,
"order": 140,
"outputs": [
{
"links": null,
"localized_name": "batch",
"name": "batch",
"type": "INT"
},
{
"links": [
2671
],
"localized_name": "height",
"name": "height",
"type": "INT"
},
{
"links": [
2672
],
"localized_name": "width",
"name": "width",
"type": "INT"
},
{
"links": null,
"localized_name": "channel",
"name": "channel",
"type": "INT"
}
],
"pos": [
-30,
-510
],
"properties": {
"Node name for S&R": "ImpactImageInfo",
"cnr_id": "comfyui-impact-pack",
"ver": "8.25.1"
},
"size": [
150.901953125,
86
],
"type": "ImpactImageInfo",
"widgets_values": []
},
{
"flags": {},
"id": 1292,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "FLOAT",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 79,
"outputs": [
{
"links": [
2773
],
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT"
}
],
"pos": [
1410,
-150
],
"properties": {
"Node name for S&R": "PrimitiveFloat",
"cnr_id": "comfy-core",
"ver": "0.3.68"
},
"size": [
210,
58
],
"title": "Upscale by",
"type": "PrimitiveFloat",
"widgets_values": [
1.3
]
},
{
"flags": {
"collapsed": true
},
"id": 1293,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 80,
"outputs": [
{
"links": [
2774
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
1530,
-50
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import torch\nimport torch.nn.functional as F\n\nimg = image1.data # [B,H,W,C] NHWC\nscale = float(any1.data)\n\n# Convert to float if needed\nif not torch.is_floating_point(img):\n img = img.float() / 255.0\n\nB, H, W, C = img.shape\n\n# Determine smaller side\nif H < W:\n smaller, larger = H, W\n smaller_is_height = True\nelse:\n smaller, larger = W, H\n smaller_is_height = False\n\n# Scale smaller side and bucket to nearest multiple of 64\nsmaller_scaled = smaller * scale\nsmaller_bucket = max(64, round(smaller_scaled / 64) * 64)\n\n# Compute larger side to preserve aspect ratio\nlarger_scaled = larger * (smaller_bucket / smaller)\n# Bucket larger side to nearest multiple of 64\nlarger_bucket = max(64, round(larger_scaled / 64) * 64)\n\n# Assign final H and W preserving aspect ratio\nif smaller_is_height:\n new_H, new_W = smaller_bucket, larger_bucket\nelse:\n new_W, new_H = smaller_bucket, larger_bucket\n\n# Resize with interpolate\nupscaled = F.interpolate(img.permute(0,3,1,2), size=(new_H,new_W), mode='bilinear', align_corners=False)\nupscaled = upscaled.permute(0,2,3,1)\n\n# Output\nimage1.to(upscaled)\n"
]
},
{
"flags": {},
"id": 998,
"inputs": [
{
"link": 2169,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 181,
"outputs": [
{
"links": [
2170
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
1400,
130
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
82,
26
],
"type": "Reroute"
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 915,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 81,
"outputs": [
{
"links": [
2586
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1680,
650
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
60
],
"title": "Inpaint",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1274,
"inputs": [
{
"link": null,
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": {
"name": "model_name"
}
}
],
"mode": 0,
"order": 82,
"outputs": [
{
"links": null,
"localized_name": "BBOX_DETECTOR",
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR"
},
{
"links": [
2745
],
"localized_name": "SEGM_DETECTOR",
"name": "SEGM_DETECTOR",
"slot_index": 1,
"type": "SEGM_DETECTOR"
}
],
"pos": [
-100,
-720
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider",
"cnr_id": "comfyui-impact-subpack",
"ver": "1.2.9"
},
"size": [
370,
80
],
"title": "UltralyticsDetector",
"type": "UltralyticsDetectorProvider",
"widgets_values": [
"segm/person_yolov8m-seg.pt"
]
},
{
"flags": {
"collapsed": true
},
"id": 1278,
"inputs": [
{
"link": 2767,
"localized_name": "destination",
"name": "destination",
"type": "MASK"
},
{
"link": 2766,
"localized_name": "source",
"name": "source",
"type": "MASK"
},
{
"link": null,
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
}
},
{
"link": null,
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
}
},
{
"link": null,
"localized_name": "operation",
"name": "operation",
"type": "COMBO",
"widget": {
"name": "operation"
}
}
],
"mode": 0,
"order": 183,
"outputs": [
{
"links": [
2754,
2762
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
510,
-720
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"and"
]
},
{
"flags": {
"collapsed": false
},
"id": 482,
"inputs": [
{
"link": 2593,
"localized_name": "image",
"name": "image",
"type": "IMAGE"
},
{
"link": 2592,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
},
{
"link": 2644,
"localized_name": "controlnet_image",
"name": "controlnet_image",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask_blur",
"name": "mask_blur",
"type": "INT",
"widget": {
"name": "mask_blur"
}
},
{
"link": 2172,
"localized_name": "inpaint_masked",
"name": "inpaint_masked",
"type": "BOOLEAN",
"widget": {
"name": "inpaint_masked"
}
},
{
"link": null,
"localized_name": "mask_padding",
"name": "mask_padding",
"type": "INT",
"widget": {
"name": "mask_padding"
}
},
{
"link": null,
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": null,
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
}
],
"mode": 0,
"order": 118,
"outputs": [
{
"links": [
908
],
"localized_name": "inpaint_image",
"name": "inpaint_image",
"type": "IMAGE"
},
{
"links": [
1027
],
"localized_name": "inpaint_mask",
"name": "inpaint_mask",
"type": "MASK"
},
{
"links": [
1422,
1423
],
"localized_name": "overlay_image",
"name": "overlay_image",
"type": "IMAGE"
},
{
"links": [
1424
],
"localized_name": "crop_region",
"name": "crop_region",
"type": "CROP_REGION"
},
{
"links": [
2228,
2622
],
"localized_name": "controlnet_image",
"name": "controlnet_image",
"type": "IMAGE"
}
],
"pos": [
2130,
720
],
"properties": {
"Node name for S&R": "PrepareImageAndMaskForInpaint",
"aux_id": "m0rtus59/comfyui-art-venture",
"cnr_id": "comfyui-art-venture",
"ver": "1.0.7"
},
"size": [
260.0103515625,
234
],
"type": "PrepareImageAndMaskForInpaint",
"widgets_values": [
8,
false,
256,
1024,
1024
]
},
{
"flags": {},
"id": 1301,
"inputs": [
{
"link": null,
"localized_name": "samples",
"name": "samples",
"type": "LATENT"
},
{
"link": null,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 83,
"outputs": [
{
"links": null,
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
2790,
310
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.68"
},
"size": [
140,
46
],
"type": "VAEDecode",
"widgets_values": []
},
{
"flags": {
"collapsed": false
},
"id": 1185,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 84,
"outputs": [
{
"links": [
2475
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
1340,
650
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
310,
280
],
"title": "Inpaint prompt",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"cougar"
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 9,
"inputs": [
{
"link": 2684,
"localized_name": "samples",
"name": "samples",
"type": "LATENT"
},
{
"link": 1430,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
},
{
"link": null,
"localized_name": "tile_size",
"name": "tile_size",
"type": "INT",
"widget": {
"name": "tile_size"
}
},
{
"link": null,
"localized_name": "overlap",
"name": "overlap",
"type": "INT",
"widget": {
"name": "overlap"
}
},
{
"link": null,
"localized_name": "temporal_size",
"name": "temporal_size",
"type": "INT",
"widget": {
"name": "temporal_size"
}
},
{
"link": null,
"localized_name": "temporal_overlap",
"name": "temporal_overlap",
"type": "INT",
"widget": {
"name": "temporal_overlap"
}
}
],
"mode": 0,
"order": 208,
"outputs": [
{
"links": [
2589
],
"localized_name": "IMAGE",
"name": "IMAGE",
"slot_index": 0,
"type": "IMAGE"
}
],
"pos": [
2690,
450
],
"properties": {
"Node name for S&R": "VAEDecodeTiled",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
150
],
"title": "VAE Decode",
"type": "VAEDecodeTiled",
"widgets_values": [
1024,
64,
64,
8
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1000,
"inputs": [
{
"link": null,
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 85,
"outputs": [
{
"links": [
2172
],
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1680,
850
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
58
],
"title": "Inpaint Masked Only",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
}
],
"revision": 0,
"version": 0.4
}