HDR Video (IC-LoRA) Beta
HDR Video (IC-LoRA) Beta
HDR Video (IC-LoRA) Beta
The HDR IC-LoRA converts standard dynamic range (SDR) video into high dynamic range (HDR) output, producing per-frame EXR files suitable for professional color grading and post-production workflows.
Unlike other IC-LoRA adapters that guide video generation, the HDR IC-LoRA is a post-processing tool. It takes existing video as input and upscales the bit depth to capture significantly more color and luminance information than standard formats.
HDR conversion can be run via a ComfyUI workflow or a standalone Python script.
Model: HDR IC-LoRA: https://huggingface.co/Lightricks/LTX-2.3-22b-IC-LoRA-HDR
All files are available in our HuggingFace collection: https://huggingface.co/collections/Lightricks/ltx-23
Files for ComfyUI:
Steps:
ltx-2.3-22b-ic-lora-hdr-0.9.safetensors) from Lightricks/LTX-2.3-22b-IC-LoRA-HDRComfyUI/models/loras/ltx-2.3-22b-dev.safetensors) and the distilled LoRA (ltx-2.3-22b-distilled-lora-384-1.1.safetensors) if you don’t already have itNote: Before launching ComfyUI, you must set the following environment variable to enable EXR file saving:
Without this, OpenCV will silently fail to write EXR files.
"HDR footage" with a negative prompt for quality controleuler_ancestral sampler, and 8 inference stepstonemapped — SDR preview suitable for standard displayshdr_linear — Full HDR linear data for EXR exportLTXVHDRDecodePostprocess parameters:
The workflow includes the GemmaAPITextEncode node for text encoding via Lightricks’ free API, avoiding the VRAM cost of loading Gemma locally. On 32GB GPUs (e.g. RTX 5090), using the API encoder is required to avoid out-of-memory errors.
Files for the Python script:
Point --input at a directory of .mp4 files. The pipeline loads once and processes all videos sequentially:
A batch shell script (run_hdr_batch.sh) is also provided, which spawns a fresh process per video for better memory isolation.
Each video produces two outputs:
The EXR frames contain linear scene-referred values in Rec.709/sRGB primaries. Use --skip-mp4 to produce only EXR frames, or --no-save-exr to produce only the MP4 preview.
Pipeline load is approximately 60 seconds (one-time). Per-video inference times on an H100 80GB:
Standard image viewers cannot display HDR EXR files correctly.
In any OCIO-aware viewer (DJV, Nuke, Mari), use the following settings:
DJV is a free, open-source viewer designed for professional image sequences including EXR.
HDR EXR files require specific project settings in DaVinci Resolve to display correctly.
In the General Preferences, enable “use 10-bit precision in viewers if available”.
Open Project Settings → Color Management and set the following:
Leave all other settings at their defaults. Dolby Vision, HDR10+, and HDR Vivid should remain disabled.