images-search by brave/brave-search-skills
npx skills add https://github.com/brave/brave-search-skills --skill images-search需要 API 密钥 : 在 https://api.search.brave.com 获取
套餐 : 包含在 搜索 套餐中。参见 https://api-dashboard.search.brave.com/app/subscriptions/subscribe
curl -s "https://api.search.brave.com/res/v1/images/search?q=mountain+landscape" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"
curl -s "https://api.search.brave.com/res/v1/images/search" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "q=northern lights photography" \
--data-urlencode "country=US" \
--data-urlencode "search_lang=en" \
--data-urlencode "count=20" \
--data-urlencode "safesearch=strict"
GET https://api.search.brave.com/res/v1/images/search
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
认证 : X-Subscription-Token: <API_KEY> 请求头
| 参数 | 类型 | 必需 | 默认值 | 描述 |
|---|---|---|---|---|
q | string | 是 | - | 搜索查询 (1-400 字符,最多 50 个单词) |
country | string | 否 | US | 搜索国家 (2 字母国家代码或 ALL) |
search_lang | string | 否 | en | 2+ 字符语言代码 |
count | int | 否 | 50 | 返回的结果数量 (1-200) |
safesearch | string | 否 | strict | off 或 strict (图像搜索无 moderate 选项) |
spellcheck | bool | 否 | true | 自动纠正查询;纠正后的查询在 query.altered 中 |
{
"type": "images",
"query": {
"original": "mountain landscape",
"altered": null,
"spellcheck_off": false,
"show_strict_warning": false
},
"results": [
{
"type": "image_result",
"title": "Beautiful Mountain Landscape",
"url": "https://example.com/mountain-photo",
"source": "example.com",
"page_fetched": "2025-09-15T10:30:00Z",
"thumbnail": {
"src": "https://imgs.search.brave.com/...",
"width": 200,
"height": 150
},
"properties": {
"url": "https://example.com/images/mountain.jpg",
"placeholder": "https://imgs.search.brave.com/placeholder/...",
"width": 1920,
"height": 1080
},
"meta_url": {
"scheme": "https",
"netloc": "example.com",
"hostname": "example.com",
"favicon": "https://imgs.search.brave.com/favicon/...",
"path": "/mountain-photo"
},
"confidence": "high"
}
],
"extra": {
"might_be_offensive": false
}
}
| 字段 | 类型 | 描述 |
|---|---|---|
type | string | 始终为 "images" |
query.original | string | 原始查询 |
query.altered | string? | 拼写检查后的查询 (若无修正则为 null) |
query.spellcheck_off | bool? | 是否禁用了拼写检查 |
query.show_strict_warning | bool? | 如果严格安全搜索隐藏了相关结果则为 true |
results[] | array | 图像结果列表 |
results[].type | string | 始终为 "image_result" |
results[].title | string? | 图像标题 |
results[].url | string? | 找到图像的页面 URL |
results[].source | string? | 来源域名 |
results[].page_fetched | string? | 上次页面抓取的 ISO 日期时间 |
results[].thumbnail.src | string? | Brave 代理的缩略图 URL (~500px 宽度) |
results[].thumbnail.width | int? | 缩略图宽度 |
results[].thumbnail.height | int? | 缩略图高度 |
results[].properties.url | string? | 原始全尺寸图像 URL |
results[].properties.placeholder | string? | 低分辨率占位图 URL (Brave 代理) |
results[].properties.width | int? | 原始图像宽度 (可能为 null) |
results[].properties.height | int? | 原始图像高度 (可能为 null) |
results[].meta_url.scheme | string? | URL 协议方案 |
results[].meta_url.netloc | string? | 网络位置 |
results[].meta_url.hostname | string? | 小写域名 |
results[].meta_url.favicon | string? | 网站图标 URL |
results[].meta_url.path | string? | URL 路径 |
results[].confidence | string? | 相关性:low、medium 或 high |
extra.might_be_offensive | bool | 结果是否可能包含冒犯性内容 |
count=200。当需要图像特定元数据(尺寸、缩略图)时,优先选择此搜索而非 web-search。country 和 search_lang 来定位目标受众的区域设置。safesearch=strict 确保开箱即用的家庭友好型结果。只有两种模式 (off/strict) —— 与网页/视频/新闻搜索不同,没有 moderate 选项。strict (比网页搜索更严格)properties.url 获取原始全分辨率图像。properties.width/height 可能缺失properties.placeholder 是一个低分辨率 URL (非内联 base64),可用于渐进式加载的用户体验每周安装量
55
代码仓库
GitHub 星标数
71
首次出现
2026 年 2 月 13 日
安全审计
安装于
gemini-cli54
codex54
github-copilot53
kimi-cli53
opencode53
amp52
Requires API Key : Get one at https://api.search.brave.com
Plan : Included in the Search plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe
curl -s "https://api.search.brave.com/res/v1/images/search?q=mountain+landscape" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"
curl -s "https://api.search.brave.com/res/v1/images/search" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "q=northern lights photography" \
--data-urlencode "country=US" \
--data-urlencode "search_lang=en" \
--data-urlencode "count=20" \
--data-urlencode "safesearch=strict"
GET https://api.search.brave.com/res/v1/images/search
Authentication : X-Subscription-Token: <API_KEY> header
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
q | string | Yes | - | Search query (1-400 chars, max 50 words) |
country | string | No | US | Search country (2-letter country code or ALL) |
search_lang | string | No |
{
"type": "images",
"query": {
"original": "mountain landscape",
"altered": null,
"spellcheck_off": false,
"show_strict_warning": false
},
"results": [
{
"type": "image_result",
"title": "Beautiful Mountain Landscape",
"url": "https://example.com/mountain-photo",
"source": "example.com",
"page_fetched": "2025-09-15T10:30:00Z",
"thumbnail": {
"src": "https://imgs.search.brave.com/...",
"width": 200,
"height": 150
},
"properties": {
"url": "https://example.com/images/mountain.jpg",
"placeholder": "https://imgs.search.brave.com/placeholder/...",
"width": 1920,
"height": 1080
},
"meta_url": {
"scheme": "https",
"netloc": "example.com",
"hostname": "example.com",
"favicon": "https://imgs.search.brave.com/favicon/...",
"path": "/mountain-photo"
},
"confidence": "high"
}
],
"extra": {
"might_be_offensive": false
}
}
| Field | Type | Description |
|---|---|---|
type | string | Always "images" |
query.original | string | Original query |
query.altered | string? | Spellchecked query (null if no correction) |
query.spellcheck_off | bool? | Whether spellcheck was disabled |
query.show_strict_warning |
count=200 for comprehensive coverage. Prefer over web-search when you need image-specific metadata (dimensions, thumbnails).country and search_lang to target your audience's locale.safesearch=strict ensures family-friendly results out of the box. Only two modes (off/strict) — no moderate option, unlike web/video/news search.strict for images (stricter than web search)properties.url for original full-resolution image.properties.width/height may be missing for some imagesproperties.placeholder is a low-res URL (not inline base64) useful for progressive loading UXWeekly Installs
55
Repository
GitHub Stars
71
First Seen
Feb 13, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
gemini-cli54
codex54
github-copilot53
kimi-cli53
opencode53
amp52
lark-cli 共享规则:飞书资源操作指南与权限配置详解
39,000 周安装
媒体改编技能:系统化分析转化方法,将现有作品转化为科幻设定 | 创意内容开发指南
120 周安装
Tamagui Monorepo 跨平台开发指南:React Native、Next.js、Expo、TypeScript 全栈解决方案
122 周安装
Motion动画库指南:高性能JavaScript/TypeScript网页动效开发与性能优化
123 周安装
Node.js开发专家指南:TypeScript、Payload CMS、Next.js与Vue.js全栈实战
122 周安装
Tailwind CSS 最佳实践指南:29条规则构建响应式、可维护界面(含v4迁移)
120 周安装
产品需求文档(PRD)创建指南与模板 - SDD工作流第2层产物,含双重评分标准
127 周安装
en |
| 2+ char language code |
count | int | No | 50 | Results to return (1-200) |
safesearch | string | No | strict | off or strict (no moderate for images) |
spellcheck | bool | No | true | Auto-correct query; corrected query in query.altered |
| bool? |
| True if strict safesearch hid relevant results |
results[] | array | List of image results |
results[].type | string | Always "image_result" |
results[].title | string? | Image title |
results[].url | string? | Page URL where image was found |
results[].source | string? | Source domain |
results[].page_fetched | string? | ISO datetime of last page crawl |
results[].thumbnail.src | string? | Brave-proxied thumbnail URL (~500px width) |
results[].thumbnail.width | int? | Thumbnail width |
results[].thumbnail.height | int? | Thumbnail height |
results[].properties.url | string? | Original full-size image URL |
results[].properties.placeholder | string? | Low-res placeholder URL (Brave-proxied) |
results[].properties.width | int? | Original image width (may be null) |
results[].properties.height | int? | Original image height (may be null) |
results[].meta_url.scheme | string? | URL protocol scheme |
results[].meta_url.netloc | string? | Network location |
results[].meta_url.hostname | string? | Lowercased domain |
results[].meta_url.favicon | string? | Favicon URL |
results[].meta_url.path | string? | URL path |
results[].confidence | string? | Relevance: low, medium, or high |
extra.might_be_offensive | bool | Whether results may contain offensive content |