Skip to content

Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.

panel: fix silent Generate (min/step alignment on hidden Extend input)

mrbizarro51965cd7d287
diff --git a/mlx_ltx_panel.py b/mlx_ltx_panel.py
index 08074aa..678887c 100644
--- a/mlx_ltx_panel.py
+++ b/mlx_ltx_panel.py
@@ -2825,7 +2825,14 @@ HTML = r"""<!doctype html>
<div class="row" style="margin-top:8px">
<div>
<label class="lbl">Extend by (seconds)</label>
- <input id="extend_seconds" type="number" value="2" min="0.4" max="10" step="0.5">
+ <!-- min must align to step from value=2: with min=0.4 step=0.5 the
+ valid sequence is 0.4, 0.9, 1.4, 1.9, 2.4… — `2` is OFF the
+ grid. Chrome blocks the entire form submission silently when
+ ANY input fails validation, even hidden ones in inactive
+ modes. Generate appeared dead until cocktailpeanut diagnosed
+ it. With min=0.5 the sequence is 0.5, 1.0, 1.5, 2.0… and
+ value=2 is valid. -->
+ <input id="extend_seconds" type="number" value="2" min="0.5" max="10" step="0.5">
<input type="hidden" name="extend_frames" id="extend_frames" value="6">
<div class="hint" id="extendDurationHint" style="margin-top:4px">≈ 2.0 s of new content (6 latent frames × 8 video frames at 24 fps)</div>
</div>