feat: rename 'reference image path' to 'start frame path'

Updates DEFAULTS, standard_keys, UI label, timeline known_keys.
Migration auto-renames old key on load.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-04 00:11:43 +02:00
parent a7a4794adb
commit 5bc2838b21
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -316,7 +316,7 @@ def render_batch_processor(state: AppState):
'seed', 'cfg', 'camera', 'flf', KEY_SEQUENCE_NUMBER, 'seed', 'cfg', 'camera', 'flf', KEY_SEQUENCE_NUMBER,
'frame_to_skip', 'end_frame', 'transition', 'vace_length', 'frame_to_skip', 'end_frame', 'transition', 'vace_length',
'input_a_frames', 'input_b_frames', 'reference switch', 'vace schedule', 'input_a_frames', 'input_b_frames', 'reference switch', 'vace schedule',
'middle frame path', 'video file path', 'reference image path', 'end frame path', 'middle frame path', 'video file path', 'start frame path', 'end frame path',
} }
standard_keys.update(lora_keys) standard_keys.update(lora_keys)
@@ -631,7 +631,7 @@ def _render_sequence_card(i, seq, batch_list, data, file_path, state,
# Image paths with preview # Image paths with preview
for img_label, img_key in [ for img_label, img_key in [
('Reference Image Path', 'reference image path'), ('Start Frame Path', 'start frame path'),
('Middle Frame Path', 'middle frame path'), ('Middle Frame Path', 'middle frame path'),
('End Frame Path', 'end frame path'), ('End Frame Path', 'end frame path'),
]: ]:
+1 -1
View File
@@ -618,7 +618,7 @@ def _render_preview_fields(item_data: dict):
known_keys = { known_keys = {
'sequence_number', 'general_prompt', 'general_negative', 'current_prompt', 'prompt', 'sequence_number', 'general_prompt', 'general_negative', 'current_prompt', 'prompt',
'negative', 'camera', 'flf', 'seed', 'resolutions', 'negative', 'camera', 'flf', 'seed', 'resolutions',
'frame_to_skip', 'vace schedule', 'video file path', 'middle frame path', 'end frame path', 'frame_to_skip', 'vace schedule', 'video file path', 'middle frame path', 'end frame path', 'start frame path',
} }
# also skip lora keys # also skip lora keys
custom_keys = [ custom_keys = [
+3 -1
View File
@@ -45,7 +45,7 @@ DEFAULTS = {
"input_b_frames": 16, "input_b_frames": 16,
"reference switch": 1, "reference switch": 1,
"video file path": "", "video file path": "",
"reference image path": "", "start frame path": "",
"middle frame path": "", "middle frame path": "",
"end frame path": "", "end frame path": "",
@@ -159,6 +159,8 @@ def _migrate_key_renames(data: dict) -> None:
item['middle frame path'] = item.pop('reference path') item['middle frame path'] = item.pop('reference path')
if 'flf image path' in item and 'end frame path' not in item: if 'flf image path' in item and 'end frame path' not in item:
item['end frame path'] = item.pop('flf image path') 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')
def _migrate_lora_keys(data: dict) -> None: def _migrate_lora_keys(data: dict) -> None: