POST
v1
/
replicate
/
imageupscale
curl --request POST \
  --url http://localhost:9000/api/v1/replicate/imageupscale \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form scale=123 \
  --form face_enhance=true

Query

model
string
default:
"nightmareai/real-esrgan"
required

The image model to be used;

Body

image
file
required

Input image

scale
float
default:
"4.0"

Factor to scale image by

face_enhance
boolean
default:
"False"

Run GFPGAN face enhancement along with upscaling