feat(video): wire scripts and control to video_interpolate field

Set p.video_interpolate at run() entry so process_images_inner picks up
the helper. Save calls keep their existing kwargs; the sentinel guard
skips re-interpolation when the helper already ran.

- animatediff, text2video, image2video, stablevideodiffusion route
  mp4_interpolate into p.video_interpolate
- modules/control/run.py routes the request video_interpolate arg
- xyz_grid intentionally untouched: its end-of-axis save_video stitches
  the cell slideshow, not per-cell videos; a future video_interpolate
  axis would set p.video_interpolate per cell via axis_options
This commit is contained in:
CalamitousFelicitousness
2026-04-26 03:09:27 +01:00
parent 6acde69467
commit 7d77b01c3d
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -537,6 +537,7 @@ def control_run(state: str = '', # pylint: disable=keyword-arg-before-vararg
p.is_tile = False
p.init_control = inits or []
p.orig_init_images = inputs
p.video_interpolate = video_interpolate
# TODO modernui: monkey-patch for missing tabs.select event
if p.selected_scale_tab_before == 0 and p.resize_name_before != 'None' and p.scale_by_before != 1 and inputs is not None and len(inputs) > 0: