Video Enhance

Runway's SDR→HDR converter. True HDR from any clip up to 30s — resolution, pixels, and audio untouched.

post/generate/enhance/runway/ruby

Request

  • Base URL
    https://api.krea.ai
  • Auth
    HTTP bearer

Headers

X-Webhook-URL, string uri

URL to receive a POST request when the job completes. The webhook will receive the job data including results. Deliveries are signed with Ed25519 (EdDSA); verify them with the keys at https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-* headers). Treat requests without these headers as unauthenticated.

Request body

object required
output_format, 'hdr10' | 'hlg' | 'hdr_prores'

HDR output format: hdr10 (HEVC Main 10 BT.2020+PQ .mp4), hlg (HEVC Main 10 BT.2020+HLG .mp4), or hdr_prores (BT.2020+PQ ProRes .mov).

video_url, string uri required

Can be an external URL, base64 data URI, or uploaded asset URL.

prores_profile, '422' | '4444' | '422 HQ'

ProRes profile, only valid with hdr_prores (defaults to 422 HQ).

Response

The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.

object required
job_id, string uuid required
status, 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'finalizing' | 'completed' | 'failed' | 'cancelled' required
created_at, string date-time required
completed_at, unknown required
result, unknown required
error, object
progress, number nullable
export_progress, object

Motion exports only, while running: frames rendered of the total, then finishing while the sound is added, then saving while the MP4 is filed.

Changes