Working with EXR & HDR
Native HDR brings production EXR material into LTX and returns color-managed HDR output. The goal is to keep color and dynamic range available after generation or editing, so the result can continue through compositing, grading, and finishing instead of being reduced to a display-ready preview.
Use the workflow instructions on this page when your source is an existing scene-linear or ACEScct OpenEXR still or frame sequence. The viewing and color-management sections also apply to EXR output from other documented HDR paths.
If your source is standard-dynamic-range video and you want LTX to synthesize an HDR result, use SDR to HDR. That is a reconstruction workflow with its own models, workflows, and version boundaries.
Native HDR
Native HDR is the HDR-to-HDR path: use it when your source is already EXR/HDR and you want to keep the workflow color-managed through generation and export.
Native EXR is available through the LTX-2.5 Python pipelines. The current LTX-2.5 ComfyUI release workflows add native-HDR image-to-video and inpainting.
Supported color spaces
Declare the color space that matches the pixels in your EXR source.
The ComfyUI loader converts supported sources into an ACEScct working representation for the video VAE. Match the EXR output setting to the color space required by your downstream workflow.
What you get
The ComfyUI loader retains only the first three EXR channels, and the writer creates a new R/G/B EXR. Alpha, additional channels, and source header metadata are not round-tripped.
HDR video files are not accepted as native HDR input
Native HDR input uses an EXR still or a folder of EXR frames. HLG, PQ, HDR10, .mp4, and .mov files are not accepted as color-managed HDR conditioning by the native EXR path.
If your source is an HDR video file, convert it to an OpenEXR frame sequence in one of the supported color spaces:
Do not place display-encoded HLG or PQ values into an EXR file and label them as scene-linear.
Inputs
The ComfyUI EXR loader can trim a sequence to its longest valid 8k+1 frame prefix. Confirm the resulting frame count before generation.
Outputs
Use Native HDR in ComfyUI
Prerequisites
- A current ComfyUI installation with the required
ComfyUI-LTXVideonodes. - OpenImageIO support for reading and writing EXR files.
- The LTX-2.5 distilled transformer, matching text encoder, video and audio VAEs, and latent spatial upscaler used by the selected workflow.
- The LTX-2.3 In/Outpainting IC-LoRA for the inpainting workflow.
The LTX-2.5 inpainting graph explicitly uses the LTX-2.3 In/Outpainting IC-LoRA as a workflow-specific exception. Do not infer that other LTX-2.3 adapters are compatible with LTX-2.5.
Image-to-video
- Load
example_workflows/2.5/HDR_workflows/LTX-2.5_I2V_HDR_Two_Stage_Distilled.json. - In Load EXR still, select an EXR plate and set
color_spaceto match its pixels. - Set frame rate and duration for the generated clip.
- Enter a prompt if the shot requires one.
- Keep the workflow’s native EXR conditioning settings unchanged.
- Confirm that the video VAE passes through LTXVVAEForceFloat32 before every HDR encode and decode.
- Set the EXR output color space for your downstream pipeline, then run the workflow.
The workflow performs a low-resolution distilled pass, 2× latent spatial upscaling, and a short high-resolution refinement pass. The source still is applied again during stage 2.
Inpainting
- Load
example_workflows/2.5/HDR_workflows/LTX-2.5_ICLoRA_Inpaint_HDR_Two_Stage_Distilled.json. - Load the source EXR sequence and declare its color space.
- Load a black-and-white mask video that matches the source sequence’s frame count and aspect ratio. White regions are generated; black regions are retained.
- Provide an optional prompt describing the intended scene content rather than an editing instruction.
- Keep the workflow’s EXR conditioning settings unchanged and confirm the float32 VAE path.
- Adjust mask and blend dilation if the transition edge requires more coverage.
- Set the EXR output color space and run the workflow.
The In/Outpainting IC-LoRA was trained with a specific green value under the generated region. The workflow intentionally retains that training cue even when the surrounding plate uses an ACEScct representation. If green remains at an edge, increase dilation, try another seed, or use a lossless mask source.
Key HDR nodes
When saving EXR from LTXVHDRDecodePostprocess, set the output color space, output directory, filename prefix, and float16/float32 precision explicitly. The exposure control affects only the tonemapped preview, not the scene-linear output or saved EXR frames.
LTXVVAEForceFloat32 mutates the VAE object supplied to it; it does not create an independent float32 copy. Use one chain from the VAE loader through this node to all HDR encode and decode operations. Do not share the unpatched loader output with a parallel branch.
The decode nodes expose spatial and temporal tiling to manage VAE memory. Fewer, larger tiles are faster but require more VRAM. This decode tiling is not the separate Native Resolution generation workflow.
Use Native HDR in Python
The public ltx-pipelines HDR guide is the authoritative source for current CLI flags, accepted EXR inputs, output behavior, and pipeline constraints. It documents native --hdr operation for LTX-2.5, including EXR stills and sequences, float32 HDR VAE decode, half-float EXR output, and a BT.2020/HLG master.
Image-to-video from an ACEScg HDR plate
This produces /tmp/out.mp4 as an HLG master and /tmp/out_exr/*.exr as ACEScg-tagged frames.
Video conditioning from an EXR sequence
Retake on an EXR sequence
Viewing EXR files
Standard image viewers do not display HDR EXR files correctly. Use an OCIO-aware viewer such as DJV or Nuke, and set the input transform to match the EXR’s actual color space.
DJV is a free, open-source viewer designed for professional image sequences, including EXR.
The input transform must match the EXR output setting. Do not use the legacy LTX-2.3 Linear Rec.709 viewing setup for an ACEScct- or ACEScg-tagged LTX-2.5 sequence.
Importing EXR files into DaVinci Resolve
Import the EXR sequence at its native frame rate and assign the input transform that matches the color-space setting used when the frames were written. Do not assign a scene-linear transform to ACEScct-encoded frames or an ACEScct transform to scene-linear frames.
The exact LTX-2.5 Resolve project and output settings depend on the EXR output space and delivery target. Validate the transform chain with representative frames before grading a full sequence.