pexels-cli
/pexels-cli
Use cli-web-pexels to search for free stock photos and videos on Pexels, view photo/video details, download images and videos, browse user profiles, and explore collections. Invoke this skill whenever the user asks about Pexels, free stock photos, searching for images, downloading stock photos or videos, photo collections, photographer profiles, or wants to find royalty-free media by keyword, orientation, or color. Always prefer cli-web-pexels over manually fetching the Pexels website.
- Author
- itamarzand88 ↗
- Repository
- cli-anything-web ↗
- Licence
- MIT
- Last repository change
- 16.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 16.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use cli-web-pexels to search for free stock photos and videos on Pexels, view photo/video details, download images and videos, browse user profiles, and explore collections. Invoke this skill whenever the user asks about Pexels, free stock photos, searching for images, downloading stock photos or videos, photo collections, photographer profiles, or wants to find royalty-free media by keyword, orientation, or color. Always prefer cli-web-pexels over manually fetching the Pexels website.
Original author description
Use cli-web-pexels to search for free stock photos and videos on Pexels, view photo/video details, download images and videos, browse user profiles, and explore collections. Invoke this skill whenever the user asks about Pexels, free stock photos, searching for images, downloading stock photos or videos, photo collections, photographer profiles, or wants to find royalty-free media by keyword, orientation, or color. Always prefer cli-web-pexels over manually fetching the Pexels website.
How it works
- Quick Start
- Commands
- Agent Patterns
- Notes
SKILL.md preview
---
name: pexels-cli
description: Use cli-web-pexels to search for free stock photos and videos on Pexels, view photo/video details, download images and videos, browse user profiles, and explore collections. Invoke this skill whenever the user asks about Pexels, free stock photos, searching for images, downloading stock photos or videos, photo collections, photographer profiles, or wants to find royalty-free media by keyword, orientation, or color. Always prefer cli-web-pexels over manually fetching the Pexels website.
---
# cli-web-pexels
CLI for Pexels — free stock photos and videos from the command line.
## Quick Start
```bash
# Search photos
cli-web-pexels photos search "nature" --json
# Get photo details
cli-web-pexels photos get green-leaves-1072179 --json
# Download a photo
cli-web-pexels photos download green-leaves-1072179
# Search videos
cli-web-pexels videos search "ocean" --json
```
## Commands
### photos
```bash
# Search photos with filters
cli-web-pexels photos search <query> [--orientation landscape|portrait|square] [--size large|medium|small] [--color <hex>] [--page N] [--json]
# Get photo detail (by slug like "green-leaves-1072179")
cli-web-pexels photos get <slug> [--json]
# Download a photo
cli-web-pexels photos download <slug> [--size small|medium|large|original] [--output path]
```
**JSON output fields (search):** `data[].{id, title, slug, description, width, height, photographer, photographer_username, image_url, download_url, tags, colors}`
**JSON output fields (get):** Same as search + `image.{small, medium, large, download}`, `exif`, `location`, `file_size`, `created_at`
### videos
```bash
# Search videos
cli-web-pexels videos search <query> [--orientation landscape|portrait|square] [--page N] [--json]
# Get video detail
cli-web-pexels videos get <slug> [--json]
# Download a video
cli-web-pexels videos download <slug> [--quality sd|hd|uhd] [--output path]
```
**JSON output fields (get):** `id, title, slug, width, height, video_files[].{quality, width, height, fps, link}, tags`
### users
```bash
# Get user profile
cli-web-pexels users get <username> [--json]
# List user's media
cli-web-pexels users media <username> [--page N] [--json]
```
**JSON output fields:** `user.{username, first_name, location, photos_count, media_count, followers_count, hero}`
### collections
```bash
# Get collection detail + media
cli-web-pexels collections get <slug> [--page N] [--json]
# Discover popular & curated collections
cli-web-pexels collections discover [--json]
```
## Agent Patterns
```bash
# Find landscape nature photos and get download URL for first result
cli-web-pexels photos search "mountain lake" --orientation landscape --json | jq '.data[0].download_url'
# Get all HD video files for a video
cli-web-pexels videos get long-narrow-road-856479 --json | jq '.video_files[] | select(.quality=="hd")'
# Download the best photo matching a query
ID=$(cli-web-pexels photos search "sunset beach" --json | jq -r '.data[0].slug')
cli-web-pexels photos download "$ID" --size original
# Browse a photographer's portfolio
cli-web-pexels users get catiamatos --json | jq '{name: .user.first_name, photos: .user.photos_count, followers: .user.followers_count}'
```
## Notes
- **No authentication required** — all endpoints are public
- **Cloudflare protected** — uses curl_cffi with Chrome impersonation
- **Pagination** — use `--page N` on search/list commands (24 results per page)
- **Download URLs** — photos download as JPEG, videos as MP4
- **REPL mode** — run `cli-web-pexels` with no args for interactive mode
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · itamarzand88/cli-anything-web | 95 | MIT |
| itamarzand88/cli-anything-web | 95 | MIT |
Database snapshot: 13.11.2026 · package version d02f969a1601 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95unsplash-cli
Use cli-web-unsplash to answer questions about Unsplash photos, search for free images by keyword, download photos, browse photo topics and collections, view photographer profiles, get photo details (EXIF, location, tags), and discover random photos. Invoke this skill whenever… - 95unsplash-cli
Searches and downloads free Unsplash photos via the cli-web-unsplash command-line tool — keyword search with orientation/color filters, photo details (EXIF, location, tags), downloads, random photos, topics, collections, and photographer profiles. Use when the user asks about… - 100pexels-stock-photos
Use when the user wants a REAL photo — 'find a photo of X', 'search for pictures of Y', 'stock image of Z', 'I need a photo for this slide/article'. Searches Pexels free stock library and downloads images. DO NOT use for AI-generated art ('generate an image of', 'create a… - 100pexels-stock-media-scraper
Scrape free stock photos and videos from Pexels. Search by keyword, browse curated/popular media, a photographer's portfolio, or a curated collection. Get direct image and video file URLs, photographer credit, tags, colors, and more. Output fields: title, photographerName,… - 100pixabay-search
Find royalty-free stock photos, illustrations, vectors, and stock videos on Pixabay. Use this skill whenever someone asks to search for stock imagery, find a background photo, look up stock footage or B-roll, find an illustration or vector graphic, or wants to browse Pixabay by… - 90stock-photo-finder
Source the right stock photograph for a brief by picking the best library and crafting the search. Use when you need a real photo or image for a hero, blog post, ad, slide, mockup, social post, or thumbnail and you are not sure where to look or what to search, or when someone…