AI Image Upscaler: 2x & 4x Super Resolution (CPU)
Pricing
from $9.60 / 1,000 image upscaleds
AI Image Upscaler: 2x & 4x Super Resolution (CPU)
Upscale images 2x or 4x with AI super-resolution (Real-ESRGAN) on CPU: image URLs in, PNG, JPG or WebP out with download links. Small images only (up to 0.35 megapixels, about 640x480). No GPU, no API key. Sharpens and removes JPEG blocks; it invents texture, not real detail.
Pricing
from $9.60 / 1,000 image upscaleds
Rating
0.0
(0)
Developer
Data Done Right
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 days ago
Last modified
Categories
Features
Share
This AI image upscaler takes a list of direct image URLs, enlarges each image 2x or 4x with the open-source Real-ESRGAN super-resolution model (general x4v3, BSD-3-Clause) running on CPU, and gives you a download link for every result as PNG, JPG or WebP. No GPU, no API key, nothing to install.
What it does not do. It only accepts small inputs: up to 0.35 megapixels (about 640x480). Bigger images are rejected, free, with a clear message; the limit cannot be raised, because CPU time grows with image size and the price is per image. It is not a restoration or face-enhancement tool: there is no face model, no colourisation, no scratch repair, no 8x. It invents plausible texture instead of recovering real detail, so edges look sharper and JPEG blocks disappear, but text, faces and fine patterns can look smoothed or "painted". It scores lower PSNR than plain Lanczos resizing on clean test images (see "Quality and limits"), so do not use it where pixel-exact fidelity matters (science, evidence, medical). It reads direct image files only (JPEG, PNG, WebP, BMP, GIF first frame, TIFF), not web pages, social media posts, HEIC or SVG. Use it on images you own or have the right to edit.
What you get
- One dataset row per image: your source URL, a signed download link to the upscaled file, width and height before and after, file size, processing time, and a clear error if it failed.
- 2x or 4x, as PNG (lossless, keeps transparency), WebP (small, keeps transparency) or JPG.
- Failed, rejected, oversized and robots.txt-blocked images are free; one bad link never stops the run.
How to upscale an image from a URL
- Paste one or more direct image URLs in
imageUrls, for examplehttps://example.com/thumb.jpg. - Leave the defaults (
scale4, PNG) and run. - Open the dataset: the
urlcolumn links to each upscaled image. The files are also in the key-value store of the run.
How to upscale images 2x instead of 4x
Set "scale": 2. The model works at 4x natively; for 2x the Actor runs it and reduces the result by half with Lanczos. The cost is the same as 4x, so choose 2x only when you want the smaller file.
How to get small files out of a 4x upscale
A 4x PNG is large (several MB for a 640x480 input). Set "outputFormat": "webp" (quality 90) or "jpg" (quality 92). WebP and PNG keep transparency; JPG does not (the result is placed on white and the note of the row says so).
How to upscale many images in a pipeline
Feed the list in imageUrls (up to 2000 per run with maxImagesPerRun), set outputStoreName to keep the result files in a named store that outlives the run, and read the dataset rows through the API. Duplicate URLs are processed once, failures are listed in the dataset and in the FAILED record.
Input
| Field | Default | What it does |
|---|---|---|
imageUrls | one sample photo | Direct image links (strings, or objects with a url). Required. |
scale | 4 | 2 or 4. Same price. |
outputFormat | png | png, jpg (quality 92) or webp (quality 90). |
maxImagesPerRun | 100 | Hard cap per run (max 2000). Extra images are listed as skipped, free. |
maxImageSizeMb | 10 | Larger downloads are rejected (max 50). |
maxInputMegapixels | 0.35 | Larger inputs are rejected before decoding. Can be lowered, not raised. |
imageTimeoutSecs | 180 | Download plus processing time per image. |
outputStoreName | empty | Keep the result files in a named store until you delete it. |
Input example:
{"imageUrls": ["https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"],"scale": 4,"outputFormat": "webp"}
Output example (from a real local run of this input):
{"index": 1,"sourceUrl": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg","status": "ok","url": "https://api.apify.com/v2/key-value-stores/832zZd76HB45xHhDy/records/0001-grapefruit-slice-332-332.webp","key": "0001-grapefruit-slice-332-332.webp","scale": 4,"format": "webp","width": 1328,"height": 1328,"originalWidth": 332,"originalHeight": 332,"bytes": 126004,"originalBytes": 18122,"processingMs": 1367,"error": null,"note": null}
The run also writes a SUMMARY record (images requested, delivered, failed, skipped, seconds of upscaling) and, when something failed, a FAILED record.
Quality and limits
Measured by us on three Kodak test photos (downscaled by 2 or 4, some also JPEG-compressed at quality 75, then upscaled again):
- Looks better than Lanczos to the eye: edges and brick or hair strands are much sharper, JPEG block noise is smoothed away. Laplacian variance (a sharpness proxy) was about 525 against 19 for Lanczos on one JPEG-degraded 4x test.
- Scores lower than Lanczos on PSNR on every test image (about 0.6 to 3 dB lower). The model draws texture that was not in the original, and PSNR punishes that. Treat the result as "enhanced", not "recovered".
- Textures can look smoothed or painted; text, logos and faces are not specially handled.
- Two other small models we tried (ESPCN and EDSR from OpenCV) were either no better than Lanczos or far too slow on CPU, which is why this Actor uses Real-ESRGAN general x4v3.
- Transparent images: colour is upscaled on a white background and the alpha channel is resized with Lanczos; a faint light edge can remain.
- Animated GIFs: only the first frame is used.
- Speed on one desktop CPU core: about 1 second for a 332x332 input and about 3 to 4 seconds for 640x480 (4x). Apify machines may be slower.
- The Actor fetches only public http and https addresses, refuses private and internal network addresses, follows at most 5 redirects, honours the robots.txt of the image host (a disallowed image is skipped and free) and sends an honest ImageUpscaler user agent. It does not use proxies and does not work around blocks: a 403 or 429 is reported as it is.
How much does it cost
$0.012 per image delivered (event image-upscaled), the same for 2x and 4x and for every output format. Failed, skipped, rejected and robots.txt-blocked images are free. There is no start fee.
| Images | Price |
|---|---|
| 1,000 | $12 |
| 10,000 | $120 |
| 100,000 | $1,200 |
Platform compute is included in the per-image price. Set a maximum cost per run in the Apify console and the Actor stops cleanly when it is reached.
Use cases
- Enlarge small product thumbnails for shop listings.
- Make low-resolution social or blog images usable at a larger size.
- Clean up compressed JPEG avatars or logos before printing small.
- Add an upscale step to a scraping or content pipeline that handles lists of image URLs.
- Prepare small training images at a larger size for later processing.
FAQ
Why only 0.35 megapixels? The model costs CPU time in proportion to pixels. Above about 640x480 the cost per image would be higher than the per-image price allows, so larger inputs are rejected, free, instead of being priced differently.
Can it upscale 1024x1024 or phone photos? No. Resize them down first (for example with the Image Compressor & Resizer) if you accept losing detail, or use a GPU service.
Is the result real detail? No. It is plausible texture drawn by a neural network. Do not use it as evidence or for measurements.
Does it keep transparency? PNG and WebP: yes, the alpha channel is resized with Lanczos. JPG: no, the result is on white.
Is it GPU-grade? No. It uses a small model (1.2 million parameters) so it can run on CPU. Large GPU models give finer results on faces and textures.
What happens to links that are not images? They are reported as errors, free. Pages, HEIC and SVG are rejected with a message saying what to use instead.
Use with the Apify API, MCP, n8n or Make
Python:
from apify_client import ApifyClientclient = ApifyClient("<APIFY_TOKEN>")run = client.actor("<your-username>/image-upscaler").call(run_input={"imageUrls": ["https://example.com/thumb.jpg"], "scale": 4, "outputFormat": "webp"})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row["status"], row["url"], row["width"], row["height"])
JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<APIFY_TOKEN>' });const run = await client.actor('<your-username>/image-upscaler').call({imageUrls: ['https://example.com/thumb.jpg'], scale: 4, outputFormat: 'webp' });const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items[0].url);
The same input works in the Apify MCP server, n8n and Make through their Apify integrations.
Related tools
- Image Compressor & Resizer: Compress Images in Bulk
- Background Remover for Images (rembg, CPU)
- HEIC to JPG Converter: Convert HEIC/HEIF to JPG & PNG