Google Serper Images
1积分/次
ae_serper_images
使用 Google 图片搜索图像,为您的项目查找视觉素材、照片和缩略图。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
q | string | 是 | Search query. The request body field name must be q (not query). | — |
gl | string | 否 | Country code / geographic market, e.g. us. | — |
hl | string | 否 | Language code, e.g. en. | — |
num | integer | 否 | Number of results requested. | — |
tbs | string | 否 | Google time/search filter string, e.g. qdr:w. | — |
page | integer | 否 | Page number, when supported. | — |
safe | string | 否 | Safe search mode, e.g. active. | — |
location | string | 否 | Human-readable location bias, when supported. | — |
autocorrect | boolean | 否 | Whether query autocorrect should be enabled. | — |
调用示例
复制请求代码,查看对应的返回示例。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_serper_images' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"gl": "cn",
"hl": "zh-CN",
"num": 10,
"q": "孙燕姿 蓝色海边 夜色 黑色斗篷 短发 壁纸 高清"
}
}'返回示例response.json
{
"credits": 1,
"images": [
{
"domain": "haowallpaper.com",
"googleUrl": "https://www.google.com/imgres?imgurl=https%3A%2F%2Fimg.haowallpaper.com%2Fcache_file%2F2024_06_19_file%2F15053539917860160.png&tbnid=aPmntgullnlTkM&imgrefurl=https%3A%2F%2Fhaowallpaper.com%2FhomeViewLook%2F16545291599793536&docid=FRuVks_sSp8E-M&w=890&h=501",
"imageHeight": 501,
"imageUrl": "https://img.haowallpaper.com/cache_file/2024_06_19_file/15053539917860160.png",
"imageWidth": 890,
"title": "4k孙燕姿壁纸|舞台演唱剪影背景图片- 蓝色氛围「哲风壁纸」"
}
],
"searchParameters": {
"engine": "google",
"gl": "cn",
"hl": "zh-cn",
"num": 10,
"q": "孙燕姿 蓝色海边 夜色 黑色斗篷 短发 壁纸 高清",
"type": "images"
}
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。
使用该工具的指南
看看真实工作流里怎么用这个工具


