Extract character appearance policy
This commit is contained in:
@@ -144,8 +144,11 @@ Already isolated:
|
||||
- character slot JSON construction, character-cast parsing, slot normalization,
|
||||
slot summary text, slot expression override policy, slot seed helpers, and
|
||||
slot figure/ethnicity normalization live in `character_slot.py`;
|
||||
`prompt_builder.py` keeps public delegate wrappers and still resolves
|
||||
generation-time appearance context from normalized slots.
|
||||
`prompt_builder.py` keeps public delegate wrappers.
|
||||
- generation-time subject appearance selection, normalized-slot context
|
||||
resolution, slot hair/outfit/clothing selection, character-context row
|
||||
application, and character-slot-to-profile-row conversion live in
|
||||
`character_appearance.py`; `prompt_builder.py` keeps public delegate wrappers.
|
||||
- character manual-detail config, profile name/path policy, profile JSON
|
||||
normalization, descriptor assembly, save/load/rename/delete operations,
|
||||
fallback profile loading, and context override application live in
|
||||
|
||||
@@ -72,6 +72,7 @@ Core helper ownership:
|
||||
| `category_cast_config.py` | Category preset and cast preset schemas, category/cast config JSON builders, choice lists, and config parsers used by route nodes. |
|
||||
| `cast_context.py` | Generation-time cast count phrases, configured-cast context metadata, character-slot label assignment, cast-summary wording, scene-kind labels, and couple count normalization. |
|
||||
| `camera_config.py` | Camera option schema, direct/orbit/Qwen camera JSON builders, camera config parsing, plain camera directive text, and camera caption labels. |
|
||||
| `character_appearance.py` | Generation-time subject appearance selection, normalized-slot context resolution, slot hair/outfit/clothing selection, character-context row application, and character-slot-to-profile-row conversion. |
|
||||
| `character_config.py` | Character choice lists, descriptor detail/presence/slot-seed normalization, characteristic-list JSON builders/parsers, eye labels, hair config builders/parsers, and hair phrase helpers. |
|
||||
| `character_profile.py` | Character manual-detail config, profile name/path policy, profile JSON normalization, descriptor assembly, save/load/rename/delete operations, fallback profile loading, and context override application. |
|
||||
| `character_slot.py` | Character slot JSON construction, character-cast parsing, slot normalization, slot summary text, slot expression override policy, slot seed helpers, and slot figure/ethnicity normalization. |
|
||||
@@ -390,9 +391,9 @@ Important behavior:
|
||||
|
||||
Edit targets:
|
||||
|
||||
- Character slot JSON/parsing/summary: `character_slot.py`; appearance field
|
||||
generation: `_context_from_character_slot`, `_character_context_for_label`;
|
||||
character-slot label assignment:
|
||||
- Character slot JSON/parsing/summary: `character_slot.py`; generation-time
|
||||
appearance field resolution: `character_appearance.py`; character-slot label
|
||||
assignment:
|
||||
`cast_context.character_slot_label_map`; pair cast descriptor entry assembly:
|
||||
`pair_cast.cast_descriptor_entries`.
|
||||
- Profile save/load: `SxCPCharacterProfileSave`,
|
||||
|
||||
Reference in New Issue
Block a user