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

Upscale artwork to 1 megapixel

Drawings, anime and logos enlarged with the illustration model to about 1 megapixel each.

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/d/da/Wikipe-tan_face.svg/330px-Wikipe-tan_face.svg.png, https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/250px-Tux.svg.png

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).

Target size in megapixels targetMegapixels

1

Instead of a factor, size each result to about this many megapixels (keeping the aspect ratio), e.g. 2 for about 1632x1224 from a 4:3 photo. Leave empty to use the factor above. Images already larger than the target are not enlarged.

Image type upscaleModel

Illustration / anime

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

Default: Photo → this example uses Illustration / anime

Output format outputFormat

PNG

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

Base64 images base64Images

{"name":"badge.png","base64":"iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAAyElEQVR42u2ZwRGDMAwErSskrxSZElIkrzSSVADYRsS+893foN3RwMgqxXGclRP/etHjtX1bz3zez6AU0AM7SkrMDny3kGAFzxIR7OBXRYQKeK8IKMK31AtF+Ja6oQpfWz+U4Ws4oA5/xoMV4I+4UBaPBazS/nt87gALsAALSL1gYJsS3QEWcOEygb39DztATcIeD3oOqcBXfQPYJZzVj4yHsMI3/…

Images sent as text, for API calls and small tests: a list of {"name": "photo.jpg", "base64": "..."} objects, base64 strings or data:image/... URLs.

.json
{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/d/da/Wikipe-tan_face.svg/330px-Wikipe-tan_face.svg.png",
    "https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/250px-Tux.svg.png"
  ],
  "base64Images": [
    {
      "name": "badge.png",
      "base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAAyElEQVR42u2ZwRGDMAwErSskrxSZElIkrzSSVADYRsS+893foN3RwMgqxXGclRP/etHjtX1bz3zez6AU0AM7SkrMDny3kGAFzxIR7OBXRYQKeK8IKMK31AtF+Ja6oQpfWz+U4Ws4oA5/xoMV4I+4UBaPBazS/nt87gALsAALSL1gYJsS3QEWcOEygb39DztATcIeD3oOqcBXfQPYJZzVj4yHsMI3/QXYJNTW671A5mjJBJ4iYAYRQ3eDI4RMuR2+S4r6YOY4E+QHNaJkOBNFR1UAAAAASUVORK5CYII="
    }
  ],
  "operation": "upscale",
  "upscaleModel": "illustration",
  "targetMegapixels": 1,
  "outputFormat": "png"
}

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

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.