---
title: "Ruby"
method: POST
path: "/generate/enhance/runway/ruby"
tags: ["Video Enhance"]
---

# Ruby

`POST /generate/enhance/runway/ruby`

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

## Headers

- `X-Webhook-URL` string, uri

## Request body

- object
  - `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 `200`

The resulting job data. This will be returned in a pending state until the job is completed. See [`/jobs/{id}`](#tag/default/get/jobs/{id}) for retrieving the results.

- object
  - `job_id` string, uuid, required
  - `status` 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `completed_at` unknown, required
  - `result` unknown, required
  - `error` object
    - `code` string, required
    - `message` string

## Other responses

- `400` — The request body is invalid.
- `401` — You are not authenticated.
- `402` — You have run out of credits.
- `429` — You have reached the maximum number of concurrent jobs.

## Changes

- **2026-09-05** `27a8a554d4fd` — 1 info
  - the `created_at` response's property pattern was changed from `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
- **2026-08-25** `c03d7b931978` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/krea/apis/krea-api/changes/generate/enhance/runway/ruby/post.md)

---

[API](https://skmtc.dev/krea/apis/krea-api.md) · [All operations](https://skmtc.dev/krea/apis/krea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/krea/apis/krea-api/revisions/fe9306f776eb?raw)
