pexels-footage

Search and download Pexels photos and videos by keyword with aspect and duration filters.

8.4k|1.4k|Updated Apr 24, 2024
One-click install
npx skills add https://github.com/TeamWiseFlow/wiseflow --skill pexels-footage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pexels-footage
Source: https://github.com/TeamWiseFlow/wiseflow/tree/main/addons/officials/skills/pexels-footage
Command: npx skills add https://github.com/TeamWiseFlow/wiseflow --skill pexels-footage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Pexels search and downloading footage is repetitive and manual, especially when you need consistent media types (images vs. videos) and specific aspect ratios for content production.

Core Features & Use Cases

  • Image search & download: Finds Pexels photos by keywords, filters by orientation/aspect, downloads high-quality variants, and outputs local file paths.
  • Video search & download: Searches Pexels video clips by keywords, filters by minimum duration, matches exact video dimensions for the chosen aspect, and downloads MP4 files.
  • Deterministic batch outputs: Saves results into the requested output directory, de-duplicates by URL, and returns a JSON summary to stdout for downstream automation.

Use Case Example: When preparing a short-form content calendar, you can fetch a batch of 9:16 portrait images and 9:16 vertical clips from Pexels using curated keywords, then feed the downloaded assets into your editor or publishing workflow.

Quick Start

Run python3 {baseDir}/scripts/pexels_search.py with --type image --terms "sunset ocean,mountain landscape,forest path" --aspect 16:9 --output-dir ./assets/images after setting PEXELS_API_KEY.

Frequently Asked Questions about pexels-footage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download copyright-free video clips from Pexels by keyword using Python?

Downloading Pexels photos in batch requires a Python script using requests to call Pexels search APIs, authenticating with a PEXELS_API_KEY, and saving high-quality image variants to a specified local output directory.

Can I filter Pexels API search results for specific aspect ratios and video duration?

Filtering Pexels API search results for specific aspect ratios and video duration is supported. You can match exact video dimensions for your chosen aspect and apply a minimum-duration filter for video clips.

Do I need a PEXELS_API_KEY to automate image and video downloads?

You need a PEXELS_API_KEY to automate image and video downloads. This authentication key is required to authorize Python requests when calling Pexels search APIs to fetch and save media assets.

What is the best way to fetch vertical 9:16 content assets for a short-form video calendar?

The best way to fetch vertical 9:16 content assets for a short-form video calendar is automating Pexels API calls to batch download portrait images and vertical clips, outputting a JSON summary of file paths for downstream workflows.

How do I get a JSON list of downloaded file paths after a batch media search?

To get a JSON list of downloaded file paths after a batch media search, run the Python script to save matched Pexels media into an output directory; it de-duplicates by URL and returns a JSON summary to stdout.