{
"count": 5,
"items": [
{
"sourceUrl": "https://books.toscrape.com/media/cache/2c/da/2cdad67c44b002e7ead0cc35693c0e8b.jpg",
"fileUrl": "https://2-29-135-242.sslip.io/m/f/MLHzFvxftI5WfCERF/2cdad67c44b002e7ead0cc35693c0e8b.jpg",
"key": "2cdad67c44b002e7ead0cc35693c0e8b.jpg",
"fileName": "2cdad67c44b002e7ead0cc35693c0e8b.jpg",
"contentType": "image/jpeg",
"bytes": 9876,
"originalBytes": 9876,
"width": 125,
"height": 155,
"format": "jpg",
"sha256": "4752d0ef411fb1c4aad31d69425d075c219345c386fd94f43ddfbf4495ea0437",
"name": null,
"position": null,
"foundOn": "https://books.toscrape.com/",
"downloadedAt": "2026-11-15T18:03:27Z"
},
{
"sourceUrl": "https://www.gstatic.com/webp/gallery/1.jpg",
"fileUrl": "https://2-29-135-242.sslip.io/m/f/MLHzFvxftI5WfCERF/1.jpg",
"key": "1.jpg",
"fileName": "1.jpg",
"contentType": "image/jpeg",
"bytes": 44891,
"originalBytes": 44891,
"width": 550,
"height": 368,
"format": "jpg",
"sha256": "ddbdb9cdb5f109c567d2aafd076288cd57187e7a97d94898c72591dbfe28235c",
"name": null,
"position": null,
"foundOn": "input",
"downloadedAt": "2026-11-15T18:03:27Z"
},
{
"sourceUrl": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg",
"fileUrl": "https://2-29-135-242.sslip.io/m/f/MLHzFvxftI5WfCERF/Cat03.jpg",
"key": "Cat03.jpg",
"fileName": "Cat03.jpg",
"contentType": "image/jpeg",
"bytes": 279603,
"originalBytes": 279603,
"width": 1600,
"height": 1598,
"format": "jpg",
"sha256": "ec8ff0a6954a5f54e4ad246f0a788d076f675e457bca16a04248718cca3fe631",
"name": null,
"position": null,
"foundOn": "input",
"downloadedAt": "2026-11-15T18:03:27Z"
},
{
"sourceUrl": "https://books.toscrape.com/media/cache/92/27/92274a95b7c251fea59a2b8a78275ab4.jpg",
"fileUrl": "https://2-29-135-242.sslip.io/m/f/MLHzFvxftI5WfCERF/92274a95b7c251fea59a2b8a78275ab4.jpg",
"key": "92274a95b7c251fea59a2b8a78275ab4.jpg",
"fileName": "92274a95b7c251fea59a2b8a78275ab4.jpg",
"contentType": "image/jpeg",
"bytes": 10740,
"originalBytes": 10740,
"width": 103,
"height": 154,
"format": "jpg",
"sha256": "7ae4465b568e7e9d30c61ba5513d70cde3ed146c55173c55605abf1d9c1ea3e1",
"name": null,
"position": null,
"foundOn": "https://books.toscrape.com/",
"downloadedAt": "2026-11-15T18:03:27Z"
},
{
"sourceUrl": "https://books.toscrape.com/media/cache/3d/54/3d54940e57e662c4dd1f3ff00c78cc64.jpg",
"fileUrl": "https://2-29-135-242.sslip.io/m/f/MLHzFvxftI5WfCERF/3d54940e57e662c4dd1f3ff00c78cc64.jpg",
"key": "3d54940e57e662c4dd1f3ff00c78cc64.jpg",
"fileName": "3d54940e57e662c4dd1f3ff00c78cc64.jpg",
"contentType": "image/jpeg",
"bytes": 9693,
"originalBytes": 9693,
"width": 103,
"height": 154,
"format": "jpg",
"sha256": "424c4ffe127e680de493a5cbe11af87ca930097b7137bb4b598aed93ea189fef",
"name": null,
"position": null,
"foundOn": "https://books.toscrape.com/",
"downloadedAt": "2026-11-15T18:03:27Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14864/bulk+image+downloader+api/38697/bulk+image+downloader?fileTypes=images&outputFormat=original&maxWidth=Optionalquality=85&minWidth=50&minHeight=50&dedupeByContent=true&fileNaming=auto&zipPartMb=50&maxFiles=200&urls=https://www.gstatic.com/webp/gallery/1.jpg,https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg&pageUrls=https://books.toscrape.com/' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 批量图像下载器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
从图像链接列表或网页批量下载图像 每个文件都会获得一个公共下载链接以及一个zip压缩文件 精确重复的文件会被跳过且不收费 可选的调整大小和格式转换
每个请求最多返回100个结果,具体取决于端点
每个请求从公共源收集实时数据 相同的请求可以从缓存中服务最多6小时
列表参数接受多个由逗号分隔的值,例如:伦敦,巴黎
终端接受这些查询参数,均为可选:urls,pageUrls,imageFields,nameField,fileTypes,outputFormat,maxWidth,quality,minWidth,minHeight,dedupeByContent,fileNaming,createZip,zipPartMb,maxFiles。Urls:直接的图像(或文件)链接,每行一个。每个链接都会被下载并以公共链接的形式存储。如果使用页面或数据集则留空。多个值:以逗号分隔。PageUrls:网页。页面上的每个图像都会被收集:<img> src,懒加载 data-src,最大的 srcset 大小,og:image / twitter:image 和指向图像文件的链接。小图标根据最小宽度/最小高度进行过滤。多个值:以逗号分隔。ImageFields:可选。
批量图像下载器端点返回包含从提供的URL或网页下载的图像信息的JSON数据。每个条目包括源URL、文件URL、内容类型、尺寸和文件大小等详细信息
响应中的关键字段包括 `sourceUrl` `fileUrl` `contentType` `width` `height` `bytes` 和 `sha256` 这些字段提供了关于每个下载图像的重要信息
响应数据被结构化为一个包含 `count` 和 `items` 数组的 JSON 对象 数组中的每个项目代表一个单独的图像及其相关的元数据
端点提供关于图像的信息,包括其源URL 文件URL 尺寸 文件类型和下载时间戳 这使得用户能够有效地跟踪和管理他们下载的图像
`sourceUrl` 表示图像的来源链接 `fileUrl` 是下载图像的链接 `contentType` 指定图像格式 `bytes` 显示文件大小(以字节为单位) 理解这些字段有助于用户有效利用数据