Image

Upscale image

Upscales an image using bundled CoreML models. Two models available: purephoto-span-x4 (4x, default) and pipersr-2x (2x, faster, ANE-native). Accepts base64-encoded image data, returns PNG.

post/v1/images/upscale

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/images/upscale
  • Auth: HTTP bearer

Request body

imagestring required

Base64-encoded image data

model'purephoto-span-x4' | 'pipersr-2x'

Upscale model to use (default purephoto-span-x4)

Response

Upscaled PNG image

Changes

No recorded changes to this operation across all 1 revision of this API.