Rendley docs

Video upscaling

Raise footage to 1080p or 4K without reshooting it. Useful for old recordings, phone video and anything shot below your delivery spec.

#Upscale a video

Enqueue a job to upscale an existing video to higher resolution (up to 4K) using AI super-resolution.

POSThttps://api.rendley.com/v1/ai/upscale-video

Don't have one? Create an API key

Body

Which model to use. Changing it updates the params below.

Model-specific parameters. The fields listed for the selected model.

The 'hash' field from the library media entry, or a public URL.

Output resolution. 4k is the native maximum; price rises with resolution.

Output frame rate. Frame interpolation is applied when higher than the source; 60fps costs double.

Scene-based enhancement preset. 'aigc' for AI-generated clips (Seedance etc.); 'short_series' for short-form drama; 'ugc' for phone/user footage; 'old_film' for film restoration; 'common' for everything else.

const res = await fetch("https://api.rendley.com/v1/ai/upscale-video", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    "params": {
      "file_hash": "<file_hash>"
    },
    "project_id": "<project_id>",
    "model_id": "video-upscaler"
  }),
});
const { data } = await res.json();
curl -X POST "https://api.rendley.com/v1/ai/upscale-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "params": {
      "file_hash": "<file_hash>"
    },
    "project_id": "<project_id>",
    "model_id": "video-upscaler"
  }'
import requests

res = requests.post(
    "https://api.rendley.com/v1/ai/upscale-video",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "params": {
            "file_hash": "<file_hash>"
        },
        "project_id": "<project_id>",
        "model_id": "video-upscaler"
    },
)
data = res.json()["data"]
$ch = curl_init("https://api.rendley.com/v1/ai/upscale-video");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json"]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(["params" => ["file_hash" => "<file_hash>"], "project_id" => "<project_id>", "model_id" => "video-upscaler"]));

$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true)["data"];
package main

import (
	"fmt"
	"io"
	"net/http"
	"bytes"
)

func main() {
	body := bytes.NewBufferString(`{
  "params": {
    "file_hash": "<file_hash>"
  },
  "project_id": "<project_id>",
  "model_id": "video-upscaler"
}`)
	req, _ := http.NewRequest("POST", "https://api.rendley.com/v1/ai/upscale-video", body)
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	b, _ := io.ReadAll(res.Body)
	fmt.Println(string(b))
}
require "net/http"
require "json"

uri = URI("https://api.rendley.com/v1/ai/upscale-video")
req = Net::HTTP::Post.new(uri)
req["Authorization"] = "Bearer YOUR_API_KEY"
req["Content-Type"] = "application/json"
req.body = { params: { file_hash: "<file_hash>" }, project_id: "<project_id>", model_id: "video-upscaler" }.to_json

res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)["data"]

Response

{
  "data": {
    "job_id": "d97241f2-e1e4-4651-b078-8663fc35c584"
  }
}

#Calculate video upscale cost

Calculate the credit cost of upscaling a video to higher resolution (billed per second of source video).

POSThttps://api.rendley.com/v1/ai/upscale-video/cost

Don't have one? Create an API key

Body

Which model to use. Changing it updates the params below.

Model-specific parameters. The fields listed for the selected model.

The 'hash' field from the library media entry, or a public URL.

Output resolution. 4k is the native maximum; price rises with resolution.

Output frame rate. Frame interpolation is applied when higher than the source; 60fps costs double.

Scene-based enhancement preset. 'aigc' for AI-generated clips (Seedance etc.); 'short_series' for short-form drama; 'ugc' for phone/user footage; 'old_film' for film restoration; 'common' for everything else.

const res = await fetch("https://api.rendley.com/v1/ai/upscale-video/cost", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    "params": {
      "file_hash": "<file_hash>"
    },
    "project_id": "<project_id>",
    "model_id": "video-upscaler"
  }),
});
const { data } = await res.json();
curl -X POST "https://api.rendley.com/v1/ai/upscale-video/cost" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "params": {
      "file_hash": "<file_hash>"
    },
    "project_id": "<project_id>",
    "model_id": "video-upscaler"
  }'
import requests

res = requests.post(
    "https://api.rendley.com/v1/ai/upscale-video/cost",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "params": {
            "file_hash": "<file_hash>"
        },
        "project_id": "<project_id>",
        "model_id": "video-upscaler"
    },
)
data = res.json()["data"]
$ch = curl_init("https://api.rendley.com/v1/ai/upscale-video/cost");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json"]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(["params" => ["file_hash" => "<file_hash>"], "project_id" => "<project_id>", "model_id" => "video-upscaler"]));

$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true)["data"];
package main

import (
	"fmt"
	"io"
	"net/http"
	"bytes"
)

func main() {
	body := bytes.NewBufferString(`{
  "params": {
    "file_hash": "<file_hash>"
  },
  "project_id": "<project_id>",
  "model_id": "video-upscaler"
}`)
	req, _ := http.NewRequest("POST", "https://api.rendley.com/v1/ai/upscale-video/cost", body)
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	b, _ := io.ReadAll(res.Body)
	fmt.Println(string(b))
}
require "net/http"
require "json"

uri = URI("https://api.rendley.com/v1/ai/upscale-video/cost")
req = Net::HTTP::Post.new(uri)
req["Authorization"] = "Bearer YOUR_API_KEY"
req["Content-Type"] = "application/json"
req.body = { params: { file_hash: "<file_hash>" }, project_id: "<project_id>", model_id: "video-upscaler" }.to_json

res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)["data"]