跳到正文
Skillpedia
网页抓取48k · #6154

web-media-getter

它能做什么

这个程序可以从各种免费的网络资源中搜索并下载图片、视频和 GIF 动图。它会整理搜索结果,还能下载文件,并附带创作者信息以及正确的使用方式说明。

适用场景

  • ✓当你的项目需要真实的照片或视频时。
  • ✓当你想查找历史或档案图片时。
  • ✓当你想获取用于表情回应或表情包的动态 GIF 时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/web-media-getter/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/web-media-getter/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“找一张猫弹钢琴的照片,并且授权可用于商业用途。”

每周 5 个新技能,1 分钟读完。

工作原理

该程序会连接到提供免费素材的不同网站。它接收你的请求,在所有这些网站中搜索,并为你提供最佳结果,同时附带授权信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

When to Use

Use when a task needs a REAL or ARCHIVAL photo / clip (hero, texture, reference, historical footage) or a reaction / animated GIF, rather than a generated one — fan out across free image/video/GIF sources in one query and download license-tagged results.

Source: connerkward/web-media-getter-skill (MIT).

web-media

Query many free image/video sources in one fan-out, get a normalized result list, optionally download top-K with an attribution sidecar. Zero-dep stdlib script.

Script: webmedia.py (in this dir). Keys: PEXELS_API_KEY, PIXABAY_API_KEY in central/.env (optional — the 5 no-key sources work without them).

Sources

Source Key? Best for Media
openverse none CC web images (Flickr, museums) image
wikimedia none factual / historical / landmark photos image
internetarchive none historical/archival images + films image, video
loc none historical US prints/photos image
nasa none space imagery + video image, video
pexels free key modern stock photos + short video clips image, video
pixabay free key modern photos/illustrations + short clips image, video
klipy free key GIFs — recommended (free, unlimited, Tenor drop-in) gif
giphy free key GIFs — biggest library (prod key needs approval) gif

GIF sources fire only with --type gif. Keys: KLIPY_API_KEY, GIPHY_API_KEY in central/.env. (tenor adapter removed — Google EOL'd the API 2026-06-30.) klipy is the one to get (free + unlimited); its adapter is unverified — assumes Tenor-compatible request/response; verify against docs.klipy.com when you key it. webmedia.py "shrug" --type gif --count 6 --json

Usage

webmedia.py "1950s street scene" --type image --count 8 --json
webmedia.py "rocket launch" --type video --source nasa,internetarchive
webmedia.py "car factory 1930s" --source all --download --out /tmp/cars
  • --source all (default) | nokey (no-key only) | comma list (wikimedia,pexels)
  • --type image|video · --count N · --json · --download --out DIR
  • --download fetches each result's direct media URL and writes attribution.json (source, author, license, url, page_url) alongside the files.

Record schema

{source, title, url, thumb, dl, page_url, author, license, w, h, type} — dl is the directly-downloadable media URL (None when only a page exists).

The video caveat (important)

Archival sources (Internet Archive, Europeana, LoC) host whole films/documentaries, not single shots. So:

  • Modern single clip → pexels / pixabay (born as short clips, direct MP4). Done.
  • Historical single shot → retrieve the IA film here, then extract the shot:
    • Twelve Labs Marengo search (free 600 min) — pass the IA public MP4 URL, get a timestamped moment for "car on assembly line", clip with ffmpeg. Semantic, cheap.
    • or PySceneDetect (free, local) to cut the film into shots, then rank keyframes with CLIP via the muser skill. Fully offline.

Audio: freesound + audio QA

webmedia.py is image/video. For sound effects (real, CC-licensed) and for judging audio (since Claude can't hear), two sibling scripts live in central/scripts/:

  • freesound-fetch.py "<query>" [count] [max_sec] [out_dir] — searches freesound.org and downloads short hq-mp3 previews. Prints one JSON line per file with license/user for attribution. Key: FREESOUND_API_KEY in central/.env (token-based read; full originals would need OAuth — previews suffice for SFX).
  • audio-judge.py <file> "<target>" — sends the clip to OpenAI gpt-audio (audio-native) and returns JSON {heard, score, matches, suggestion}, enabling a generate/fetch → judge → iterate loop. Auto-sources a real sk- OPENAI_API_KEY from .env (ignores a local lm-studio stub env var). Pads sub-2s clips so the speech-tuned model doesn't refuse. Caveat: it reliably describes audio and filters obvious mismatches, but it is NOT a trustworthy judge of subjective qualities like "grating" — it labels nearly any beep "sharp/high-pitched". Use it to cull, not to make the final aesthetic call; confirm by ear.

Where this fits

This is the internet-retrieval capability — peer to muser (local semantic search)

…

常见问题

使用它需要密钥吗?

不一定。有些来源无需密钥即可使用。如果要访问其他更专门的来源,可能需要 API 密钥。

什么是“署名附属文件”(attribution sidecars)?

它们是随下载文件一起提供的文件,会告诉你内容的创作者、使用许可以及更多信息的来源。这对于合法使用素材非常重要。

我可以下载长视频吗?

档案类来源可能提供完整的影片。对于简短的现代视频,Pexels 和 Pixabay 等来源更合适。如果要从长视频中截取特定片段,可能需要使用其他工具。

详情

作者的原始描述

One query across free image / video / GIF APIs (stock + historical/archival + GIF engines), returning normalized, license-tagged results with optional top-K download + attribution sidecar. The retrieval peer to local semantic search and generative media.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6154
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能