本文へスキップ
Skillpedia
動画編集8.7k · #12335

pexels-footage

できること

このスキルは、Pexelsのロイヤリティフリーの写真や動画クリップを探してダウンロードします。動画や投稿のために、本物の映像が必要なクリエイター向けです。

使う場面

  • ✓AIで作られた画像ではなく、実際の写真や動画クリップが必要なとき。
  • ✓縦型や横長など、特定の形の素材が欲しいとき。
  • ✓投稿や動画のための視覚的な素材を集めているとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/TeamWiseFlow/xiaobei/blob/master/skills/pexels-footage/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ショートビデオに使うため、縦型の夕焼けのクリップを3本、それぞれ約10秒の長さでPexelsからダウンロードしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、あなたが指定したキーワードでPexelsを検索し、形と長さで絞り込みます。そして、選んだフォルダにファイルを保存します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Pexels Footage — 版权免费图片/视频素材下载

Use this skill when:

  • You need real photos or video clips (not AI-generated) as source material
  • User wants professional-looking footage or images from Pexels
  • Preparing visual assets for content creation

Prerequisites: PEXELS_API_KEY must be set. Register free at https://www.pexels.com/api/


Usage

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

下载图片

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

下载视频

pexels-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 精确匹配所需时长,不要下载远超需求的素材。

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

图片输出

✅ Downloaded 12 images to ./assets/images/
   pexels-sunset-ocean-abc123.jpg  (1920x1280)
   pexels-mountain-def456.jpg      (2048x1365)
   ...

Returns JSON to stdout:

{
  "ok": true,
  "images": ["path1.jpg", "path2.jpg"],
  "total": 12,
  "output_dir": "./assets/images"
}

视频输出

{
  "ok": true,
  "clips": ["path1.mp4", "path2.mp4"],
  "total": 12,
  "output_dir": "./video_assets/footage"
}

Environment Variables

Variable Description
PEXELS_API_KEY Pexels API key (required)

Error Handling

Error Action
PEXELS_API_KEY not set Check environment variables
No results found for term Try broader/simpler keywords (English works best)
Download fails Retry once; skip if fails again
Rate limit (HTTP 429) Wait 60s, then retry
よくある質問

アカウントは必要ですか?

はい。環境に設定された無料のPexels APIキーが必要です。

動画を一度に多数ダウンロードできますか?

いいえ。このスキルは一回の実行で動画を1本だけダウンロードするため、必要な長さに合わせてください。

どの形式に対応していますか?

縦型の9対16、横長の16対9、正方形の1対1に対応しています。

詳細

作者による元の説明

Search and download copyright-free images and video clips from Pexels API. Supports both photo search (--type image) and video search (--type video, default).

repo: TeamWiseFlow/xiaobei

人気

GitHubのスター
8.7k
ランキング
#12335
ライセンス
—
更新日
2026/10/29

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル