forked from dustysys/ddetailer
-
Notifications
You must be signed in to change notification settings - Fork 2
API
Won-Kyu Park edited this page Oct 4, 2023
·
7 revisions
dictionary style API args (version independent method)
"alwayson_scripts": {
"Mu Detection Detailer": {
"args": [
{
"enabled": true,
"prompt edit": false,
"prompt edit 2": false,
"model a": "bbox/mmdet_anime-face_yolov3.pth [51e1af4a]",
"classes a": "None",
"conf a": 30, "dilation": 4,
"offset x a": 0, "offset y a": 0,
"prompt": "", "negative prompt": "",
"preprocess b": false, "bitwise": "None",
"model b":"",
"classes b": "None",
"conf b": 30, "dilation b": 4,
"offset x b": 0, "offset y b": 0,
"prompt b": "", "negative prompt b": "",
"mask blur": 4, "denoise strength": 0.4,
"inpaint full": true, "inpaint full padding": 32,
"CFG scale": 0, "steps": 0, "noise multiplier":0.0,
"sampler": "None", "checkpoint": "None", "VAE":"None", "CLIP skip": 0,
}
]
}
}
array style args (version dependent)
{
"prompt": "masterpiece, 1girl, <lora:march7th:1>",
"sampler_name": "Euler",
"alwayson_scripts": {
"Mu Detection Detailer": {
"args": [
true, # enable
false, # prompt edit
false, # prompt edit b
"bbox/mmdet_anime-face_yolov3.pth [51e1af4a]", # model_a
"None", # model classes
30, 4, # confidence a, dilation a
0, 0, # offset x, offset y
"", "", # prompt, neg prompt
false, "None", preprocess b, bitwise op
"", # model b
"None", # classes b
30, 4, # confidence b, dilation b
0, 0, # offset x b, offset y b
"", "", # prompt b, neg prompt b
4, 0.4, # mask blur, denoise strength
true, 32, # inpaint full res, inpaint full res padding
0, 0, 0.0, # cfg scale, steps, noise multiplier
"None", "None", "None", 0, # sampler, checkpoint, vae, clipskip
]
}
}
}
{
"prompt": "masterpiece, 1girl, <lora:march7th:1>",
"sampler_name": "Euler",
"alwayson_scripts": {
"Detection Detailer": {
"args": [
true,
false,
false,
"bbox/mmdet_anime-face_yolov3.pth [51e1af4a]",
30, 4,
0, 0,
"", "",
false, "None",
"",
30, 4,
0, 0,
"", "",
4, 0.4,
true, 32,
0.0, 0, 0.0
]
}
}
}