Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat(video-models): deprecate notapalindrome models, group under Legacy optgroup

Adam Eivyc3186375ffc5
diff --git a/client/src/pages/CreativeDirector.jsx b/client/src/pages/CreativeDirector.jsx
index eb2ff449d0..3a88d4e1f7 100644
--- a/client/src/pages/CreativeDirector.jsx
+++ b/client/src/pages/CreativeDirector.jsx
@@ -52,7 +52,10 @@ export default function CreativeDirector() {
fetchProjects();
listVideoModels().then((m) => {
setModels(m || []);
- if (m?.length && !form.modelId) setForm((f) => ({ ...f, modelId: m[0].id }));
+ // Prefer the first non-deprecated model as the default so new projects
+ // don't start on a legacy backend.
+ const preferred = (m || []).find((entry) => !entry.deprecated) || (m || [])[0];
+ if (preferred && !form.modelId) setForm((f) => ({ ...f, modelId: preferred.id }));
}).catch(() => {});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [fetchProjects]);
@@ -183,7 +186,12 @@ export default function CreativeDirector() {
onChange={(e) => setForm({ ...form, modelId: e.target.value })}
className="w-full mt-1 bg-port-bg border border-port-border rounded px-2 py-1 text-sm"
>
- {models.map((m) => <option key={m.id} value={m.id}>{m.name || m.id}</option>)}
+ {models.filter((m) => !m.deprecated).map((m) => <option key={m.id} value={m.id}>{m.name || m.id}</option>)}
+ {models.some((m) => m.deprecated) && (
+ <optgroup label="Legacy">
+ {models.filter((m) => m.deprecated).map((m) => <option key={m.id} value={m.id}>{m.name || m.id}</option>)}
+ </optgroup>
+ )}
</select>
</label>
<label className="block text-sm">
diff --git a/client/src/pages/VideoGen.jsx b/client/src/pages/VideoGen.jsx
index 61cfaa51b5..97685bd6c2 100644
--- a/client/src/pages/VideoGen.jsx
+++ b/client/src/pages/VideoGen.jsx
@@ -1021,7 +1021,12 @@ export default function VideoGen() {
onChange={(e) => { setModelId(e.target.value); setSteps(''); setGuidanceScale(''); }}
className="w-full bg-port-bg border border-port-border rounded-lg px-2 py-2 text-sm text-white focus:outline-none focus:border-port-accent disabled:opacity-50"
>
- {models.map((m) => <option key={m.id} value={m.id}>{m.name}</option>)}
+ {models.filter((m) => !m.deprecated).map((m) => <option key={m.id} value={m.id}>{m.name}</option>)}
+ {models.some((m) => m.deprecated) && (
+ <optgroup label="Legacy">
+ {models.filter((m) => m.deprecated).map((m) => <option key={m.id} value={m.id}>{m.name}</option>)}
+ </optgroup>
+ )}
</select>
</div>
)}
diff --git a/data.sample/media-models.json b/data.sample/media-models.json
index 233f85dae9..4b4be64b3f 100644
--- a/data.sample/media-models.json
+++ b/data.sample/media-models.json
@@ -8,7 +8,8 @@
"repo": "notapalindrome/ltx2-mlx-av",
"runtime": "mlx_video",
"steps": 30,
- "guidance": 3
+ "guidance": 3,
+ "deprecated": true
},
{
"id": "ltx23_unified",
@@ -16,7 +17,8 @@
"repo": "notapalindrome/ltx23-mlx-av",
"runtime": "mlx_video",
"steps": 25,
- "guidance": 3
+ "guidance": 3,
+ "deprecated": true
},
{
"id": "ltx23_distilled_q4",
@@ -24,7 +26,8 @@
"repo": "notapalindrome/ltx23-mlx-av-q4",
"runtime": "mlx_video",
"steps": 25,
- "guidance": 3
+ "guidance": 3,
+ "deprecated": true
},
{
"id": "ltx23_dgrauet_q4",
diff --git a/server/lib/mediaModels.js b/server/lib/mediaModels.js
index 88882e1454..bb24d36b1c 100644
--- a/server/lib/mediaModels.js
+++ b/server/lib/mediaModels.js
@@ -34,9 +34,9 @@ const DEFAULT_REGISTRY = {
macos: [
// notapalindrome's mlx-video-with-audio runtime — single PyPI package,
// T2V/I2V only, FFLF degrades to last-frame conditioning (one --image arg).
- { id: 'ltx2_unified', name: 'LTX-2 Unified (~42 GB)', repo: 'notapalindrome/ltx2-mlx-av', runtime: 'mlx_video', steps: 30, guidance: 3.0 },
- { id: 'ltx23_unified', name: 'LTX-2.3 Unified Beta (~48 GB)', repo: 'notapalindrome/ltx23-mlx-av', runtime: 'mlx_video', steps: 25, guidance: 3.0 },
- { id: 'ltx23_distilled_q4', name: 'LTX-2.3 Distilled Q4 (~22 GB)', repo: 'notapalindrome/ltx23-mlx-av-q4', runtime: 'mlx_video', steps: 25, guidance: 3.0 },
+ { id: 'ltx2_unified', name: 'LTX-2 Unified (~42 GB)', repo: 'notapalindrome/ltx2-mlx-av', runtime: 'mlx_video', steps: 30, guidance: 3.0, deprecated: true },
+ { id: 'ltx23_unified', name: 'LTX-2.3 Unified Beta (~48 GB)', repo: 'notapalindrome/ltx23-mlx-av', runtime: 'mlx_video', steps: 25, guidance: 3.0, deprecated: true },
+ { id: 'ltx23_distilled_q4', name: 'LTX-2.3 Distilled Q4 (~22 GB)', repo: 'notapalindrome/ltx23-mlx-av-q4', runtime: 'mlx_video', steps: 25, guidance: 3.0, deprecated: true },
// dgrauet's ltx-2-mlx runtime — true KeyframeInterpolationPipeline,
// native video Extend, audio→video. Requires a separate venv synced
// via `INSTALL_LTX2=1 bash scripts/setup-image-video.sh`.