Pixabay footage

From TeamWiseFlow/xiaobei · View interactive version

Pixabay footage is an AI agent skill from the GitHub repository TeamWiseFlow/xiaobei. Search and download 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).

How to use this skill

Skill file

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

Use this skill when:

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:


Environment Variables

| Variable | Description |

|----------|-------------|

| PIXABAY_API_KEY | Pixabay API key (required) |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.