DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Image Hunt — DSH Plugin for DeepSeek Harness
← Plugins
I

dsh-image-hunt

Image Hunt

Multi-source image search & download for DeepSeek Harness: 14 engines + 7 aliases (Baidu / Bing / 360 / Duitang / Huaban / Iconify / DuckDuckGo / Yandex / Openverse / Wikimedia / Pixiv / Wallhaven / Konachan / Safebooru), results shown inline in the conversation.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:fomalhaut1998/dsh-image-hunt#6d993f29fcf83ddc06ec87a9accb979adcd4838a
READMECompatibilityVersions

Compatibility and provenance

Image Hunt is published as dsh-image-hunt and currently resolves to version 1.4.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/18/2026

Versions

1.4.1stable
10/18/2026

Related plugins

Loading related plugins…

Latest
1.4.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/18/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in vision-media.

Experimental Voice Input Bundle@deepseek-ai/dsh-experimental-voice-input-bundleExperimental voice input with local SenseVoice; downloads its runtime on first useModlens@liustack/modlensPlug-in vision for text-only LLMs, powered by the free Antigravity CLIAb Ocrdsh-ab-ocr--- description: "The out-of-tree ocr tool: recognizes a scanned PDF or image page by page, merges the pages in order only after the last one, and saves one Markdown document with the heading levels the model decided." kind: "package-reference" ---Tool Describe Image@linxin666/dsh-tool-describe-imageModel-facing describe_image tool for the dsh web GUI: gives a text-only model image understanding by asking a vision-language model at an OpenAI-compatible endpoint to describe one image (local path, http(s) URL, or attachment reference). Hot-pluggable —

README

dsh-image-hunt

多图源搜图 → 下载进当前会话工作区 → 图片直接显示在对话里。DeepSeek Harness 宿主插件,零外部依赖。

English · 更新日志 · npm

  • 14 个图源 + 7 个别名:国内 5(百度 / 必应 / 360 / 堆糖 / 花瓣)、国外 4(DuckDuckGo / Yandex / Openverse / 维基共享资源)、二次元 4(Pixiv / Wallhaven / Konachan / Safebooru)、外加 Iconify 图标库
  • 三个工具:image_hunt(搜 + 下 + 显示)、image_search(只搜)、image_download(已知直链落盘)
  • 每张图都有据可查:同目录 meta.json 记原图直链、来源页、标题、真实像素、来源站中文名、授权信息
  • 国外源自动走代理:插件内建 CONNECT 隧道,不依赖宿主环境变量;国内源照旧直连
  • 不装插件也能跑:仓库自带 cli.mjs,一条 node 命令直接出图

要求

项要求说明
DSH0.2.x(支持 dsh.bundle 补丁的版本)通过 cordis.patch.yml 注册,纯宿主侧,无需客户端半
Node≥ 18用到 fetch 与 AbortSignal.timeout
依赖无纯 ESM,只用 node: 内置模块(fs / path / net / tls / http / https / zlib)
系统Windows / macOS / Linux无平台特定代码
代理仅国外源需要默认 http://127.0.0.1:7890;不通会熔断并回退直连
会话一个可写的会话工作区输出目录被 safeJoin 限制在工作区内,越界直接报错

安装

# 从 npm 装(推荐)
dsh plugin --profile web add dsh-image-hunt

# 或直接从 GitHub 装,跟最新提交
dsh plugin --profile web add github:fomalhaut1998/dsh-image-hunt

# 或本地开发:把本仓库 link 进 profile
#   ~/.dsh/profiles/<profile>/package.json
#   dependencies["dsh-image-hunt"] = "link:/path/to/dsh-image-hunt"
#   并把 "dsh-image-hunt" 加进 dsh.profile.bundles

已发布:npmjs.com/package/dsh-image-hunt。

装完重启 DSH(宿主会缓存 ESM 模块,改完 index.js 也必须重启才生效)。

卸载:dsh plugin --profile web remove dsh-image-hunt。

快速上手

装完直接对 agent 说人话,不必记参数:

想要什么这么说
中文配图帮我找 6 张「城市夜景 长曝光」,要高清、不要水印
可商用素材找 4 张 CC 授权、可商用的山林图,之后可能用在文章里
二次元 / 不要 AI 图找 8 张吉卜力风格的乡间风景,不要 AI 生成的
只挑不下先搜 20 张「莫兰迪 静物」,把候选和来源列给我
已知直链把这几条 URL 的图下到 images/todo/

工具与参数

image_hunt —— 搜 + 下 + 显示

