DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

Lightricks/

LTX-HDR

Partner

$0.20 / second

*

LTX SDR to HDR by Lightricks converts standard-dynamic-range video to HDR. It returns a 10-bit HEVC BT.2020/HLG master and a sequence of 16-bit OpenEXR frames in ACEScg, ACEScct, linear sRGB or ACES2065-1 for grading.

Public
Lightricks/LTX-HDR cover image
api

Input

Please upload a video file

You need to log in to use this model

Log in

Settings

Output Colorspace

Color space of the EXR frames: scene-linear ACEScg (AP1), log ACEScct (AP1), scene-linear sRGB/Rec.709, or ACES2065-1 (AP0). The MP4 is always 10-bit HEVC BT.2020/HLG

Output

Model Information

LTX SDR to HDR by Lightricks converts standard-dynamic-range video to high dynamic range. Normal video can only show a narrow range from dark to bright, so a lamp or a furnace blows out to flat white. HDR keeps a much wider range: on an HDR screen bright things really glow while dark corners keep their detail. It returns an HDR master ready to watch or publish, plus 16-bit OpenEXR frames for color grading.

  • No prompt and one setting: the color space of the EXR frames
  • Same size as your input

The sample above is the HDR output shown in standard range, so it looks like normal video; the difference is only visible on an HDR screen.

Outputs

FieldWhat it is
video_urlThe HDR video: 10-bit HEVC, BT.2020 with the HLG transfer, as an MP4. It plays in Safari and in some Chrome and Edge setups, and only looks HDR on an HDR screen. Where your browser can't play it, the model page offers it as a download.
exr_frames_urlA ZIP of per-frame 16-bit OpenEXR images in the color space you choose, for DaVinci Resolve, Nuke or another grading tool. The model page offers it as a download.

Neither output has audio. The EXR archive is large: 4 seconds of 1080p is about 600 MB.

Options

output_colorspace sets the color space of the EXR frames:

ValueColor space
acescg (default)scene-linear ACEScg (AP1), for compositing
acescctlog ACEScct (AP1), for grading
srgb_linearscene-linear sRGB / Rec.709
aces2065-1ACES2065-1 (AP0), for archiving and interchange

The MP4 is always 10-bit HEVC BT.2020/HLG.

Input

video, required: an https URL (up to 200 MB), or a data URI, base64 or file upload (up to 15 MB encoded). MP4, MOV or MKV, encoded as H.264 or H.265. SDR video that fits within 3840x2160, in landscape or portrait.

The maximum length depends on the input's pixel count. A 2048x1080 clip has more pixels than 1920x1080, so it falls in the 1440p tier:

Input sizeMax framesAbout, at 24 fps
up to 1920x1080 (2.1 MP)27311 s
up to 2560x1440 (3.7 MP)1938 s
up to 3840x2160 (8.3 MP)653 s

Pricing

Billed per started second of the output video, which is about as long as your input, by the same pixel-count tiers:

Input sizePrice per second
up to 1080p$0.20
up to 1440p$0.40
up to 4K$0.80

A 4-second 1080p clip costs $0.80. A 3-second 4K clip costs $2.40.

Example

curl -X POST https://api.deepinfra.com/v1/inference/Lightricks/LTX-HDR \
  -H "Authorization: bearer $DEEPINFRA_TOKEN" \
  -F video=@clip.mp4 \
  -F output_colorspace=acescct
copy

The request returns when the job is done, typically in one to five minutes; pass webhook to be called instead. The output links are hosted by Lightricks and aren't permanent, so save the files you want to keep.