# ImageResult

> Google 圖片裡的一張圖：原圖、縮圖和所在網頁。

網頁版：https://okdata.online/zh/docs/objects/image_result/

所有平台同一種結構。平台沒有的欄位為 null，meta.unavailable 會說明原因。用 fields= 只取需要的欄位。

| 欄位 | 型別 | 說明 |
|---|---|---|
| `rank` | integer | 在列表裡的位置，從 1 開始。 |
| `title` | string \| null | 圖片標題或說明。 |
| `image_url` | string \| null | 原圖地址（託管它的網站上）。 |
| `thumbnail_url` | string \| null | Google 的縮圖。 |
| `page_url` | string \| null | 圖片所在網頁。 |
| `source` | string \| null | 來源網站域名。 |

## 返回 ImageResult 的介面

- [Google 圖片搜尋](https://okdata.online/zh/apis/google/images/search/) (`google.images.search`): $0.01/次 · 每頁約 20 條結果

## 各 view 返回的欄位

每一級 view 都包含上一級的欄位。`view=compact` 最精簡；`full` 會在 `ext` 里加上平台特有欄位。

- compact：`rank`, `title`, `image_url`, `page_url`, `source`
- standard：`thumbnail_url`
- full：—