参数类型默认说明
querystring必填关键词。中文词在 booru 系会被内置映射转成英文 tag
countinteger8目标下载张数,1–40。候选不足时会少给
enginestringauto单个图源 id 或别名,见下方图源表
sourcesstring[]—直接给源数组,覆盖 engine,可任意混用
minPixelsinteger0长边下限,0 = 不过滤。做 PPT / 背景图建议 ≥ 1200;icons 无尺寸不受影响
noAIbooleanfalse只要非 AI 图,仅 pixiv 生效
dirstringimages输出根目录(工作区相对路径),实际落 dir/<关键词>/
collectionstring—icons 专用图标集:simple-icons / mdi / tabler / logos / ph
colorstring—icons 专用,给 SVG 上色,如 #ffffff

返回形状(真实一次调用的结果):

{
  "query": "禾木 冬季 雪 雾凇 村落 摄影",
  "dir": "images/禾木-冬季-雪-雾凇-村落-摄影",
  "downloaded": 4,
  "candidates": 17,
  "skipped": 0,
  "files": [
    {
      "path": "images/禾木-冬季-雪-雾凇-村落-摄影/01.jpg",
      "bytes": 5866667,
      "source": "baidu",
      "site": "百度图片",
      "width": 1440,
      "height": 2128,
      "page": "https://…",
      "url": "https://…",
      "title": "禾木冬日奇景:风雪中的童话世界"
    }
  ],
  "errors": []
}

skipped 是被跳过的候选(尺寸低于 minPixels、格式不支持等),errors 里是单个源或单张图的失败原因。

image_search —— 只搜不下

参数:query、engine、sources、minPixels、noAI、collection、color(语义同 image_hunt,没有 count / dir)。

{
  "query": "海边小镇 黄昏",
  "sources": ["baidu", "so360", "bing"],
  "total": 160,
  "results": [
    { "engine": "so360", "full": "https://…", "thumb": "https://…", "page": "https://…",
      "title": "…", "width": 1920, "height": 1080 }
  ],
  "errors": []
}

结果按源轮转交错,避免前 N 条被单个源占满;total 是去重过滤后的总数,results 截到 20 条。

image_download —— 已知直链落盘

