feat: rename 'flf image path' to 'end 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:10:09 +02:00
parent d33ce4da38
commit a7a4794adb
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,
'frame_to_skip', 'end_frame', 'transition', 'vace_length',
'input_a_frames', 'input_b_frames', 'reference switch', 'vace schedule',
'middle frame path', 'video file path', 'reference image path', 'flf image path',
'middle frame path', 'video file path', 'reference image path', 'end frame path',
}
standard_keys.update(lora_keys)
@@ -633,7 +633,7 @@ def _render_sequence_card(i, seq, batch_list, data, file_path, state,
for img_label, img_key in [
('Reference Image Path', 'reference image path'),
('Middle Frame Path', 'middle frame path'),
('FLF Image Path', 'flf image path'),
('End Frame Path', 'end frame path'),
]:
with ui.row().classes('w-full items-center'):
inp = dict_input(ui.input, img_label, seq, img_key).classes(
+1 -1
View File
@@ -618,7 +618,7 @@ def _render_preview_fields(item_data: dict):
known_keys = {
'sequence_number', 'general_prompt', 'general_negative', 'current_prompt', 'prompt',
'negative', 'camera', 'flf', 'seed', 'resolutions',
'frame_to_skip', 'vace schedule', 'video file path', 'middle frame path',
'frame_to_skip', 'vace schedule', 'video file path', 'middle frame path', 'end frame path',
}
# also skip lora keys
custom_keys = [
+3 -1
View File
@@ -47,7 +47,7 @@ DEFAULTS = {
"video file path": "",
"reference image path": "",
"middle frame path": "",
"flf image path": "",
"end frame path": "",
# --- LoRAs (name as STRING, strength as FLOAT) ---
"lora 1 high": "",
@@ -157,6 +157,8 @@ def _migrate_key_renames(data: dict) -> None:
continue
if 'reference path' in item and 'middle frame path' not in item:
item['middle frame path'] = item.pop('reference path')
if 'flf image path' in item and 'end frame path' not in item:
item['end frame path'] = item.pop('flf image path')
def _migrate_lora_keys(data: dict) -> None: