Extract SDXL tag policy

This commit is contained in:
2026-06-27 11:48:54 +02:00
parent 8fc3abc504
commit 2605fae3eb
5 changed files with 325 additions and 196 deletions
+6 -3
View File
@@ -399,7 +399,7 @@ Keep here:
- trigger behavior;
- style and quality presets;
- final style/body/quality prompt assembly;
- nude-weight setting and explicit-tag helper policy;
- nude-weight setting;
- negative-prompt assembly.
Already isolated:
@@ -408,8 +408,11 @@ Already isolated:
tag extraction behind `SDXLRowTagRequest`, `SDXLPairTagRequest`,
`SDXLTagRouteDependencies`, and `SDXLTagRoute`; `sdxl_formatter.py` keeps
compatibility wrappers plus final style/quality/trigger assembly.
- metadata-family tag hints from `action_family`, `position_family`, and
`position_keys`.
- `sdxl_tag_policy.py` owns SDXL tag splitting, tag-key dedupe, count inference,
character descriptor tags, metadata-family hint tags, camera tags,
explicit/nude helper tags, and route dependency assembly.
- metadata-family tag hint data from `action_family`, `position_family`, and
`position_keys` stays in `sdxl_presets.py` and is read by `sdxl_tag_policy.py`.
- shared row route metadata reads from `route_metadata.py`.
- shared formatter input parsing from `formatter_input.py`.
- style presets, quality presets, default negative prompt, and action/position