跳到正文
Skillpedia
视频剪辑8.7k · #12336

pixabay-footage

它能做什么

这项技能从 Pixabay 查找并下载免费的照片和视频片段。适合在 Pexels 结果不合适时,需要另一个素材来源的创作者。

适用场景

  • ✓当 Pexels 的结果不符合你项目的需要时。
  • ✓当你需要物品、概念或抽象场景的图库照片或片段时。
  • ✓当你已经用完 Pexels 的搜索次数限制时。

技能链接

https://github.com/TeamWiseFlow/xiaobei/blob/master/skills/pixabay-footage/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“Pexels 上没有合适的咖啡馆室内素材,请在 Pixabay 上找一些横版的免费片段。”

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

工作原理

它用你提供的关键词在 Pixabay 中搜索,按画面比例和时长筛选,然后把文件保存到你选择的文件夹。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Pixabay Footage — Pexels 之外的备选图片/视频素材

Use this skill when:

  • Pexels results are not suitable or quota is exhausted
  • You need alternative copyright-free images or video clips
  • Preparing visual assets for content creation

Prerequisites: PIXABAY_API_KEY must be set. Register free at https://pixabay.com/api/docs/


Usage

通过 PATH 调用 wrapper,无需拼接脚本路径。

下载图片

pixabay-footage \
  --type image \
  --terms "sunset,ocean,forest" \
  --aspect 16:9 \
  --output-dir ./assets/images \
  [--max-clips 15]

下载视频

pixabay-footage \
  --type video \
  --terms "sunset,ocean" \
  --aspect 9:16 \
  --output-dir ./video_assets/footage \
  --min-duration 5 \
  --max-duration 30

重要:视频下载一次只允许下载一个(脚本已强制 --max-clips=1),不允许批量下载。下载时应根据 content-check 报告的时长缺口,通过 --min-duration 和 --max-duration 精确匹配所需时长,不要下载远超需求的素材。

Same interface as pexels-footage. Output format identical.


When to Choose Pixabay vs Pexels

Pixabay Pexels
Photo quality Good High
Photo count 4M+ 3M+
Video quality Good (HD) Higher (HD/4K)
Video count 2M+ 1M+
Rate limits 100 req/min (free) 200 req/hour (free)
Best for Objects, abstract, concepts People, nature, lifestyle

Pexels is the primary footage source (higher quality). Fall back to Pixabay if Pexels results are insufficient or rate-limited.


Options

Option Default Description
--terms required Comma-separated search keywords (one per scene)
--type video image or video
--aspect 9:16 9:16 (portrait) | 16:9 (landscape) | 1:1 (square)
--output-dir required Directory to save downloaded files
--min-duration 5 Minimum clip duration in seconds (video only)
--max-duration none Maximum clip duration in seconds (video only). 强烈建议设置,避免下载过长的素材
--max-clips 1 (video) / 15 (image) Maximum total files to download. 视频类型强制为 1

Output

Same JSON structure as pexels-footage:

  • --type image → {"ok": true, "images": [...], "total": N, "output_dir": "..."}
  • --type video → {"ok": true, "clips": [...], "total": N, "output_dir": "..."}

Environment Variables

Variable Description
PIXABAY_API_KEY Pixabay API key (required)
常见问题

需要账户吗?

需要。你需要在环境中设置免费的 Pixabay API 密钥。

它与 Pexels 相比如何?

这项技能说明 Pixabay 更适合物品和概念,而 Pexels 通常更适合人物和自然题材。

它能一次下载很多视频吗?

不能。与 Pexels 技能一样,它每次运行只下载一个视频。

详情

作者的原始描述

Search and download copyright-free images and video clips from Pixabay API. Alternative to pexels-footage when Pexels has no suitable results. Supports both photo search (--type image) and video search (--type video, default).

repo: TeamWiseFlow/xiaobei

热度

GitHub 星标
8.7k
排名
#12336
许可证
—
更新时间
2026/10/29

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能