Skip to main content
POST
/
api
/
content
/
upscale
cURL
curl --request POST \
  --url https://recoup-api.vercel.app/api/content/upscale \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "url": "<string>",
  "type": "image",
  "upscale_factor": 2,
  "target_resolution": "720p"
}
'
{
  "url": "<string>"
}

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