PonyとSDXLでXY作りたい時とかに、クォリティタグ違うんだよなぁ…という悩み。ありますよね?
今回でその悩みが解消します。
ネガティブやTi含めてモデルごとに自動で切り替えできます。
とりあえずワークフロー
{
"last_node_id": 446,
"last_link_id": 683,
"nodes": [
{
"id": 235,
"type": "Note",
"pos": [
1970,
1060
],
"size": [
210,
111.94197845458984
],
"flags": {},
"order": 0,
"mode": 2,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"0:pony\n1:SDXL\n2:SD15\n3:other"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 262,
"type": "PromptComposerTextSingle",
"pos": [
-910,
1700
],
"size": [
310,
125
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "text_in_opt",
"type": "STRING",
"link": 320,
"widget": {
"name": "text_in_opt"
},
"shape": 7
}
],
"outputs": [
{
"name": "text_out",
"type": "STRING",
"links": [
331
],
"slot_index": 0,
"shape": 3
}
],
"title": "AnimaginNegative",
"properties": {
"Node name for S&R": "PromptComposerTextSingle"
},
"widgets_values": [
"worst quality,low quality,normal quality,oldest,early,mid,",
1,
true,
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 264,
"type": "PromptComposerTextSingle",
"pos": [
-900,
1180
],
"size": [
340,
130
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "text_in_opt",
"type": "STRING",
"link": 322,
"widget": {
"name": "text_in_opt"
},
"shape": 7
}
],
"outputs": [
{
"name": "text_out",
"type": "STRING",
"links": [
330
],
"slot_index": 0,
"shape": 3
}
],
"title": "AnimaginPP",
"properties": {
"Node name for S&R": "PromptComposerTextSingle"
},
"widgets_values": [
"masterpiece,best quality,newest",
1,
true,
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 266,
"type": "PromptComposerTextSingle",
"pos": [
-1310,
1700
],
"size": [
300,
125
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "text_in_opt",
"type": "STRING",
"link": 323,
"widget": {
"name": "text_in_opt"
},
"shape": 7
}
],
"outputs": [
{
"name": "text_out",
"type": "STRING",
"links": [
328
],
"slot_index": 0,
"shape": 3
}
],
"title": "PonyNegative",
"properties": {
"Node name for S&R": "PromptComposerTextSingle"
},
"widgets_values": [
"score_6, score_5, score_4, source_cartoon,",
1,
true,
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 269,
"type": "D2 Multi Output",
"pos": [
-1330,
1480
],
"size": [
210,
160
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LIST",
"type": "LIST",
"links": [
326
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "D2 Multi Output"
},
"widgets_values": [
"STRING",
"rating_safe\nrating_questionable\nrating_explicit",
0
]
},
{
"id": 270,
"type": "GODMT_BatchGetByIndex",
"pos": [
-1330,
1370
],
"size": [
210,
60
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "LIST",
"type": "LIST",
"link": 326
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": [
321
],
"slot_index": 0,
"shape": 3
}
],
"title": "GODMT_BatchGetByIndex",
"properties": {
"Node name for S&R": "GODMT_BatchGetByIndex"
},
"widgets_values": [
0
]
},
{
"id": 271,
"type": "GODMT_Pack",
"pos": [
-1110,
1410
],
"size": [
140,
70
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "value_1",
"type": "STRING",
"link": 327
},
{
"name": "value_2",
"type": "STRING",
"link": 328
},
{
"name": "value_3",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "PACK",
"type": "PACK",
"links": [
537
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GODMT_Pack"
},
"widgets_values": []
},
{
"id": 272,
"type": "Note",
"pos": [
-910,
990
],
"size": [
357.7489318847656,
137.30465698242188
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"safe\t General\nsensitive\t Sensitive\nnsfw\t Questionable\nexplicit, nsfw\t Explicit"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 273,
"type": "GODMT_BatchGetByIndex",
"pos": [
-910,
1360
],
"size": [
210,
60
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "LIST",
"type": "LIST",
"link": 329
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": [
322
],
"slot_index": 0,
"shape": 3
}
],
"title": "GODMT_BatchGetByIndex",
"properties": {
"Node name for S&R": "GODMT_BatchGetByIndex"
},
"widgets_values": [
0
]
},
{
"id": 274,
"type": "D2 Multi Output",
"pos": [
-910,
1470
],
"size": [
210,
170
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LIST",
"type": "LIST",
"links": [
329
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "D2 Multi Output"
},
"widgets_values": [
"STRING",
"safe\nsensitive\nnsfwolf, explicit, nsfw",
0
]
},
{
"id": 275,
"type": "GODMT_Pack",
"pos": [
-680,
1410
],
"size": [
140,
70
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "value_1",
"type": "STRING",
"link": 330
},
{
"name": "value_2",
"type": "STRING",
"link": 331
},
{
"name": "value_3",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "PACK",
"type": "PACK",
"links": [
538
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GODMT_Pack"
},
"widgets_values": []
},
{
"id": 277,
"type": "GODMT_Unpack",
"pos": [
-280,
1090
],
"size": [
140,
50
],
"flags": {},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "PACK",
"type": "PACK",
"link": 539
}
],
"outputs": [
{
"name": "value_1",
"type": "*",
"links": [
318
],
"slot_index": 0,
"shape": 3
},
{
"name": "value_2",
"type": "STRING",
"links": [
337
],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "GODMT_Unpack"
},
"widgets_values": []
},
{
"id": 282,
"type": "Text Multiline",
"pos": [
-480,
1430
],
"size": [
340,
150
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
336
],
"slot_index": 0
}
],
"title": "メインNP",
"properties": {
"Node name for S&R": "Text Multiline"
},
"widgets_values": [
"bad anatomy,monochrome,blurry, lowres,watermark,3d,(censor),zoom layer,ui,text,muscular,"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 265,
"type": "Note",
"pos": [
-1330,
980
],
"size": [
357.7489318847656,
137.30465698242188
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"source_anime,アニメスタイルに\nrating_safe, 安全なコンテンツ\nrating_questionable, ちょっと怪しい\nrating_explicit, 露骨な\nscore_6, score_5, score_4, source_cartoon,"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 284,
"type": "ShowText|pysssss",
"pos": [
220,
1870
],
"size": [
350,
200
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": null,
"widget": {
"name": "text"
},
"label": "negative"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 6
}
],
"title": "NP",
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"",
"score_6, score_5, score_4, source_cartoon,, bad anatomy,monochrome,blurry, lowres,watermark,3d,(censor),zoom layer,ui,text,muscular,"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 260,
"type": "Power Prompt - Simple (rgthree)",
"pos": [
-1210,
1900
],
"size": [
480,
150
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "opt_clip",
"type": "CLIP",
"link": null,
"dir": 3,
"shape": 7
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": null,
"shape": 3,
"dir": 4,
"disabled": true,
"color_on": "#666665",
"color_off": "#666665"
},
{
"name": "TEXT",
"type": "STRING",
"links": [
320,
323
],
"slot_index": 1,
"shape": 3,
"dir": 4,
"color_off": "#7F7",
"color_on": "#7F7"
}
],
"properties": {
"Node name for S&R": "Power Prompt - Simple (rgthree)",
"combos_filter": ""
},
"widgets_values": [
"",
"CHOOSE"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 280,
"type": "Text Concatenate",
"pos": [
-90,
1330
],
"size": [
210,
140
],
"flags": {},
"order": 45,
"mode": 0,
"inputs": [
{
"name": "text_a",
"type": "STRING",
"link": 337,
"widget": {
"name": "text_a"
},
"shape": 7
},
{
"name": "text_b",
"type": "STRING",
"link": 338,
"widget": {
"name": "text_b"
},
"shape": 7
},
{
"name": "text_c",
"type": "STRING",
"link": null,
"widget": {
"name": "text_c"
},
"shape": 7
},
{
"name": "text_d",
"type": "STRING",
"link": null,
"widget": {
"name": "text_d"
},
"shape": 7
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
385
],
"slot_index": 0,
"shape": 3
}
],
"title": "NP-Concat",
"properties": {
"Node name for S&R": "Text Concatenate"
},
"widgets_values": [
", ",
"true",
"",
"",
"",
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 267,
"type": "Anything Everywhere?",
"pos": [
-50,
1570
],
"size": [
210,
150
],
"flags": {
"collapsed": true
},
"order": 51,
"mode": 0,
"inputs": [
{
"name": "STRING",
"type": "*",
"link": 386,
"shape": 7,
"color_on": ""
}
],
"outputs": [],
"properties": {
"Node name for S&R": "Anything Everywhere?",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": [
".*",
"negative",
".*",
"score_6, score_5, score_4, source_cartoon,, bad anatomy,monochrome,blurry, lowres,watermark,3d,(censor),zoom layer,ui,text,muscular,"
]
},
{
"id": 311,
"type": "Tag Duplicate Remover",
"pos": [
-70,
1510
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 48,
"mode": 0,
"inputs": [
{
"name": "tag_field",
"type": "STRING",
"link": 385,
"widget": {
"name": "tag_field"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
386
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Tag Duplicate Remover"
},
"widgets_values": [
"",
", "
]
},
{
"id": 261,
"type": "Text Concatenate",
"pos": [
-90,
1150
],
"size": [
210,
140
],
"flags": {},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "text_a",
"type": "STRING",
"link": 318,
"widget": {
"name": "text_a"
},
"shape": 7
},
{
"name": "text_b",
"type": "STRING",
"link": 319,
"widget": {
"name": "text_b"
},
"shape": 7
},
{
"name": "text_c",
"type": "STRING",
"link": null,
"widget": {
"name": "text_c"
},
"shape": 7
},
{
"name": "text_d",
"type": "STRING",
"link": null,
"widget": {
"name": "text_d"
},
"shape": 7
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
387
],
"slot_index": 0,
"shape": 3
}
],
"title": "PP-Concat",
"properties": {
"Node name for S&R": "Text Concatenate"
},
"widgets_values": [
", ",
"true",
"",
"",
"",
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 312,
"type": "Tag Duplicate Remover",
"pos": [
-80,
1090
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 47,
"mode": 0,
"inputs": [
{
"name": "tag_field",
"type": "STRING",
"link": 387,
"widget": {
"name": "tag_field"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
388
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Tag Duplicate Remover"
},
"widgets_values": [
"",
", "
]
},
{
"id": 268,
"type": "Anything Everywhere?",
"pos": [
-70,
1040
],
"size": [
210,
150
],
"flags": {
"collapsed": true
},
"order": 50,
"mode": 0,
"inputs": [
{
"name": "STRING",
"type": "*",
"link": 388,
"shape": 7,
"color_on": ""
}
],
"outputs": [],
"properties": {
"Node name for S&R": "Anything Everywhere?",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": [
".*",
"positive",
".*",
"rating_safe, score_9, score_8_up, score_7_up, score_6_up, source_anime, chibi,1girl,twintails"
]
},
{
"id": 279,
"type": "easy stylesSelector",
"pos": [
-500,
1670
],
"size": [
430,
500
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "STRING",
"link": 335,
"widget": {
"name": "positive"
},
"shape": 7,
"label": "pp"
},
{
"name": "negative",
"type": "STRING",
"link": 336,
"widget": {
"name": "negative"
},
"shape": 7,
"label": "np"
}
],
"outputs": [
{
"name": "positive",
"type": "STRING",
"links": [
319
],
"slot_index": 0
},
{
"name": "negative",
"type": "STRING",
"links": [
338
],
"slot_index": 1
}
],
"title": "easy stylesSelector",
"properties": {
"Node name for S&R": "easy stylesSelector",
"values": []
},
"widgets_values": [
"fooocus_styles",
"",
"",
""
]
},
{
"id": 283,
"type": "ShowText|pysssss",
"pos": [
220,
1600
],
"size": [
350,
210
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": null,
"widget": {
"name": "text"
},
"label": "positive"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"slot_index": 0,
"shape": 6
}
],
"title": "PP",
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"",
"rating_safe, score_9, score_8_up, score_7_up, score_6_up, source_anime, chibi,1girl,twintails"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 281,
"type": "Text Multiline",
"pos": [
-490,
1210
],
"size": [
350,
170
],
"flags": {
"collapsed": false
},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
335
],
"slot_index": 0
}
],
"title": "メインPP",
"properties": {
"Node name for S&R": "Text Multiline"
},
"widgets_values": [
"chibi,1girl,twintails"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 263,
"type": "PromptComposerTextSingle",
"pos": [
-1330,
1170
],
"size": [
350,
140
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "text_in_opt",
"type": "STRING",
"link": 321,
"widget": {
"name": "text_in_opt"
},
"shape": 7
}
],
"outputs": [
{
"name": "text_out",
"type": "STRING",
"links": [
327
],
"slot_index": 0,
"shape": 3
}
],
"title": "PonyPP",
"properties": {
"Node name for S&R": "PromptComposerTextSingle"
},
"widgets_values": [
"score_9, score_8_up, score_7_up, score_6_up, source_anime",
1,
true,
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 369,
"type": "easy anythingIndexSwitch",
"pos": [
-500,
1060
],
"size": [
210,
100
],
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "value0",
"type": "*",
"link": 537,
"shape": 7
},
{
"name": "value1",
"type": "*",
"link": 538,
"shape": 7
},
{
"name": "value2",
"type": "*",
"link": null
},
{
"name": "index",
"type": "INT",
"link": null,
"widget": {
"name": "index"
}
}
],
"outputs": [
{
"name": "value",
"type": "*",
"links": [
539
]
}
],
"title": "PromptSwitch",
"properties": {
"Node name for S&R": "easy anythingIndexSwitch"
},
"widgets_values": [
0
]
},
{
"id": 234,
"type": "D2 Multi Output",
"pos": [
1730,
980
],
"size": [
210,
200
],
"flags": {},
"order": 10,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "LIST",
"type": "LIST",
"links": [
263
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "D2 Multi Output"
},
"widgets_values": [
"STRING",
"M0E6EPMTV4D1K\nM0E6K1W05IJV3\nLZ5S9IJEG6LBV\nLC1H7HYXICFP4",
0
]
},
{
"id": 413,
"type": "ConvertAny2String",
"pos": [
-1080,
650
],
"size": [
145,
30
],
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "input1",
"type": "*",
"link": 586
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
587
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ConvertAny2String"
},
"widgets_values": []
},
{
"id": 360,
"type": "easy showAnything",
"pos": [
-1320,
780
],
"size": [
370,
80
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": 570,
"shape": 7
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "easy showAnything"
},
"widgets_values": [
"_Pony\\hamefkawaiimix_type24lightWarm.safetensors"
]
},
{
"id": 404,
"type": "Anything Everywhere?",
"pos": [
-920,
650
],
"size": [
210,
150
],
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "STRING",
"type": "*",
"link": 587,
"shape": 7,
"color_on": ""
}
],
"outputs": [],
"properties": {
"Node name for S&R": "Anything Everywhere?",
"group_restricted": 0,
"color_restricted": 1
},
"widgets_values": [
".*",
"text",
".*",
"_Pony\\hamefkawaiimix_type24lightWarm.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 405,
"type": "Anything Everywhere?",
"pos": [
-1590,
1380
],
"size": [
210,
150
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "INT",
"type": "*",
"link": 585,
"shape": 7,
"color_on": ""
}
],
"outputs": [],
"properties": {
"Node name for S&R": "Anything Everywhere?",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": [
"PromptSwitch",
"index",
".*",
"0"
]
},
{
"id": 408,
"type": "ConvertAny2Int",
"pos": [
-1740,
1410
],
"size": [
140,
30
],
"flags": {
"collapsed": true
},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "input1",
"type": "*",
"link": 584
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
585
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ConvertAny2Int"
},
"widgets_values": []
},
{
"id": 358,
"type": "D2 Regex Switcher",
"pos": [
-1730,
980
],
"size": [
300,
280
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": null,
"widget": {
"name": "text"
},
"label": "text"
},
{
"name": "prefix",
"type": "STRING",
"link": null,
"widget": {
"name": "prefix"
},
"shape": 7
},
{
"name": "suffix",
"type": "STRING",
"link": null,
"widget": {
"name": "suffix"
},
"shape": 7
}
],
"outputs": [
{
"name": "combined_text",
"type": "STRING",
"links": [
584
],
"slot_index": 0
},
{
"name": "prefix",
"type": "STRING",
"links": null
},
{
"name": "suffix",
"type": "STRING",
"links": null
},
{
"name": "index",
"type": "INT",
"links": [
509
],
"slot_index": 3
}
],
"title": "modelSwitch",
"properties": {
"Node name for S&R": "D2 Regex Switcher"
},
"widgets_values": [
"",
".*Pony.*\n--\n0\n--\n.*SDXL.*\n--\n1\n--\n.*SD15.*\n--\n1\n--\n(.+)\n--\n1\n--\n--\nnone\n",
"Comma",
"Comma",
"False",
"_Pony\\hamefkawaiimix_type24lightWarm.safetensors",
"_Pony\\mizuiropony_v12.safetensors",
"SDXL\\bluePencilXL_v700.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 337,
"type": "CheckpointLoaderSimple",
"pos": [
550,
870
],
"size": [
220,
80
],
"flags": {
"collapsed": true
},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "ckpt_name",
"type": 0,
"link": 672,
"widget": {
"name": "ckpt_name"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
442
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
443
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": null
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"Flux\\copycatFluxTestFP8_fp8V11.safetensors"
]
},
{
"id": 320,
"type": "GODMT_Pack",
"pos": [
550,
730
],
"size": [
140,
85
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "value_1",
"type": "D2_TAnnotation",
"link": 675,
"label": "value_1"
},
{
"name": "value_2",
"type": "D2_TAnnotation",
"link": 676
},
{
"name": "value_3",
"type": "STRING",
"link": 677
},
{
"name": "value_4",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "PACK",
"type": "PACK",
"links": [
409
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GODMT_Pack"
},
"widgets_values": []
},
{
"id": 317,
"type": "Efficient Loader 💬ED",
"pos": [
560,
920
],
"size": [
290,
450
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": null,
"shape": 7
},
{
"name": "cnet_stack",
"type": "CONTROL_NET_STACK",
"link": null,
"shape": 7
},
{
"name": "pixels",
"type": "IMAGE",
"link": null,
"shape": 7
},
{
"name": "mask",
"type": "MASK",
"link": null,
"shape": 7
},
{
"name": "model_opt",
"type": "MODEL",
"link": 442,
"shape": 7
},
{
"name": "clip_opt",
"type": "CLIP",
"link": 443,
"shape": 7
},
{
"name": "seed",
"type": "INT",
"link": 674,
"widget": {
"name": "seed"
}
},
{
"name": "positive",
"type": "STRING",
"link": null,
"widget": {
"name": "positive"
}
},
{
"name": "negative",
"type": "STRING",
"link": null,
"widget": {
"name": "negative"
}
}
],
"outputs": [
{
"name": "CONTEXT",
"type": "RGTHREE_CONTEXT",
"links": [
503
],
"slot_index": 0
},
{
"name": "MODEL",
"type": "MODEL",
"links": [],
"slot_index": 1
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": null
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": null
},
{
"name": "LATENT",
"type": "LATENT",
"links": null
},
{
"name": "VAE",
"type": "VAE",
"links": null
},
{
"name": "DEPENDENCIES",
"type": "DEPENDENCIES",
"links": null
}
],
"properties": {
"Node name for S&R": "Efficient Loader 💬ED",
"Use tiled VAE encode": false,
"Synchronize widget with image size": true,
"Token normalization": "none",
"Weight interpretation": "comfy"
},
"widgets_values": [
{
"content": "🔌 model_opt input",
"image": null
},
"XL\\sdxl-vae-fp16-fix.safetensors",
-2,
"✍️ Txt2Img",
1,
742616726965978,
"randomize",
7,
"euler_ancestral",
"karras",
"",
"",
1024,
1024,
null
],
"color": "#222233",
"bgcolor": "#333355",
"shape": 1
},
{
"id": 359,
"type": "GODMT_Exec",
"pos": [
-1330,
650
],
"size": [
210,
90
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "x[0]",
"type": "*",
"link": 673,
"label": "x[0]"
},
{
"name": "x[1]",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": [
570,
586
],
"slot_index": 0
}
],
"title": "GODMT_Exec",
"properties": {
"Node name for S&R": "GODMT_Exec"
},
"widgets_values": [
"result = x[0]"
]
},
{
"id": 233,
"type": "GODMT_BatchGetByIndex",
"pos": [
1970,
980
],
"size": [
210,
55
],
"flags": {},
"order": 22,
"mode": 2,
"inputs": [
{
"name": "LIST",
"type": "LIST",
"link": 263
},
{
"name": "index",
"type": "INT",
"link": null,
"widget": {
"name": "index"
}
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": [
666
],
"slot_index": 0,
"shape": 3
}
],
"title": "EagleFolderSwitch",
"properties": {
"Node name for S&R": "GODMT_BatchGetByIndex"
},
"widgets_values": [
0
]
},
{
"id": 357,
"type": "Text Find and Replace",
"pos": [
1930,
1230
],
"size": [
250,
140
],
"flags": {},
"order": 12,
"mode": 2,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": null,
"widget": {
"name": "text"
},
"label": "text"
}
],
"outputs": [
{
"name": "result_text",
"type": "STRING",
"links": [
507
],
"slot_index": 0
},
{
"name": "replacement_count_number",
"type": "NUMBER",
"links": null
},
{
"name": "replacement_count_float",
"type": "FLOAT",
"links": null
},
{
"name": "replacement_count_int",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "Text Find and Replace"
},
"widgets_values": [
"",
"^.+[/\\\\](.+)\\.[^.]+$",
"\\1"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 175,
"type": "PreviewBridge",
"pos": [
610,
1640
],
"size": [
1470,
990
],
"flags": {},
"order": 46,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 683
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
611,
669
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "PreviewBridge"
},
"widgets_values": [
"$175-0",
false,
"never"
]
},
{
"id": 237,
"type": "D2 Send Eagle",
"pos": [
2220,
990
],
"size": [
220,
350
],
"flags": {},
"order": 42,
"mode": 2,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 665
},
{
"name": "positive",
"type": "STRING",
"link": null,
"widget": {
"name": "positive"
}
},
{
"name": "negative",
"type": "STRING",
"link": null,
"widget": {
"name": "negative"
}
},
{
"name": "eagle_folder",
"type": "STRING",
"link": 666,
"widget": {
"name": "eagle_folder"
}
},
{
"name": "filename_template",
"type": "STRING",
"link": 507,
"widget": {
"name": "filename_template"
}
}
],
"outputs": [
{
"name": "positive",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "negative",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": null
}
],
"properties": {
"Node name for S&R": "D2 Send Eagle"
},
"widgets_values": [
"",
"",
"png",
true,
100,
"None",
"test",
"M0E6EPMTV4D1K",
"",
""
]
},
{
"id": 242,
"type": "Anything Everywhere?",
"pos": [
-1590,
1320
],
"size": [
320,
150
],
"flags": {
"collapsed": true
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "INT",
"type": "*",
"link": 509,
"shape": 7,
"color_on": ""
}
],
"outputs": [],
"properties": {
"Node name for S&R": "Anything Everywhere?",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": [
"EagleFolderSwitch",
"index",
".*",
"0"
]
},
{
"id": 442,
"type": "D2 Send Eagle",
"pos": [
2190,
1650
],
"size": [
250,
360
],
"flags": {},
"order": 49,
"mode": 2,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 669
},
{
"name": "positive",
"type": "STRING",
"link": null,
"widget": {
"name": "positive"
}
},
{
"name": "negative",
"type": "STRING",
"link": null,
"widget": {
"name": "negative"
}
}
],
"outputs": [
{
"name": "positive",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "negative",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": null
}
],
"title": "D2 Send Eagle-Grid",
"properties": {
"Node name for S&R": "D2 Send Eagle"
},
"widgets_values": [
"",
"",
"png",
true,
100,
"None",
"Grid",
"LHQMPIC3AI51M",
"",
""
]
},
{
"id": 298,
"type": "HighRes-Fix Script",
"pos": [
950,
990
],
"size": [
330,
275
],
"flags": {},
"order": 13,
"mode": 4,
"inputs": [
{
"name": "script",
"type": "SCRIPT",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "SCRIPT",
"type": "SCRIPT",
"links": [
670
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "HighRes-Fix Script"
},
"widgets_values": [
"latent",
"(use same)",
"nearest-exact",
"2x_NMKD-YandereNeo-Lite_320k-10k.pth",
1.25,
true,
0,
null,
13,
0.56,
1,
false,
"Kolors\\Kolors-ControlNet-Canny.safetensors",
1,
"none",
false,
null
],
"color": "#443322",
"bgcolor": "#665533",
"shape": 1
},
{
"id": 443,
"type": "Fast Groups Muter (rgthree)",
"pos": [
1292.672607421875,
641.4673461914062
],
"size": [
320,
80
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "OPT_CONNECTION",
"type": "*",
"links": null
}
],
"properties": {
"matchColors": "green",
"matchTitle": "",
"showNav": true,
"sort": "position",
"customSortAlphabet": "",
"toggleRestriction": "default"
}
},
{
"id": 351,
"type": "D2 XY Checkpoint List",
"pos": [
160,
1240
],
"size": [
320,
125
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "x / y_list",
"type": "STRING",
"links": [
671
],
"slot_index": 0
},
{
"name": "LIST",
"type": "LIST",
"links": null
}
],
"properties": {
"Node name for S&R": "D2 XY Checkpoint List"
},
"widgets_values": [
2,
"SDXL\\cyberrealisticXL_v22.safetensors",
"_Pony\\hamefkawaiimix_type24lightWarm.safetensors",
"_Pony\\7thAnimeXLPonyA_v10.safetensors",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None",
"None"
]
},
{
"id": 444,
"type": "D2 XY Plot",
"pos": [
170,
690
],
"size": [
250,
470
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "x_list",
"type": 0,
"link": 671,
"widget": {
"name": "x_list"
}
},
{
"name": "y_list",
"type": "STRING",
"link": 678,
"widget": {
"name": "y_list"
}
}
],
"outputs": [
{
"name": "X",
"type": "*",
"links": [
672,
673
]
},
{
"name": "Y",
"type": "*",
"links": [
674
]
},
{
"name": "x_annotation",
"type": "D2_TAnnotation",
"links": [
675
]
},
{
"name": "y_annotation",
"type": "D2_TAnnotation",
"links": [
676
]
},
{
"name": "status",
"type": "STRING",
"links": [
677
]
},
{
"name": "index",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "D2 XY Plot"
},
"widgets_values": [
"STRING",
"",
"",
"INT",
"",
"",
true,
219681193539525,
"randomize",
"",
"",
0
]
},
{
"id": 321,
"type": "GODMT_Unpack",
"pos": [
710,
1430
],
"size": [
140,
70
],
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "PACK",
"type": "PACK",
"link": 409
}
],
"outputs": [
{
"name": "value_1",
"type": "D2_TAnnotation",
"links": [
679
],
"slot_index": 0
},
{
"name": "value_2",
"type": "D2_TAnnotation",
"links": [
680
],
"slot_index": 1
},
{
"name": "value_3",
"type": "STRING",
"links": [
681
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "GODMT_Unpack"
},
"widgets_values": []
},
{
"id": 356,
"type": "KSampler (Efficient) 💬ED",
"pos": [
1320,
920
],
"size": [
330,
430
],
"flags": {},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "context",
"type": "RGTHREE_CONTEXT",
"link": 503
},
{
"name": "script",
"type": "SCRIPT",
"link": 670,
"shape": 7
},
{
"name": "detailer_hook",
"type": "DETAILER_HOOK",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "CONTEXT",
"type": "RGTHREE_CONTEXT",
"links": null
},
{
"name": "OUTPUT_IMAGE",
"type": "IMAGE",
"links": [
660,
665,
682
],
"slot_index": 1
},
{
"name": "STEPS",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "KSampler (Efficient) 💬ED",
"MaskDetailer mode": false,
"(MaskDetailer) drop size": 5,
"(MaskDetailer) inpaint model enable": false,
"(MaskDetailer) noise mask feather": 20,
"Use tiled VAE decode": false
},
"widgets_values": [
"from context",
14958655675233389000,
"randomize",
20,
7,
"euler_ancestral",
"karras",
1,
"auto",
512,
true,
1216,
15,
3,
1
],
"color": "#223322",
"bgcolor": "#335533",
"shape": 1
},
{
"id": 446,
"type": "D2 XY Grid Image",
"pos": [
970,
1410
],
"size": [
220,
195
],
"flags": {},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 682
},
{
"name": "x_annotation",
"type": "D2_TAnnotation",
"link": 679
},
{
"name": "y_annotation",
"type": "D2_TAnnotation",
"link": 680
},
{
"name": "status",
"type": "STRING",
"link": 681,
"widget": {
"name": "status"
}
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
683
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "D2 XY Grid Image"
},
"widgets_values": [
"",
24,
0,
false,
true
]
},
{
"id": 445,
"type": "D2 XY Seed",
"pos": [
-120,
735
],
"size": [
210,
200
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "x / y_list",
"type": "STRING",
"links": [
678
],
"slot_index": 0
},
{
"name": "LIST",
"type": "LIST",
"links": null
}
],
"properties": {
"Node name for S&R": "D2 XY Seed"
},
"widgets_values": [
"-1",
421305632474007,
"randomize"
]
}
],
"links": [
[
263,
234,
0,
233,
0,
"LIST"
],
[
318,
277,
0,
261,
0,
"STRING"
],
[
319,
279,
0,
261,
1,
"STRING"
],
[
320,
260,
1,
262,
0,
"STRING"
],
[
321,
270,
0,
263,
0,
"STRING"
],
[
322,
273,
0,
264,
0,
"STRING"
],
[
323,
260,
1,
266,
0,
"STRING"
],
[
326,
269,
0,
270,
0,
"LIST"
],
[
327,
263,
0,
271,
0,
"*"
],
[
328,
266,
0,
271,
1,
"*"
],
[
329,
274,
0,
273,
0,
"LIST"
],
[
330,
264,
0,
275,
0,
"*"
],
[
331,
262,
0,
275,
1,
"*"
],
[
335,
281,
0,
279,
0,
"STRING"
],
[
336,
282,
0,
279,
1,
"STRING"
],
[
337,
277,
1,
280,
0,
"STRING"
],
[
338,
279,
1,
280,
1,
"STRING"
],
[
385,
280,
0,
311,
0,
"STRING"
],
[
386,
311,
0,
267,
0,
"STRING"
],
[
387,
261,
0,
312,
0,
"STRING"
],
[
388,
312,
0,
268,
0,
"STRING"
],
[
409,
320,
0,
321,
0,
"PACK"
],
[
442,
337,
0,
317,
4,
"MODEL"
],
[
443,
337,
1,
317,
5,
"CLIP"
],
[
503,
317,
0,
356,
0,
"RGTHREE_CONTEXT"
],
[
507,
357,
0,
237,
4,
"STRING"
],
[
509,
358,
3,
242,
0,
"INT"
],
[
537,
271,
0,
369,
0,
"*"
],
[
538,
275,
0,
369,
1,
"*"
],
[
539,
369,
0,
277,
0,
"PACK"
],
[
570,
359,
0,
360,
0,
"*"
],
[
584,
358,
0,
408,
0,
"*"
],
[
585,
408,
0,
405,
0,
"INT"
],
[
586,
359,
0,
413,
0,
"*"
],
[
587,
413,
0,
404,
0,
"STRING"
],
[
611,
175,
0,
423,
0,
"*"
],
[
660,
356,
1,
435,
1,
"IMAGE"
],
[
665,
356,
1,
237,
0,
"IMAGE"
],
[
666,
233,
0,
237,
3,
"STRING"
],
[
669,
175,
0,
442,
0,
"IMAGE"
],
[
670,
298,
0,
356,
1,
"SCRIPT"
],
[
671,
351,
0,
444,
0,
"STRING"
],
[
672,
444,
0,
337,
0,
"*"
],
[
673,
444,
0,
359,
0,
"*"
],
[
674,
444,
1,
317,
6,
"INT"
],
[
675,
444,
2,
320,
0,
"*"
],
[
676,
444,
3,
320,
1,
"*"
],
[
677,
444,
4,
320,
2,
"*"
],
[
678,
445,
0,
444,
1,
"STRING"
],
[
679,
321,
0,
446,
1,
"D2_TAnnotation"
],
[
680,
321,
1,
446,
2,
"D2_TAnnotation"
],
[
681,
321,
2,
446,
3,
"STRING"
],
[
682,
356,
1,
446,
0,
"IMAGE"
],
[
683,
446,
0,
175,
0,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "sendEagle-GridImage",
"bounding": [
2150,
1570,
320,
470
],
"color": "#8A8",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "SDXL",
"bounding": [
-930,
900,
410,
938
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "分岐スイッチ",
"bounding": [
-1760,
900,
390,
620
],
"color": "#8AA",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "sendEagle-singleImages",
"bounding": [
1700,
890,
1030,
590
],
"color": "#8A8",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Pony",
"bounding": [
-1350,
900,
400,
948
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "現在出力中のモデル情報取得用",
"bounding": [
-1340,
560,
640,
310
],
"color": "#8AA",
"font_size": 24,
"flags": {}
},
{
"id": 7,
"title": "XY設定",
"bounding": [
140,
610,
360,
784
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909091,
"offset": [
1360.7463365913193,
-575.2078593078346
]
},
"workspace_info": {
"id": "SAL4xWqS-QTzPlPF2Iz4e",
"saveLock": false,
"cloudID": null,
"coverMediaPath": null
},
"0246.VERSION": [
0,
0,
4
],
"0246.__NAME__": {}
},
"version": 0.4
}
Install Missing Custom Nodesに出てこない可能性があるので下記は検索で入れるかtext to string,text to intの変換を別のノードで代替してください。
aria1th/ComfyUI-LogicUtils: just some logical processors
キーポイント
現在出力されているモデル(このワークフローではX)を取得し、前の記事で紹介したプロンプトの自動仕分けに繋げます。
自分で改造する場合はモデル取得位置よりプロンプトの入力位置が上流になるとエラーが出るので注意してください。
Yはseedに設定しています。複数seedで出したい場合は改行でseedを手動で入れてください。
下にあるseedはYにSeed以外の値を設定する時にランダムか固定かなどを選べます。
最新の更新でXYを-1(ランダム)で接続できるノードが追加されたので更新しました。
詳しくは本家Gitを参照ください。
各プロンプトの仕分けについて
下記記事を参考にしてください。
今回のサンプルではPonyとSDXLを入れてありますが、いくらでも増やせるので、同じPonyでもリアル系とアニメ系で分けるとかillustriousとか1.5足すとかも可能です。
混在OKとかバナーに入れつつPonyとXLしか作ってないんかいって感じですが面倒になった(自分が使わないので…)
LoRA追加したい場合は各モデル仕分けの所にStringタイプのノードを繋げばいいと思います。
同モデルタイプであればClipの後ろとかLoraStackerでもOKです。
画像の保存
Eff-EDからSaveにつながっている所は、各個別画像を保存します。
下段のPreviewBridgeからつながっている所はGrid画像だけ保存します。
スイッチでON,OFF切り替えできるようになっています。
どちらもON,どちらもOFFも可能です。
最後に
ノードが更新されたタイミングとかで部分的にエラー出る場合とかもありますが、基本的には更新して繋ぎ直せば問題ないことが多いはずです。
分からないことがあれば直接聞いて下さい。(記事に追加されるでしょう…)