参数类型默认说明
urlsstring[]必填图片直链,1–30 条
dirstringimages/downloads输出目录(工作区相对路径)
prefixstringimg-文件名前缀,序号自动补零:img-01.jpg
refererstring—过防盗链用(如 pixiv 需 https://www.pixiv.net/)
proxybooleanfalse让这条直链走代理(抓国外图站时需要)

返回 { dir, downloaded, files: [{ path, bytes, url }], errors }。SVG 只落盘,不登记为附件。

图源(engine / sources)

共 14 个图源,另有 7 个别名,合计 21 个可填的 engine 名。

id / 别名站点适合实测候选 / 查询
auto(默认)百度 + 360 + Bing中文综合,最快三源轮转
baidu百度图片中文语义最强,带来源标题60
bing必应图片(www → cn 自动兜底)国际原图直链多70
so360360 图片量最大、快,但缩略图常只有 426×240259
duitang堆糖插画 / 头像 / 手账 / 手机壁纸47
huaban花瓣设计 / 家居 / 摄影 / 灵感图40
iconsIconify 图标库SVG 图标、品牌 logo(可改色)40
all除图标外全部 13 个 photo 源要「什么都来一点」270–371
both百度 + 必应中文语义 + 国际原图,两源互补两源轮转
duckduckgoDuckDuckGo 图片国际图,免 key99
yandexYandex 图片原图直链质量高,含 Pinterest 原图60
openverseOpenverseCC 授权图库聚合,带 license60
wikimedia维基共享资源公有领域 / CC,多数需署名40
intlduckduckgo + yandex + bing国外综合三源轮转
ccopenverse + wikimedia只要带授权 / 可商用的图两源轮转
pixivPixiv二次元原创 / 同人,画师原图82
wallhavenWallhaven二次元壁纸,SFW,高分辨率48–96
konachanKonachan二次元插画,按评分排序,质量稳44
safebooruSafebooru量最大,但多合辑 / 拼贴100
animepixiv + wallhaven + konachan二次元综合(推荐)
  • sources:["duitang","huaban"] 可任意混用,比合成别名更灵活。
  • engine:"icons" + collection:"simple-icons" = 品牌 logo(CC0);color:"#ffffff" 给 SVG 上色。
  • 国外源走代理:duckduckgo / yandex / openverse / wikimedia / pixiv / wallhaven / konachan / safebooru 标记为 foreign,只有它们经代理;bing 的 www 国际站同理。

二次元源的三个特性

  1. pixiv 下载时会用 /ajax/illust/<id> 换成原图,画师写进 meta 的 license(形如 Pixiv · @作者),AI 图另标 AI 生成;
  2. booru 系(konachan / safebooru)只认英文 tag,中文词走内置映射(宫崎骏 / 吉卜力 → ghibli、龙猫 → totoro、千与千寻 → spirited_away …),映射不到的中文词会被丢掉并报错;
  3. noAI:true 只要非 AI 图(仅 pixiv 生效,实测过滤后 aiType 全为 1)。

想找纯景背景(无人物),在 safebooru / konachan 上组合 no_humans + 主题词,比自由词有效得多。pixiv 是角色本位,搜风景基本不可用。

独立 CLI(不装插件也能用)

仓库根目录的 cli.mjs 直接调用同一份实现,不经过 DSH:

# 克隆后
node cli.mjs "新疆 禾木村 秋景" --n 4 --min-pixels 1200

# 二次元 + 排除 AI 图
node cli.mjs "吉卜力 风景" --engine anime --noai --n 6

# 指定源 + 自定义输出目录
node cli.mjs "莫兰迪 静物" --sources huaban,duitang --out images/still-life
参数说明
--n <数字>下载张数,默认 8
--engine <名>auto / all / both / intl / cc / anime / moe / icons 或单个源 id
--sources a,b直接列源,覆盖 --engine
--out <目录>输出根目录,默认 images
--min-pixels <数字>长边下限
--collection <名> / --color <色>icons 专用
--noai只要非 AI 图(仅 pixiv)

输出末行是 JSON:{ dir, downloaded, candidates, sources, files, skipped }。

代理(只给国外源用)

插件内建 CONNECT 隧道,无需宿主环境变量。

  • 解析顺序:IMAGE_HUNT_PROXY → HTTPS_PROXY/https_proxy → HTTP_PROXY/http_proxy;值取 off/none/no/0/false 表示关闭;缺省 http://127.0.0.1:7890。
  • 代理不通 → 60s 熔断 + 自动退回直连(国外源此时多半超时);proxyErrors 保留最近 20 条失败原因(url / error / code / addrs)供诊断。
  • 三个必踩的坑:① 把连好的 socket 塞进 http.request 的 createConnection 会被隐式默认 Agent 忽略,请求绕开隧道直连 → 必须自建 new Agent({keepAlive:false,maxSockets:1}) 并覆写其 createConnection;② CONNECT 响应要累积到 \r\n\r\n,剩余字节 unshift 回 socket(TLS 握手字节可能同包到达);③ 直连兜底强制 IPv4,避免只有 AAAA 的域名先空耗 IPv6 超时。

设计说明

  • 输出收口:safeJoin 强制输出目录落在 exec.agent.session.header.cwd(会话工作区)内,越界抛错。
  • 路径即用:huntStandalone(..., relBase) 让 files[].path 始终是工作区相对路径(images/cat/01.jpg),可直接喂给 read_image / HTML / present。
  • UI 走内核:图片登记为 attachment(ctx.attachments.saveImage),output.render 返回 {type:"image", attachment} 块;@deepseek-ai/dsh-client-ui-tool 自带 image card,无需客户端半。附件名必须 ASCII。
  • meta 尺寸以文件为准:各源接口给的 width/height 是索引元数据,常与真下载的文件不一致(实测 Yandex 报 2844×1600、文件 2730×1536)。下载后读字节头(jpeg/png/webp)写 width/height,接口值另存 metaWidth/metaHeight。
  • 落盘按文件头判格式:sniffExt —— safebooru 的 file_url 后缀常是 .jpg 实际是 PNG,content-type 也不总对。
  • 多源并行 + 轮转交错:各源并行搜,结果按源轮转合并,避免前 N 张被单个源占满。

已知限制

站点情况
Google 图片tbm=isch 只回约 92KB 的 JS 壳,AF_initDataCallback / encrypted-tbn 计数为 0;gbv=1 仅 2KB;旧 async 接口 400。抓不动。
搜狗图片napi 返回 {"status":1,"info":"forbid"},带 cookie 仍 forbid。
X / Instagram未登录壳页 + 风控。正路是用 BrowserSkill 复用真实浏览器登录态。

替代方案:DuckDuckGo / Yandex 本身聚合 Google / Bing 结果,多数场景已覆盖。

合规与免责

  • 本插件只做「按公开接口检索 + 下载」,不绕过任何登录、付费墙或防盗链机制,不提供任何图片的授权。
  • 抓到的图片版权归原作者 / 原站点所有。仓库 License(MIT)只覆盖代码,不覆盖通过本工具获取的任何图片。
  • 自用(个人欣赏、内部文档、学习)请遵守各站点服务条款;对外发布、商用、二次分发前,请自行确认授权(engine:"cc" 的 Openverse / Wikimedia 结果会在 meta.json 里带 license 字段,可作起点)。
  • 请不要高频猛刷:各源都有速率限制,被封是使用者的责任。

贡献 / 反馈

  • Bug、抓取失效(站点改版很常见):开 issue,附上 engine、关键词、errors 里的原文。
  • 想加图源:新的 srcXxx(query, want) + 在 SOURCES 注册一条 + 若是国外站标 foreign:true,参照现有源的写法即可。
  • 提交前请确认不引入运行时依赖(本项目坚持零依赖)。

License

MIT © fomalhaut1998

三源轮转
moeanime + safebooru二次元要量四源轮转