Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Body

application/json

Upscale parameters

url
string<uri>
required

URL of the image or video to upscale

type
enum<string>
required

Whether the input is an image or video

Available options:
image,
video
upscale_factor
number
default:2

Upscale multiplier (1-4x). Defaults to 2x.

Required range: 1 <= x <= 4
target_resolution
enum<string>

Target output resolution. When provided, overrides upscale_factor with a resolution-based upscale.

Available options:
720p,
1080p,
1440p,
2160p

Response

Media upscaled successfully

url
string<uri>
required

URL of the upscaled image or video