API & MCP

Everything a person can do on Image Upscaler, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Image Upscaler

Enlarges a small image by 2, 3 or 4 times (up to 16 megapixels) with high-quality classic resampling filters, optional noise reduction before and unsharp-mask sharpening after. A side-by-side crop compares plain pixel enlargement with the result. This is classic interpolation, not an AI upscaler: it cannot invent detail that is not in the original.

Inputs of Image Upscaler
FieldTypeDefaultDescription
file (required)file—Image. JPG, PNG, WebP, AVIF, GIF, TIFF or HEIC, max 50 MB. The enlarged result may be at most 16 megapixels.
factorselect (2, 3, 4)"2"Scale factor
filterselect (lanczos, mitchell, catrom, ewa)"lanczos"Resampling filter
sharpenselect (none, light, medium, strong)"light"Sharpening after enlarging
denoiseselect (none, despeckle, enhance, median)"none"Noise reduction before enlarging
formatselect (png, jpeg, webp)"png"Output format
qualityinteger92Quality. For JPG and WebP.

Example request

Small logo 4× with Lanczos and light sharpening

curl -X POST https://imageupscaler.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"file":{"filename":"logo.png","contentType":"image/png","contentBase64":"iVBORw0KGgoAAAANSUhEUgAAABgAAAAQAQMAAAA26i3WAAAABlBMVEX4+PgWUvBKqxVnAAAAEklEQVQI12NgQAP8/z/gxWgAAPdHD/H1HpIcAAAAAElFTkSuQmCC"},"factor":"4","filter":"lanczos","sharpen":"light","format":"png"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "image-upscaler": { "type": "http", "url": "https://imageupscaler.usefulweb.site/mcp" }
  }
}