convert video to hdr
convert_video_to_hdrConvert an existing video to HDR using a catalog model that supports video_hdr. Select output format in modelSettings when supported. Use get_model_catalog to choose a supported model and its settings. Returns a tracked task and playable result when complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Active model ID supporting this operation. Use get_model_catalog. | |
| prompt | No | Edit or enhancement instructions. | |
| maxCostUsd | No | Maximum charge for each output. Checked against authoritative pricing before generation. | |
| resolution | No | ||
| aspectRatio | No | ||
| endFrameUrl | No | ||
| mediaInputs | No | Named media slots from get_model_catalog, for example reference_image_uri or mask_url. | |
| scaleFactor | No | Upscaling multiplier when supported by the selected model. | |
| sparkTaskId | No | Originating Spark task for library history and recovery. | |
| workspaceId | No | ||
| outputFormat | No | Output format when supported by the selected model. | |
| generateAudio | No | Explicitly enable or disable generated video audio, when supported. | |
| modelSettings | No | Model-specific controls using keys and options from get_model_catalog inputConstraints.slots. | |
| sourceMediaId | Yes | Completed workspace source media. The original is preserved. | |
| idempotencyKey | No | Stable request key. Retries with the same key reuse the existing output and do not start another paid generation. | |
| sourceImageUrl | No | Public HTTP(S) source image/start-frame URL. Use mediaId for workspace images. | |
| sourceVideoUrl | No | Public HTTP(S) source-video URL. | |
| endFrameMediaId | No | Workspace image for the final frame, when supported by the selected model. | |
| referenceImages | No | Images to guide generation. Use labels such as person or product and refer to them as @person or @product in the prompt. Each item accepts a workspace mediaId or a public HTTP(S) URL. | |
| sourceImageMediaId | No | Workspace image to use as the source image/start frame. | |
| sourceVideoMediaId | No | Workspace video to edit or transform, when supported by the selected model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |