POST
/
api
/
v1
/
client
/
img-upscale
/
price-calculation
Image Upscale Price Calculation
curl --request POST \
  --url http://localhost:8000/api/v1/client/img-upscale/price-calculation \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "RealESRGAN_x4",
  "width": 123,
  "height": 123
}
'
{
  "data": {
    "price": 0.00059
  }
}

Body

application/json
model
string
required
Example:

"RealESRGAN_x4"

width
integer
height
integer

Response

Price calculated

data
object