Media
High-quality image upscaling using advanced interpolation algorithms with sharpening enhancement
Call this tool from your code in three languages.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/image-quality-upscaler' \
-H 'Content-Type: application/json' \
-d '{"filename":"imageFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/en/api/tools/image-quality-upscaler' \
-F 'imageFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'scale=2' \
-F 'targetWidth=0' \
-F 'targetHeight=0' \
-F 'maintainAspectRatio=true' \
-F 'interpolation=lanczos3' \
-F 'sharpenAmount=1.5' \
-F 'enhanceColors=true' \
-F 'outputFormat=jpeg' \
-F 'quality=92'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/image-quality-upscaler| Name | Type | Required | Description |
|---|---|---|---|
| imageFile | fileupload required | Yes | Supports JPG, PNG, WebP, BMP, TIFF and other common image formats |
| scale | select | No | Select scale factor (2x is recommended for best quality and details) |
| targetWidth | number | No | Set to use this width instead of scale factor |
| targetHeight | number | No | Set to use this height instead of scale factor |
| maintainAspectRatio | checkbox | No | Maintain the original image aspect ratio |
| interpolation | select | No | Lanczos3 provides best quality, Nearest is fastest |
| sharpenAmount | range | No | Enhance image details, higher values create stronger sharpening effect |
| enhanceColors | checkbox | No | Slightly enhance color saturation and brightness |
| outputFormat | select | No | JPEG for photos, PNG for images with transparency |
| quality | range | No | Output image quality (1-100), only for JPEG and WebP |
File result
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-image-quality-upscaler": {
"name": "image-quality-upscaler",
"description": "High-quality image upscaling using advanced interpolation algorithms with sharpening enhancement",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-quality-upscaler",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "image-quality-upscaler",
"arguments": {
"imageFile": "https://example.com/file.ext",
"scale": "2",
"targetWidth": 0,
"targetHeight": 0,
"maintainAspectRatio": true,
"interpolation": "lanczos3",
"sharpenAmount": 1.5,
"enhanceColors": true,
"outputFormat": "jpeg",
"quality": 92
}
}
}Questions or issues? Contact [email protected]