detailer enable vl models

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-08 16:24:00 +02:00
parent 44eebcd19b
commit e10ec40e2c
8 changed files with 224 additions and 12 deletions
+1 -1
View File
@@ -366,7 +366,7 @@
{"id":"","label":"dynamic","localized":"","hint":"Dynamic shifting automatically adjusts the denoising schedule based on your image resolution.<br><br>The scheduler interpolates between base_shift and max_shift based on actual image resolution.<br><br>Enabling disables static Flow shift.","ui":"txt2img"},
{"id":"","label":"Detailer models","localized":"","hint":"<i>YOLO</i> detection models used to find regions to re-render. Multiple models can be selected and they run in sequence.<br>Models live in <code>models/yolo</code>. Filename hints at target: face-* detects faces, eyes-* detects eyes, hand-* detects hands, person-* detects whole subjects, and so on.<br>Models with <code>-seg</code> in the name produce a precise segmentation outline (used when <b><i>Use segmentation</i></b> is on); the rest produce only bounding boxes.<br><br>Per-model overrides can be appended with colon syntax, for example <code>face-yolo8n:conf=0.5:strength=0.4</code>.","ui":"txt2img"},
{"id":"","label":"Detailer list","localized":"","hint":"","ui":"txt2img"},
{"id":"","label":"Detailer classes","localized":"","hint":"Comma-separated list of class names to keep when the selected detailer model is multi-class (e.g., a <i>YOLO</i> model that detects faces, eyes, and hands all in one file).<br>Only detections matching these labels are processed; everything else is dropped. Leave empty to accept all classes.<br><br>Names must match the model's class names exactly (case-insensitive). Single-class models like a face-only detector ignore this field.","ui":"txt2img"},
{"id":"","label":"Detailer classes or instructions","localized":"","hint":"When using standard single-mode model, this field is ignored<br>When using multi-class model such as YOLO, this field should include comma-separated list of class names to keep or leave blank to detect all known classes<br>When using VL model such as Qwen, this field should contain human readable instructions on what to detect","ui":"txt2img"},
{"id":"","label":"Detailer prompt","localized":"","hint":"Optional dedicated prompt for the detailer pass.<br>Leave empty to inherit the main prompt. Useful for steering the inpaint differently from the rest of the image: a face detailer can use just <code>portrait, sharp eyes, detailed skin</code> while the main prompt covers the full scene.<br><br>The placeholder <code>[PROMPT]</code> (or <code>[prompt]</code>) is replaced with the original main prompt, so you can append to it: <code>[PROMPT], detailed face</code>.","ui":"txt2img"},
{"id":"","label":"Detailer negative prompt","localized":"","hint":"Optional dedicated negative prompt for the detailer pass.<br>Leave empty to inherit the main negative prompt. Same <code>[PROMPT]</code> / <code>[prompt]</code> placeholder behavior as the positive detailer prompt: it expands to the original main negative prompt.","ui":"txt2img"},
{"id":"","label":"Detailer steps","localized":"","hint":"Number of sampling steps used for each detailer inpaint pass.<br>Independent of the main generation steps. Higher values give cleaner detail but cost more time per detected region.<br><br>Set to <b>0</b> to inherit the main generation step count.<br>Default 10.","ui":"txt2img"},