2K or 4K output
Pick the target with a single field: resolution = "2k" (2560 px on the long edge) or "4k" (3840 px). Aspect ratio is kept. Same price for both.
Send the URL of an image and get it back at 2K or 4K resolution. The upscaler
Learn more about Image Upscale
Public URL of the source image (JPEG, PNG or WebP, up to 4096×4096; must be smaller than the target resolution)
Instant sample preview — no cost, no account. Sign up free to run with your own input.
{
"status": "success",
"data": {
"url": "https://cdn.example.com/images/upscale/abc123.png",
"key": "images/upscale/ab/cd/abcd1234.png",
"folder_id": "abcd1234",
"content_type": "image/png",
"resolution": "2k",
"width": 2560,
"height": 1810,
"source_width": 1000,
"source_height": 707
},
"cost": {
"tokens": 1,
"unit_price": 6,
"balance": 1234
}
}Example response from this endpoint's API reference. Sign in to run it on your own input.
This request costs 6 credits per item.
Send the URL of an image and get it back at 2K or 4K resolution. The upscaler does not just stretch pixels: a neural super-resolution network (Real-ESRGAN) rebuilds edges and texture, so low-resolution photos, scans, thumbnails and AI-generated images come back sharp enough for print, large displays and further editing. The response is synchronous: you get the URL of the finished PNG directly in the reply.
Pick the target with a single field: resolution = "2k" (2560 px on the long edge) or "4k" (3840 px). Aspect ratio is kept. Same price for both.
Neural super-resolution restores edges and texture instead of the soft look of classic resizing, and it stays faithful to the source — no invented objects or altered faces.
No job to poll — the finished PNG URL comes back directly in the response body, typically within a few seconds.
Print and large-format display
Bring web-sized product shots, portraits and marketing images up to print resolution.
Restoring old or compressed images
Sharpen low-resolution archives, scans and heavily compressed uploads.
AI image pipelines
Generate at a fast, low resolution and upscale only the picks you keep — cheaper than generating everything at full size.
input
Public URL of a JPEG, PNG or WebP image; target resolution (2k or 4k)
output
Output image URL (PNG) returned synchronously
imageUrlrequiredstringPublic URL of the source image (JPEG, PNG or WebP, up to 4096×4096; must be smaller than the target resolution)
resolutionstring · default: 2kTarget resolution: "2k" (default, 2560 px long edge) or "4k" (3840 px long edge). Aspect ratio is preserved.
enum: 2k, 4k
Billed per image processed.
| Service | Unit | Price |
|---|---|---|
| Image Upscale | image | 6 credits/image |
One image is charged per successful request, regardless of source size or target resolution (2K and 4K cost the same).
Rejected or failed requests are not charged.