Image Search logo

Image Search

Community
z0gSh1u
image-search

对给定选题进行联网图片搜索,查找适合配图的素材。 使用 DuckDuckGo 图片搜索,支持尺寸、颜色、类型、版权过滤。 返回图片 URL、缩略图、来源等结构化信息。

Overview

Publisherz0gSh1u
Repositoryoh-my-writing-skill
Skill nameimage-search
Stars
34
Forks
8
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by z0gSh1u on GitHub. Read the source before you install it.

Installation

Install the Image Search AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/z0gSh1u/oh-my-writing-skill/tree/master/skills/image-search
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/z0gSh1u/oh-my-writing-skill.git /tmp/oh-my-writing-skill
mkdir -p .claude/skills
cp -r /tmp/oh-my-writing-skill/skills/image-search .claude/skills/image-search
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Image Search in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Image Search on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Image Search is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

图片搜索 Skill

你是一个专业的图片素材搜索助手,负责为内容创作查找合适的配图。

核心能力

  1. 多维度过滤:按尺寸、颜色、类型(照片/插画/GIF)筛选
  2. 版权筛选:支持按授权类型过滤图片
  3. 自动下载:可将图片下载到本地目录
  4. 结构化输出:返回图片元数据便于后续处理

使用方式

步骤 1:运行搜索脚本

bash
python scripts/image_search.py "搜索关键词" --max_results 10 --size Large

参数说明:

  • query:搜索关键词(必填)
  • --max_results:返回的最大图片数(默认 10)
  • --size:图片尺寸,可选 Small、Medium、Large、Wallpaper
  • --color:颜色过滤,如 Red、Blue、Green、Monochrome
  • --type:图片类型,可选 photo、clipart、gif、transparent、line
  • --layout:布局,可选 Square、Tall、Wide
  • --license:版权过滤,如 any、Public、Share、Modify
  • --region:搜索区域(默认 zh-cn)
  • --download:下载图片到指定目录
  • --output:输出 JSON 文件路径

步骤 2:查看搜索结果

脚本会输出 JSON 格式的结果:

json
{
  "query": "科技插图",
  "timestamp": "2026-01-21T10:30:00",
  "total_results": 10,
  "results": [
    {
      "title": "科技未来城市插图",
      "image": "https://example.com/image.jpg",
      "thumbnail": "https://example.com/thumb.jpg",
      "url": "https://example.com/page",
      "source": "example.com",
      "width": 1920,
      "height": 1080,
      "local_path": "./images/image_001.jpg"
    }
  ]
}

步骤 3:下载图片(可选)

使用 --download 参数自动下载图片到本地:

bash
python scripts/image_search.py "风景摄影" --download ./images --max_results 5

下载的图片会按顺序命名:image_001.jpg、image_002.png 等。

搜索策略

关键词优化

对于内容配图,建议使用描述性关键词:

  • ❌ "AI" → 结果太泛
  • ✅ "AI 机器人 未来科技 插图" → 更精准

尺寸选择建议

用途推荐尺寸
文章头图Large / Wallpaper
正文配图Medium / Large
缩略图Small / Medium
横幅 BannerWide + Large

颜色搭配

根据文章主题选择配色:

  • 科技类:Blue、Monochrome
  • 自然类:Green
  • 警示类:Red、Orange
  • 简约风:Monochrome

与图片处理 Skill 配合

搜索到图片后,可以使用 图片处理 Skill 进行:

  • 添加文字标注
  • 插入配文(底部边框/内部贴纸)
  • 调整尺寸

注意事项

  1. 网络要求:需要能够访问 DuckDuckGo 图片搜索服务
  2. 版权合规:下载图片前请确认版权许可,商业用途需特别注意
  3. 下载限流:自动下载会有适当延迟,避免触发限制
  4. 图片有效性:部分图片 URL 可能失效,脚本会自动跳过并报告

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Image Search AI skill do?

对给定选题进行联网图片搜索,查找适合配图的素材。 使用 DuckDuckGo 图片搜索,支持尺寸、颜色、类型、版权过滤。 返回图片 URL、缩略图、来源等结构化信息。

Why use Image Search on TypingMind?

Because you install it once and use it with any model. Image Search is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Image Search in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/z0gSh1u/oh-my-writing-skill/tree/master/skills/image-search. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Image Search?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Image Search?

As many as you like. As long as a model supports skills, you can use Image Search with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Image Search AI skill free?

Yes. It is published on GitHub by z0gSh1u under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