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.
Python ai-filmmakingai-videoai-video-generatorapple-siliconhailuoimage-to-videolip-synclocal-ailora-trainingltx-2ltx-2-5ltx-videomacosminimax-h3mlxmusic-generationoffline-aipinokiotext-to-videovideo-generation
release(v4.0.6): a vertical render previews in its own shape
mrbizarro3f80c5afcbc9
diff --git a/VERSION b/VERSIONindex 7636e75..d13e837 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-4.0.5+4.0.6diff --git a/mlx_ltx_panel.py b/mlx_ltx_panel.pyindex b43c085..b5dc3d4 100644--- a/mlx_ltx_panel.py+++ b/mlx_ltx_panel.py@@ -49555,8 +49555,17 @@ function _renderLiveStageFrame(s, preview) {if (chip) chip.hidden = true;document.getElementById('playerOverlayTop').style.display = 'none';document.getElementById('playerOverlayActions').style.display = 'none';- surface.removeAttribute('data-orient');- surface.style.setProperty('--media-aspect', '16 / 9');+ // The stage takes the RENDER'S OWN shape, not a hardcoded 16:9 — the job's+ // geometry is known before the first frame exists, so a vertical take gets+ // the tall portrait stage from the warming state on, exactly the shape the+ // finished clip will claim (same data-orient/--media-aspect idiom the+ // metadata-load path uses; owner-reported: vertical previews rendered as a+ // small strip inside a landscape box).+ const _lw = parseInt((cur.params || {}).width, 10) || 16;+ const _lh = parseInt((cur.params || {}).height, 10) || 9;+ surface.style.setProperty('--media-aspect', `${_lw} / ${_lh}`);+ if (_lh > _lw) surface.setAttribute('data-orient', 'vertical');+ else surface.removeAttribute('data-orient');wrap.classList.remove('empty');wrap.classList.add('live-stage');wrap.dataset.liveJobId = String(cur.id);diff --git a/test_stage_live_preview.py b/test_stage_live_preview.pyindex c3b0207..4c41d52 100644--- a/test_stage_live_preview.py+++ b/test_stage_live_preview.py@@ -171,6 +171,32 @@ out.liveStage = {stopHidden:els.liveStageStop.hidden,};+// The stage takes the RENDER'S OWN shape (owner-reported: vertical previews+// showed as a small strip inside a hardcoded 16:9 box). A portrait job flips+// data-orient and sets its true aspect; a landscape job clears the flag; a+// job with no recorded dims falls back to 16/9 instead of guessing.+const vertStatus = {running:true,current:{id:'vert',params:{engine:'ltx',mode:'t2v',quality:'balanced',width:576,height:1024}}};+renderLiveStage(vertStatus, normalizeLivePreview(vertStatus, {preview:{+ url:'/image?vert=1',estimate:6,total:8,meaningful:true,abortable:true,+}}));+out.vertStage = {+ aspect: surface.style['--media-aspect'] || '',+ orient: surface.getAttribute('data-orient'),+};+const wideStatus = {running:true,current:{id:'wide',params:{engine:'ltx',mode:'t2v',quality:'balanced',width:1024,height:576}}};+renderLiveStage(wideStatus, normalizeLivePreview(wideStatus, {preview:{+ url:'/image?wide=1',estimate:6,total:8,meaningful:true,abortable:true,+}}));+out.wideStage = {+ aspect: surface.style['--media-aspect'] || '',+ orient: surface.getAttribute('data-orient'),+};+out.dimlessStage = (() => {+ renderLiveStage(ltxLiveStatus, ltxLive);+ return { aspect: surface.style['--media-aspect'] || '',+ orient: surface.getAttribute('data-orient') };+})();+// The user is actively watching a clip: a new render may advertise itself but// must not replace the video node._liveStageOwnsPlayer = false; _liveStageForcedJobId = null;@@ -273,6 +299,21 @@ class StageLivePreviewContract(unittest.TestCase):self.assertEqual(stage["title"], "forming take · step 6/8")self.assertFalse(stage["stopHidden"])+ def test_stage_takes_the_renders_own_shape(self) -> None:+ # Owner-reported: a vertical render previewed as a small strip inside+ # a hardcoded 16:9 stage. The stage now reads the job's own geometry.+ vert = self.result["vertStage"]+ self.assertEqual(vert["aspect"], "576 / 1024")+ self.assertEqual(vert["orient"], "vertical")+ wide = self.result["wideStage"]+ self.assertEqual(wide["aspect"], "1024 / 576")+ self.assertIsNone(wide["orient"])++ def test_dimless_job_falls_back_to_landscape_stage(self) -> None:+ dimless = self.result["dimlessStage"]+ self.assertEqual(dimless["aspect"], "16 / 9")+ self.assertIsNone(dimless["orient"])+def test_playing_clip_is_not_stolen(self) -> None:held = self.result["held"]self.assertTrue(held["videoStayed"])