feat: split frame strength into high/low noise strength per frame

Each frame path now has two strength fields instead of one:
'start frame high strength', 'start frame low strength' (and same
for middle/end). Migration splits old single 'X frame strength' into
both new keys using the same value.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-04 14:34:03 +02:00
parent 4b40d0f50c
commit c771fa3451
3 changed files with 36 additions and 17 deletions
+13 -3
View File
@@ -44,11 +44,14 @@ DEFAULTS = {
"reference switch": 1,
"video file path": "",
"start frame path": "",
"start frame strength": 1.0,
"start frame high strength": 1.0,
"start frame low strength": 1.0,
"middle frame path": "",
"middle frame strength": 1.0,
"middle frame high strength": 1.0,
"middle frame low strength": 1.0,
"end frame path": "",
"end frame strength": 1.0,
"end frame high strength": 1.0,
"end frame low strength": 1.0,
# --- LoRAs (name as STRING, strength as FLOAT) ---
"lora 1 high": "",
@@ -173,6 +176,13 @@ def _migrate_key_renames(data: dict) -> None:
item['end frame path'] = item.pop('flf image path')
if 'reference image path' in item and 'start frame path' not in item:
item['start frame path'] = item.pop('reference image path')
# Split old single strength into high+low
for prefix in ('start frame', 'middle frame', 'end frame'):
old_key = f'{prefix} strength'
if old_key in item:
val = item.pop(old_key)
item.setdefault(f'{prefix} high strength', val)
item.setdefault(f'{prefix} low strength', val)
def _migrate_lora_keys(data: dict) -> None: