diff --git a/embd_res/kcpp_sdui.embd b/embd_res/kcpp_sdui.embd
index 977847e3c..cf3183b03 100644
--- a/embd_res/kcpp_sdui.embd
+++ b/embd_res/kcpp_sdui.embd
@@ -5,18 +5,18 @@
Stable UI for KoboldCpp
-
diff --git a/koboldcpp.py b/koboldcpp.py
index b5decc098..4c5ab5257 100644
--- a/koboldcpp.py
+++ b/koboldcpp.py
@@ -2810,7 +2810,7 @@ def sd_generate(genparams):
if flow_shift is not None and flow_shift < 0:
flow_shift = None # fall back to the default
sample_steps = (1 if sample_steps < 1 else (forced_steplimit if sample_steps > forced_steplimit else sample_steps))
- vid_req_frames = (1 if vid_req_frames < 1 else (160 if vid_req_frames > 160 else vid_req_frames))
+ vid_req_frames = (1 if vid_req_frames < 1 else (400 if vid_req_frames > 400 else vid_req_frames))
vid_fps = (16 if vid_fps < 16 else (24 if vid_fps > 24 else vid_fps))
swap_refimg = (True if tryparseint(genparams.get("send_as_refimg", 0),0) else False)