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.

Pinokio installer hardening for public release

mrbizarro47dfb82e5f36
diff --git a/download_q8.js b/download_q8.js
new file mode 100644
index 0000000..cbb882f
--- /dev/null
+++ b/download_q8.js
@@ -0,0 +1,28 @@
+module.exports = {
+ // On-demand Q8 download for the High quality tier.
+ // ~25 GB, resumable. The panel auto-detects when it lands and unlocks
+ // the High pill in the Quality picker.
+ run: [
+ {
+ method: "notify",
+ params: {
+ html: "<b>Downloading Q8 model (~25 GB)…</b><br>This is the High quality tier (Q8 two-stage HQ + TeaCache and FFLF keyframing). Resumable if interrupted."
+ }
+ },
+ {
+ method: "shell.run",
+ params: {
+ venv: "ltx-2-mlx/env",
+ message: [
+ "hf download dgrauet/ltx-2.3-mlx-q8 --local-dir mlx_models/ltx-2.3-mlx-q8"
+ ]
+ }
+ },
+ {
+ method: "notify",
+ params: {
+ html: "<b>Q8 ready.</b><br>The High quality option will unlock automatically in the panel within a few seconds. FFLF keyframing also requires Q8 and is now usable."
+ }
+ }
+ ]
+}
diff --git a/install.js b/install.js
index bf476da..a41dff7 100644
--- a/install.js
+++ b/install.js
@@ -46,14 +46,16 @@ module.exports = {
},
// ---- Download the Q4 LTX 2.3 model (~25 GB, resumable) ----------------
- // huggingface-cli handles resume + verification natively.
+ // `hf download` is the v1+ name (huggingface_hub deprecated `huggingface-cli`).
+ // Both handle resume + verification natively; --local-dir avoids the HF cache
+ // store so the panel can point at the path directly with no symlink chase.
{
method: "shell.run",
params: {
venv: "env",
path: "ltx-2-mlx",
message: [
- "huggingface-cli download dgrauet/ltx-2.3-mlx-q4 --local-dir ../mlx_models/ltx-2.3-mlx-q4"
+ "hf download dgrauet/ltx-2.3-mlx-q4 --local-dir ../mlx_models/ltx-2.3-mlx-q4"
]
}
},
@@ -65,7 +67,7 @@ module.exports = {
venv: "env",
path: "ltx-2-mlx",
message: [
- "huggingface-cli download mlx-community/gemma-3-12b-it-4bit --local-dir ../mlx_models/gemma-3-12b-it-4bit"
+ "hf download mlx-community/gemma-3-12b-it-4bit --local-dir ../mlx_models/gemma-3-12b-it-4bit"
]
}
},
diff --git a/pinokio.js b/pinokio.js
index 4d05f78..78a74c5 100644
--- a/pinokio.js
+++ b/pinokio.js
@@ -5,11 +5,13 @@ module.exports = {
icon: "icon.png",
menu: async (kernel, info) => {
const installed = info.exists("ltx-2-mlx/env") || info.exists("ltx-2-mlx/.venv")
+ const q8_installed = info.exists("mlx_models/ltx-2.3-mlx-q8/transformer-dev.safetensors")
const running = {
- install: info.running("install.js"),
- start: info.running("start.js"),
- update: info.running("update.js"),
- reset: info.running("reset.js"),
+ install: info.running("install.js"),
+ start: info.running("start.js"),
+ update: info.running("update.js"),
+ reset: info.running("reset.js"),
+ q8download: info.running("download_q8.js"),
}
if (running.install) {
@@ -21,6 +23,9 @@ module.exports = {
if (running.reset) {
return [{ default: true, icon: "fa-solid fa-eraser", text: "Resetting", href: "reset.js" }]
}
+ if (running.q8download) {
+ return [{ default: true, icon: "fa-solid fa-download", text: "Downloading Q8 (~25 GB)", href: "download_q8.js" }]
+ }
if (!installed) {
return [{ default: true, icon: "fa-solid fa-plug", text: "Install", href: "install.js" }]
}
@@ -37,13 +42,19 @@ module.exports = {
}
return [{ default: true, icon: "fa-solid fa-terminal", text: "Terminal", href: "start.js" }]
}
- return [
+ const baseMenu = [
{ default: true, icon: "fa-solid fa-power-off", text: "Start", href: "start.js" },
{ icon: "fa-solid fa-film", text: "Outputs", href: "mlx_outputs?fs=true" },
{ icon: "fa-solid fa-cube", text: "Models", href: "mlx_models?fs=true" },
{ icon: "fa-solid fa-image", text: "Uploads", href: "panel_uploads?fs=true" },
- { icon: "fa-solid fa-rotate", text: "Update", href: "update.js" },
- { icon: "fa-regular fa-circle-xmark", text: "Reset", href: "reset.js" },
]
+ if (!q8_installed) {
+ baseMenu.push({ icon: "fa-solid fa-download", text: "Download Q8 (~25 GB) — High quality + FFLF", href: "download_q8.js" })
+ }
+ baseMenu.push(
+ { icon: "fa-solid fa-rotate", text: "Update", href: "update.js" },
+ { icon: "fa-regular fa-circle-xmark", text: "Reset", href: "reset.js" },
+ )
+ return baseMenu
}
}
diff --git a/start.js b/start.js
index b7e69a0..f95603a 100644
--- a/start.js
+++ b/start.js
@@ -8,12 +8,15 @@ module.exports = {
// also uses this venv (see LTX_HELPER_PYTHON below).
venv: "ltx-2-mlx/env",
env: {
- // Point the panel at the Pinokio-managed paths.
+ // Point the panel at the locally-installed weights — never the HF
+ // repo id, otherwise the helper triggers a duplicate cache download
+ // on first generation even though we just downloaded the model.
+ LTX_MODEL: "{{cwd}}/mlx_models/ltx-2.3-mlx-q4",
+ LTX_MODEL_HQ: "{{cwd}}/mlx_models/ltx-2.3-mlx-q8",
LTX_GEMMA: "{{cwd}}/mlx_models/gemma-3-12b-it-4bit",
LTX_MODELS_DIR: "{{cwd}}/mlx_models",
- LTX_HELPER_PYTHON: "{{cwd}}/ltx-2-mlx/env/bin/python3.11",
- // Q4 default; users can flip to q8 once that download lands.
- LTX_MODEL: "dgrauet/ltx-2.3-mlx-q4"
+ LTX_Q8_LOCAL: "{{cwd}}/mlx_models/ltx-2.3-mlx-q8",
+ LTX_HELPER_PYTHON: "{{cwd}}/ltx-2-mlx/env/bin/python3.11"
},
message: ["python mlx_ltx_panel.py"],
on: [