Skip to content
//Image Upscaler & Background Remover example\\

Upscale photos 4x (WebP)

Three photos made four times larger and sharper with light noise removal, saved as WebP; transparency is kept.

Updated November 12, 2026

What this example returns

The dataset’s “Processed images” view shows 14 columns: Result, Width, Height, MP, Format, Bytes, Operation, Scale, Background removed, Source, Source width, Source height, Note, and Error. See every output field.

What each setting does

The input this example runs Image Upscaler & Background Remover with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Image URLs imageUrls

https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/YellowLabradorLooking_new.jpg/500px-YellowLabradorLooking_new.jpg, https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Camponotus_flavomarginatus_ant.jpg/330px-Camponotus_flavomarginatus_ant.jpg, https://upload.wikimedia.org/wikipedia/…

Direct links to the images, one per line: JPEG, PNG, WebP, GIF (first frame), AVIF, HEIC/HEIF, TIFF or BMP, up to 60 MB and 50 megapixels each. Google Drive, Dropbox and GitHub share links are turned into download links automatically. Every image gives one result row. You can also (or instead) take images from a…

What to do operation

Upscale

Upscale the image, remove its background, or both (the background is removed first, then the cut-out is upscaled).

Upscale factor scale

4x

How much larger the result is in each direction: 2x turns 500x375 into 1000x750, 4x into 2000x1500. The aspect ratio is always kept. Results are kept within 32 megapixels per image (the size a stored file and a 4 GB run can hold), so very large sources are enlarged less and the row's note says so.

Default: 2x → this example uses 4x

Image type upscaleModel

Photo

Photo: real-world photos, product shots and scans. Illustration: drawings, anime, cartoons, logos and other flat artwork (sharper lines, about twice as fast).

Noise and JPEG artifact removal denoise

Low: keep grain and texture

For photos: how strongly noise and compression artifacts are smoothed while upscaling. Low keeps fine grain and texture, high gives the cleanest result on noisy or heavily compressed images.

Default: Medium → this example uses Low: keep grain and texture

Output format outputFormat

WebP

PNG is lossless and keeps transparency. WebP keeps transparency in a much smaller file. JPEG is smallest but has no transparency.

Default: PNG → this example uses WebP

WebP / JPEG quality quality

85

1 to 100. Higher is sharper and larger. PNG ignores it.

Default: 90 → this example uses 85

.json
{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/YellowLabradorLooking_new.jpg/500px-YellowLabradorLooking_new.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Camponotus_flavomarginatus_ant.jpg/330px-Camponotus_flavomarginatus_ant.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"
  ],
  "operation": "upscale",
  "scale": "4",
  "upscaleModel": "photo",
  "denoise": "low",
  "outputFormat": "webp",
  "quality": 85
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Image upscaledfrom $0.0102One image upscaled and saved, for source images up to 2 megapixels; larger sources count one more per started 2 megapixels. Failed images are free.
  • Background removedfrom $0.00595One image with its background removed and saved (transparent, coloured or cropped cut-out, with the optional mask). Failed images are free.

Full pricing

When to use this example

From the Image Upscaler & Background Remover readme:

What if a result looks wrong?

Try denoise: low for photos with fine texture, the illustration model for artwork, or the detailed background model for hair and fur. A row with subjectFound: false means no clear subject was found.

Other ways to run Image Upscaler & Background Remover

All examples of Image Upscaler & Background Remover

About Image Upscaler & Background Remover

Upscale images 2x to 4x with Real-ESRGAN and remove backgrounds with BiRefNet: sharper photos and illustrations, transparent PNG cut-outs, white or coloured backgrounds, crop to subject and masks. Links, datasets or uploaded files; one row per image with a download link.

Price:
from $10.20 / 1,000 results
Developer:
Echofield

Image Upscaler & Background Remover pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.