# Bulk Image Downloader from a List of URLs

**Use case:** 

Paste image links, one per line, and get every file downloaded into a ZIP and the key-value store. Optional: convert WebP and AVIF to JPEG, shrink to a maximum size, skip duplicates. Failed links are listed with the reason and cost nothing.

## Input

```json
{
  "queries": [
    "red fox"
  ],
  "maxImagesPerQuery": 20,
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Portrait_of_a_red_fox_in_Rautas_fj%C3%A4llurskog_%28cropped%29.jpg/500px-Portrait_of_a_red_fox_in_Rautas_fj%C3%A4llurskog_%28cropped%29.jpg",
    "https://cdn.britannica.com/95/206395-050-02B81B30/Red-fox-Vulpes-vulpes.jpg",
    "https://www.nps.gov/articles/images/red-fox_Ed-Sharron-copy.jpg",
    "https://www.nrcm.org/wp-content/uploads/2018/12/Red-fox-winter-South-China-4-Hal-Winters.jpg"
  ],
  "imageSize": "any",
  "color": "any",
  "imageType": "any",
  "license": "any",
  "time": "any",
  "aspectRatio": "any",
  "fileType": "any",
  "country": "us",
  "language": "en",
  "safeSearch": false,
  "downloadImages": true,
  "convertTo": "jpeg",
  "removeDuplicates": true,
  "thumbnailFallback": true,
  "createZip": true,
  "saveFiles": true,
  "maxFileSizeMB": 25,
  "onlyNew": false,
  "monitorName": "default",
  "maxConcurrency": 16
}
```

## Output

```json
{
  "thumbnailUrl": {
    "label": "Image",
    "format": "image"
  },
  "query": {
    "label": "Search / source",
    "format": "text"
  },
  "position": {
    "label": "Rank",
    "format": "number"
  },
  "fileUrl": {
    "label": "File",
    "format": "link"
  },
  "fileWidth": {
    "label": "File width",
    "format": "number"
  },
  "fileHeight": {
    "label": "File height",
    "format": "number"
  },
  "fileSizeKB": {
    "label": "KB",
    "format": "number"
  },
  "format": {
    "label": "Format",
    "format": "text"
  },
  "domain": {
    "label": "Site",
    "format": "text"
  },
  "pageUrl": {
    "label": "Page",
    "format": "link"
  },
  "imageUrl": {
    "label": "Image URL",
    "format": "link"
  },
  "fileName": {
    "label": "File name",
    "format": "text"
  },
  "downloadedFrom": {
    "label": "From",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Bulk Image Downloader & Google Images Scraper](https://apify.com/s_actors/bulk-image-downloader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/s_actors/bulk-image-downloader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/s_actors/bulk-image-downloader.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
