360 Secure SkillHub
360 安全技能中心

Reverse Image Search

根据用户提供的图片 URL 或本地文件路径,调用 Yandex、Google、Bing 反向图片搜索引擎查找图片来源与相似图片;首次使用需创建 Python 虚拟环境并安装 PicImageSearch,结果为含标题、链接、缩略图与相似度的 JSON。

gushu333
gushu333
热度 68.31
最近更新 2026-05-11 17:29:37
分类:搜索依赖:代码执行 / 第三方 API / 读写文件应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add reverse-image-search
Metadata
name
reverse-image-search
description
Reverse image search (find image source, visually similar images). Use when user provides an image and wants to find its origin, similar images, or verify authenticity. Supports Yandex, Google, and Bing engines. Works with both URLs and local files. No API key required.

Reverse Image Search

Find the source, similar images, or context for any image using reverse image search engines.

Setup

On first use, create a Python venv and install the dependency:

SKILL_DIR="$(dirname "SKILL.md")"
python3 -m venv "$SKILL_DIR/scripts/.venv"
"$SKILL_DIR/scripts/.venv/bin/pip" install -q PicImageSearch

Usage

SKILL_DIR="$(dirname "SKILL.md")"
"$SKILL_DIR/scripts/.venv/bin/python3" "$SKILL_DIR/scripts/search.py" "<image_url_or_path>" [engine] [limit]
  • image_url_or_path: HTTP(S) URL or local file path
  • engine: yandex (default, most reliable), google, bing, or all
  • limit: Max results per engine (default: 10)

Output is JSON with matched results including title, URL, thumbnail, and similarity when available.

Engine Selection

  • yandex — Best overall: most stable, good at finding exact matches and similar images
  • google — Good for well-known images, web pages, products
  • bing — Useful as supplementary source
  • all — Query all three engines in parallel

Typical Workflow

  1. User provides image (URL or file attachment)
  2. Run search with yandex first
  3. If results are insufficient, retry with all
  4. Summarize findings: source, context, similar images