Instagram 照片查找:AI 驱动的旅游发现 - Openclaw Skills

作者:互联网

2026-03-30

AI教程

什么是 In@stagram 照片查找?

In@stagram 照片查找技能是专为 AI 代理设计的专业实用程序,旨在为旅游和基于目的地的项目获取高质量、标志性的图像。通过将网络搜索与计算机视觉相结合,该技能无需复杂的 API 密钥即可提供精选的视觉内容。它是开发者在 Openclaw Skills 生态系统中构建旅游指南或基于位置的服务的重要组件。

该技能不仅限于简单的图像检索,还应用了视觉评分层。它根据景观价值、情感共鸣和特定地标的代表性来分析候选图像。这确保了结果不仅具有相关性,而且是适用于专业目的地营销或自动化内容创作的高影响力核心图像。

下载入口:https://github.com/openclaw/skills/tree/main/skills/psyduckler/instagram-photo-find

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install instagram-photo-find

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 instagram-photo-find。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

In@stagram 照片查找 应用场景

  • 为旅游博客和目的地行程寻找精美的核心图像。
  • 为餐厅、酒店或景点评论获取真实的摄影素材。
  • 自动化特定地理区域社交媒体趋势分析的视觉研究。
  • 通过高质量、评分化的视觉呈现增强 AI 驱动的旅游规划。
In@stagram 照片查找 工作原理
  1. 针对匹配目的地和景观关键词的热门 In@stagram 帖子执行定向 Brave 搜索。
  2. 根据标题相关性过滤最佳候选,优先考虑“惊艳”或“黄金时刻”等视觉语言。
  3. 使用直接媒体重定向端点下载高分辨率图像。
  4. 利用视觉模型描述内容并给出 1-10 的质量评分。
  5. 返回最佳图像的排名列表,包括本地文件路径和原始帖子 URL。

In@stagram 照片查找 配置指南

要将此技能集成到您的环境中,请确保您的 AI 代理可以访问搜索工具和具备视觉能力的 LLM。图像下载步骤不需要外部 API 身份验证。

# 必要的系统依赖项
# 确保已安装 curl 用于图像检索
sudo apt-get install curl

配置您的代理使用 destination 和 count 参数来触发 Openclaw Skills 工作流。

In@stagram 照片查找 数据架构与分类体系

属性 类型 描述
destination string 要搜索的地点名称或地标(必填)
count integer 返回的排名靠前的图像数量(默认值:2)
search_variant string 用于细化搜索的可选关键词(例如:'aerial'、'night')
results.score number 基于标志性程度的视觉模型评分
results.url string 原始 In@stagram 帖子的直接链接
name: instagram-photo-find
description: Find high-quality In@stagram photos for any destination or place. Searches for In@stagram posts via web search, downloads candidate images, vision-scores them for quality and iconic-ness, and returns the best matches with source URLs. Use when you need travel/destination photos from In@stagram, hero images for a location, or In@stagram post images for any place or attraction.

In@stagram Photo Find

Find the best In@stagram photo for a given destination or place name.

Workflow

Step 1 — Search for In@stagram post URLs

Search Brave for: site:instagram.com/p/ {destination} popular photo

  • Request 10 results
  • If the destination is a specific attraction/restaurant, use its name directly (e.g. site:instagram.com/p/ "Barton Springs" Austin)

Step 2 — Filter candidates by title

From search results, pick the top 5-6 candidates based on titles that suggest scenic/visual content:

Prefer titles with:

  • Visual/emotional language ("beautiful", "colors", "stunning", "golden hour", "aerial", "skyline")
  • Specific landmark names
  • Travel/photography language ("travel", "explore", "photography")

Skip titles that suggest:

  • Brand/corporate posts (Nike, concerts, conferences)
  • Personal diary posts ("photo dump", "my trip")
  • Celebrity/influencer selfies
  • Non-photo content (events, announcements)

Step 3 — Download images

For each candidate, extract the image via:

https://www.instagram.com/p/{shortcode}/media/?size=l
  • Use curl -s -L (follows the 302 redirect to CDN)
  • Skip any that return non-200 or < 10KB (likely broken/removed)
  • Save to /tmp/ with descriptive names

Step 4 — Vision-score each image

Run each downloaded image through the vision model with this prompt:

Describe briefly. Rate 1-10 as a hero destination photo for {destination} (iconic, scenic, represents the place well). Description + score only.

Step 5 — Return results

Return images ranked by score. For each result, provide:

  • Score and brief description
  • In@stagram post URL (instagram.com/p/{shortcode}/)
  • Local file path

Parameters

  • destination (required): Place name (e.g. "Mexico City", "Taormina Italy", "Barton Springs Austin")
  • count (optional, default 2): How many top results to return
  • search_variant (optional): Additional search terms to append (e.g. "photography", "travel guide")

Tips

  • For broad destinations (cities/countries), the generic search works well
  • For specific attractions, quote the name: "Palacio de Bellas Artes"
  • If first search yields low scores (< 6), retry with landmark-specific queries
  • The /media/?size=l endpoint requires no authentication
  • Carousel posts return only the first image
  • Video posts may return a thumbnail