image-search

Search DuckDuckGo for images and return structured JSON metadata.

30|8|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/z0gSh1u/oh-my-writing-skill --skill image-search-z0gsh1u
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-search
Source: https://github.com/z0gSh1u/oh-my-writing-skill/tree/main/.claude/skills/image-search
Command: npx skills add https://github.com/z0gSh1u/oh-my-writing-skill --skill image-search-z0gsh1u

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ddgs, requests, and includes scripts (resource) components.

What problem does it solve?

对于内容创作需求,自动联网检索并筛选符合条件的图片素材,提供可复用的图片元数据和来源信息。

Core Features & Use Cases

  • 多维度过滤:按尺寸、颜色、类型、版权等条件筛选图片,确保符合使用场景与授权要求。
  • 结构化输出:返回图片的标题、图片链接、缩略图、来源、分辨率等元数据,便于后续处理与归档。
  • 自动化下载(可选):可将图片下载到本地指定目录,便于直接嵌入内容。
  • 使用场景示例:为博客文章配图,自动搜索并整理符合主题的图片集合,然后选择用于发布。

Quick Start

运行示例:python scripts/image_search.py "自然风光" --max_results 5 --size Large --license Public --download ./images

Frequently Asked Questions about image-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search the internet for images and get structured metadata for content creation?

You can perform an internet image search and receive structured JSON metadata containing the title, image link, thumbnail, source URL, and resolution. This allows you to automatically filter and reuse visual assets for workflows like blog post illustrations.

Can I filter image search results by size, color, type, and licensing?

Yes, you can filter image search results using parameters for size, color, type, and licensing. This ensures the returned images meet specific usage requirements and authorization standards before downloading or embedding them.

Does DuckDuckGo image search support downloading images directly to a local directory?

DuckDuckGo image search supports optional automated downloads to a specified local directory. By enabling the download flag, the script saves the image files locally while returning their local file paths in the JSON output.

How do I programmatically find and download public domain images for a blog post?

You can run a Python script using the ddgs and requests libraries to find public domain images. By specifying a query, maximum results, and the Public license filter, the script retrieves matching images and optionally downloads them.

Do I need any specific Python libraries to perform filtered image searches and downloads?

You need the ddgs and requests Python libraries installed to perform filtered image searches and optional downloads. These dependencies handle the underlying internet search queries and the retrieval of image files to your local environment.