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.

fix(hdr): hide HDR toggle — it's an IC-LoRA, not a regular LoRA, and never worked

mrbizarro50298c4b2c6a
diff --git a/ROADMAP.md b/ROADMAP.md
index 3d1700b..6ddd533 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -117,6 +117,38 @@ The new default TC=1.8 (reverted from a wrongly-calibrated 1.0 on
may want to dial it for specific scenes. Expose `teacache_thresh`
as a slider on the advanced section of the Generate form.
+### `[ ]` HDR via IC-LoRA pipeline
+
+The HDR toggle shipped in v2 (commit 2d5e0ad) but never worked: it was
+wired through the regular `_pending_loras` fusion hook on the standard
+T2V/I2V/HQ pipelines. The Lightricks HDR LoRA is actually an **IC-LoRA**
+(in-context LoRA) — it needs the dedicated `ICLoraPipeline`
+(`ltx_pipelines_mlx.ic_lora`), a reference video for the conditioning
+input, AND a LogC3 pre/post transform to land 16-bit dynamic range in
+the normal number range. Without all three pieces, the LoRA fuses
+silently and produces no HDR effect. The UI toggle was removed in v3.0
+to stop misleading users.
+
+Proper implementation lands when we wire:
+1. The `ICLoraPipeline` class into `mlx_warm_helper.py` (it exists
+ upstream — just needs to be hooked).
+2. A reference-video source. For pure T2V/I2V, run a low-res Stage 1
+ render first and use that as the IC reference (matches what the
+ Lightricks ComfyUI workflow does).
+3. LogC3 transform application in the post-process step.
+4. Re-expose the HDR pill in the UI (commented out HTML at
+ `mlx_ltx_panel.py:17310`).
+
+The HDR LoRA repo also ships a companion `scene-emb.safetensors` file —
+need to investigate whether it's required or optional.
+
+### `[ ]` Motion-Track and Union Control IC-LoRAs
+
+Both are listed in `CURATED_LORAS` and pass the same gated-repo
+machinery as HDR — they're also IC-LoRAs and won't work until the
+above IC-LoRA pipeline plumbing lands. Add toggles + a "reference
+video" picker to expose them properly once the infrastructure is in.
+
## Mid term
### `[ ]` In-panel "Report bug" button
diff --git a/mlx_ltx_panel.py b/mlx_ltx_panel.py
index ae823bf..925e686 100644
--- a/mlx_ltx_panel.py
+++ b/mlx_ltx_panel.py
@@ -17307,12 +17307,29 @@ HTML = r"""<!doctype html>
<span id="avoidToggleLabel">Avoid +</span>
</button>
<span class="ct-spacer"></span>
- <label class="toggle-pill" id="hdrPill"
- title="Boost dynamic range and color depth. Implemented as the official Lightricks HDR LoRA fused into the transformer. First HDR job spawns a one-time download (~120 MB) of the LoRA weights from Hugging Face, then renders share the cache.">
- <input type="checkbox" id="hdr" name="hdr">
- <span class="toggle-dot"></span>
- <span>HDR</span>
- </label>
+ <!-- HDR toggle hidden 2026-05-20 (Mr Bizarro: "HDR is not working
+ and never worked, actually never"). The Lightricks HDR LoRA
+ is an IC-LoRA: it needs the dedicated ICLoraPipeline
+ (upstream ltx_pipelines_mlx.ic_lora), a reference video for
+ the in-context conditioning input, AND LogC3 pre/post
+ transforms to actually produce HDR output. The toggle was
+ wired through the regular _pending_loras hook on the
+ standard pipelines — which loads the weights but never
+ fires the conditioning path, so the LoRA silently does
+ nothing. Hidden in the UI + path stays in the backend for
+ when proper IC-LoRA support is implemented (tracked in
+ ROADMAP.md). The hidden input still exists below so any
+ saved-form state / API callers that include `hdr=on`
+ degrade gracefully (server ignores it on the standard
+ pipelines as before).
+ <label class="toggle-pill" id="hdrPill"
+ title="Boost dynamic range and color depth. Implemented as the official Lightricks HDR LoRA fused into the transformer.">
+ <input type="checkbox" id="hdr" name="hdr">
+ <span class="toggle-dot"></span>
+ <span>HDR</span>
+ </label>
+ -->
+ <input type="hidden" id="hdr" name="hdr" value="off">
<label class="toggle-pill" id="noMusicPill"
title="When on, the prompt is augmented with: 'Audio: voice and ambient sounds only, no music, no soundtrack, no score.' Useful for clips you'll score yourself in post — music can't be cleanly removed afterwards.">
<input type="checkbox" id="noMusic" name="no_music">