Bulk download images (coming soon)
download_imagesDownload images from web pages or direct links, filter by format, size, and dimensions, deduplicate, and convert or resize them. Get public URLs with alt text, dimensions, and SHA-256 for each saved image.
Instructions
COMING SOON: this Kanto Labs actor is not public on the Apify Store yet. Until it is, calls return an 'actor not yet public' error and nothing is charged. Download every image from web pages (img tags, srcset, lazy-load attributes, CSS backgrounds, optionally favicons and SVGs) and/or from direct image links, with size and format filters, de-duplication and optional conversion or resizing. Each saved image gets a public download URL plus its dimensions, format, alt text and SHA-256. Use it to collect product photos, gallery or article images, or to re-host and convert a list of image links. Only for images you have the right to use; social networks and stock-photo sites are refused. Cost: $0.002 per image saved, billed to your Apify account; duplicates, filtered-out and failed images are free. A page can hold hundreds of images, so set maxImagesPerPage and minWidth to control cost. Runs the Apify actor kantolabs/bulk-image-downloader with your APIFY_TOKEN; maxTotalChargeUsd caps the spend per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Web page URLs (all images on the page) and/or direct image links, mixed freely, e.g. ["https://books.toscrape.com/"]. | |
| dedupe | No | Save (and charge) the same picture found at several URLs only once. Default true. | |
| minWidth | No | Skip (free) images narrower than this in px. 200+ drops icons, avatars and thumbnails. Default 0. | |
| convertTo | No | Keep original files (default) or convert every image to one format. | |
| minHeight | No | Skip (free) images shorter than this in px. Default 0. | |
| includeSvg | No | Also save SVG files (logos, icons). Default false. | |
| timeoutSecs | No | Give up after this many seconds (max 300, Apify's limit for synchronous runs). Default 280. For big batches, split the input into several calls. | |
| includeIcons | No | Also collect favicons and touch icons. Default false. | |
| maxDimension | No | Downscale images whose longest side exceeds this in px. 0 (default) keeps the original size. | |
| minFileSizeKb | No | Skip (free) files smaller than this. Default 2, which removes tracking pixels. | |
| allowedFormats | No | Keep only these formats. Omit to keep all raster formats. | |
| maxImagesPerPage | No | Stop after this many images from one page. Default 200. | |
| maxTotalChargeUsd | No | Hard spending cap for this call in USD, enforced by Apify: the run stops once it has charged this much. Default 1 (server setting KANTO_MAX_CHARGE_USD). | |
| includeCssBackgrounds | No | Also collect CSS background images (hero banners, sliders). Default true. |