Skip to navigation

Convert an SDR video to HDR

Convert an SDR video into HDR. On completion, the result contains exr_frames_url and video_url, described in Output.

Responds immediately with the job id and created_at timestamp. Poll GET /v2/video-to-video-hdr/{id} until the status is completed.

Requests that violate the content policy fail the job with content_filtered_error. An account without enough credit fails the same way, with insufficient_funds_error.

Billed per second of input video, by input resolution tier. See Pricing.

Output

  • exr_frames_url: the main output, a ZIP of per-frame 16-bit half-float OpenEXR images for color grading or HDR rendering pipelines, in the color space set by output_colorspace.
  • video_url: a 10-bit HEVC (H.265) Main10 BT.2020/HLG MP4 master. It has no audio.

Both outputs keep the input video’s resolution.

Authentication

AuthorizationBearer
API key authentication

Request

This endpoint expects an object.
video_uristringRequired

SDR source video in HTTPS URL or base64 data URI format. See Input Formats for supported formats and codecs.

Width and height must fit within 3840×2160 in either orientation. Max frames (and max duration at 24 fps) depend on the input resolution tier — within that bound, inputs are snapped to the smallest tier that fits by pixel count:

Input resolution tierMax framesMax duration (at 24 fps)
Up to 1080p (≤ 1920×1080)273~11 seconds
Up to 1440p (≤ 2560×1440)193~8 seconds
Up to 2160p (≤ 3840×2160)65~3 seconds
output_colorspaceenumOptionalDefaults to acescg

Color space of the exported 16-bit half-float OpenEXR frame sequence (exr_frames_url):

  • acescg (default): Scene-linear ACEScg (AP1) for VFX compositing and grading.
  • acescct: Log-encoded ACEScct (AP1) for color grading.
  • srgb_linear: Scene-linear sRGB / Rec.709.
  • aces2065-1: Scene-linear ACES2065-1 (AP0) with SMPTE ST 2065-4 ACES metadata (chromaticities and acesImageContainerFlag).

Does not affect video_url.

Allowed values:

Response

Job submitted successfully
idstring
Unique job identifier. Use this to poll for status.
created_atdatetime
ISO 8601 timestamp of when the job was created.

Errors

400
Bad Request Error
401
Unauthorized Error
413
Content Too Large Error
429
Too Many Requests Error
500
Internal Server Error