# 为 AI 训练构建图片数据集(按关键词)

**Use case:** 

按关键词批量收集谷歌图片的原图 URL 与尺寸, 快速搭建机器学习训练数据集。结构化 JSON, 支持多关键词一次抓取, 按结果计费。

## Input

```json
{
  "queries": [
    "熊猫",
    "竹林"
  ],
  "maxResultsPerQuery": 20,
  "gl": "us",
  "hl": "zh-cn"
}
```

## Output

```json
{
  "query": {
    "label": "Query",
    "format": "string"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "imageUrl": {
    "label": "Image URL",
    "format": "string"
  },
  "imageWidth": {
    "label": "Image Width",
    "format": "integer"
  },
  "imageHeight": {
    "label": "Image Height",
    "format": "integer"
  },
  "source": {
    "label": "Source",
    "format": "string"
  },
  "link": {
    "label": "Page Link",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Images API - $0.10 per 1,000 - Fast Image API](https://apify.com/johnvc/google-images-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/google-images-api) to learn more, explore other use cases, and run it yourself.