Skip to main content
Product ID: sdr_to_hdr · Billing: Beeble Cloud credits Reconstruct clipped highlights and crushed shadows while preserving well-exposed areas of the source. SDR to HDR uses SwitchHDR to recover detail for HDR grading and compositing. See the SDR to HDR product guide for highlight and shadow examples and the ACES finishing workflow.

Before you start

  1. Create an API key for an organization with this product enabled.
  2. Prepare your media as Beeble URIs, authorized CDN URLs, public/presigned HTTPS URLs, or base64 data URIs.
  3. Select an available model below; complete any required consent in Beeble Cloud.

Models and inputs

Set BEEBLE_API_KEY and, for internal teams, BEEBLE_TEAM_ID.
Response (200): models contains each model’s id, name, input_schema, and any requires_consent value. Use the selected model’s input_schema for required inputs, types, defaults, and supported values. Request parameters and response schema The API model ID is sdr-to-hdr-1; SwitchHDR is the product-facing model name. Optional prompt_over and prompt_under describe what to reconstruct in highlights and shadows, respectively.

Submit a job

Schemas: Request body · Response. The inputs object follows your selected model’s input_schema above. Save as request.json with your media URIs. The Beeble URIs below can be replaced with any supported single-file media input. Use a unique idempotency_key for each new job; keep it unchanged on retries.
Python requires requests; JavaScript examples run in Node.js.
Response (202, abbreviated):

Results and constraints

The server measures source metadata, including video frame count. You can omit generation_type and frame_count; use the selected model’s duration and resolution limits. Use HDR output files for finishing; exposure previews are for inspection. See Billing & credits for spending caps and refunds.

Completed response

Poll the job using the returned id until status is success. Stop on failed, cancelled, or credit_required. Example response (200, success; abbreviated): URLs are illustrative. Available outputs depend on the model and input media.
Download outputs.hdr for the HDR image and outputs.hdr_preview for a tone-mapped preview. Video results can also include outputs.hdr_seq_zip and outputs.hdr_hlg_mov.