Synchronize pair side metadata
This commit is contained in:
@@ -195,7 +195,9 @@ Already isolated:
|
||||
- final row and pair text normalization lives in `row_normalization.py`,
|
||||
covering trigger prepending, extra-positive append, negative merge/dedupe,
|
||||
caption-part joining, embedded soft/hard row output synchronization, and row
|
||||
sanitation before metadata leaves generation.
|
||||
sanitation before metadata leaves generation. It also copies side-specific
|
||||
pair metadata, such as soft partner styling and hardcore clothing/detail
|
||||
state, onto the embedded soft/hard rows.
|
||||
|
||||
### Pair / Adapter Layer
|
||||
|
||||
@@ -232,7 +234,9 @@ Already isolated:
|
||||
shape; the final cleanup step is delegated to `row_normalization.py`.
|
||||
Embedded soft/hard rows are synchronized to the final pair prompt, caption,
|
||||
and negative outputs during normalization so serialized pair metadata does
|
||||
not carry stale standalone row text.
|
||||
not carry stale standalone row text. Side-specific structured fields are
|
||||
synchronized there too, including soft partner styling and hardcore clothing
|
||||
continuity metadata.
|
||||
|
||||
### Krea2 Formatter Path
|
||||
|
||||
@@ -441,7 +445,7 @@ Medium-term:
|
||||
Near-term:
|
||||
|
||||
- Normalize pair metadata with one helper, including embedded row prompt,
|
||||
caption, and negative synchronization.
|
||||
caption, negative, and side-specific metadata synchronization.
|
||||
- Confirm pair prompts, captions, and soft/hard rows carry the same sanitized
|
||||
scene/camera/clothing fields.
|
||||
- Keep same-room pair continuity synchronized in both assembled prompt text and
|
||||
|
||||
@@ -96,7 +96,7 @@ Core helper ownership:
|
||||
| `scene_camera_adapters.py` | Location-aware camera/scene prose such as coworking lounge camera layout. |
|
||||
| `krea_cast.py` | Shared formatter cast descriptor parsing, cast labels, cast prose, natural cast descriptor text, and label replacement used by Krea2 and caption routes. |
|
||||
| `prompt_hygiene.py` | Generic prompt, caption, and negative-prompt cleanup. |
|
||||
| `row_normalization.py` | Final prompt-row and pair metadata normalization: trigger prepending, extra-positive append, negative merge/dedupe, caption-part joining, embedded soft/hard row output synchronization, and embedded row sanitation. |
|
||||
| `row_normalization.py` | Final prompt-row and pair metadata normalization: trigger prepending, extra-positive append, negative merge/dedupe, caption-part joining, embedded soft/hard row output and side-metadata synchronization, and embedded row sanitation. |
|
||||
| `formatter_input.py` | Shared formatter input parsing: text cleanup, metadata/source JSON detection, trigger-prefix stripping, shared prompt field-label inventory, fallback field-label stripping, `Avoid:` splitting, prompt-field extraction, and metadata row-value fallback. |
|
||||
| `sdxl_presets.py` | SDXL formatter profiles, style presets, quality presets, default negative prompt, and metadata-family tag hints used by the SDXL formatter and node choice lists. |
|
||||
| `caption_policy.py` | Caption naturalizer policy data and helpers: caption profiles, style tails, item labels, metadata-family caption labels, detail/style-policy normalization, clothing cleanup, and composition cleanup. |
|
||||
@@ -494,7 +494,7 @@ plain prompt text. When debugging, inspect these fields before editing pools.
|
||||
| `options` | `SxCP Insta/OF Options` | Formatters/debug | Soft/hard level, cast mode, continuity, camera modes, expression settings. |
|
||||
| `shared_descriptor` | `pair_cast.py` | Pair formatters | Primary creator descriptor. |
|
||||
| `shared_cast_descriptors` | `pair_cast.py` | Pair formatters | Full cast descriptor list. |
|
||||
| `softcore_row`, `hardcore_row` | Pair route | Pair formatters | Full normal metadata rows for each side; their prompt, caption, and negative fields are synchronized to the final pair outputs during pair normalization. |
|
||||
| `softcore_row`, `hardcore_row` | Pair route | Pair formatters | Full normal metadata rows for each side; their prompt, caption, negative, and side-specific metadata fields are synchronized to the final pair outputs/root fields during pair normalization. |
|
||||
| `softcore_prompt`, `hardcore_prompt` | `pair_output.py` | Direct output/fallback | Raw pair prompts before formatter rewrite. |
|
||||
| `softcore_negative_prompt`, `hardcore_negative_prompt` | `pair_output.py` | Formatter negatives | Separate negatives for each side. |
|
||||
| `softcore_partner_styling` | `pair_cast.py` | Krea/SDXL pair branch | Partner softcore clothing and pose when same-cast softcore is enabled. |
|
||||
|
||||
Reference in New Issue
Block a user