unsplash-cli
/unsplash-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 Unsplash, free stock photos, or wants to find or download images by keyword, orientation, or color. Prefer this CLI over fetching the Unsplash website. No authentication required.
- 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
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 Unsplash, free stock photos, or wants to find or download images by keyword, orientation, or color. Prefer this CLI over fetching the Unsplash website. No authentication required.
Original author description
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 Unsplash, free stock photos, or wants to find or download images by keyword, orientation, or color. Prefer this CLI over fetching the Unsplash website. No authentication required.
How it works
- Commands
- Examples
- JSON output
- Utilities
- Agent tips
SKILL.md preview
---
name: unsplash-cli
description: 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 Unsplash, free stock photos, or wants to find or download images by keyword, orientation, or color. Prefer this CLI over fetching the Unsplash website. No authentication required.
---
# cli-web-unsplash
Search, explore, and download Unsplash photos (read-only, no auth).
Install: `pip install cli-web-unsplash`, then run `python -m camoufox fetch` once.
## Commands
| Command | Purpose | Key options |
|---------|---------|-------------|
| `photos search QUERY` | Search photos | `--orientation landscape\|portrait\|squarish`, `--color`, `--order-by relevant\|latest`, `--page`, `--per-page` (max 30) |
| `photos get PHOTO_ID` | Full details: EXIF, location, tags, URLs | ID or slug |
| `photos random` | Random photo(s) | `--query`, `--orientation`, `--count N` (max 30) |
| `photos download PHOTO_ID` | Download to disk | `--size raw\|full\|regular\|small\|thumb`, `-o/--output PATH` |
| `photos stats PHOTO_ID` | Views and downloads | |
| `topics list` / `topics get SLUG` / `topics photos SLUG` | Browse curated topics | `--page`, `--per-page`, `--order-by` |
| `collections search QUERY` / `collections get ID` / `collections photos ID` | Browse collections | `--page`, `--per-page` |
| `users search QUERY` / `users get USERNAME` / `users photos USERNAME` / `users collections USERNAME` | Photographer profiles and portfolios | `--page`, `--per-page`, `--order-by` (photos: `latest\|oldest\|popular\|views\|downloads`) |
## Examples
```bash
# Search with filters (returns total, total_pages, results[] with id, likes, author, url)
cli-web-unsplash photos search "sunset" --orientation landscape --color orange --per-page 10 --json
# Photo details (EXIF, location, tags)
cli-web-unsplash photos get SyfvrXRy28Y --json
# Random nature photos
cli-web-unsplash photos random --query "nature" --count 3 --json
# Search then download the top hit
ID=$(cli-web-unsplash photos search "sunset beach" --per-page 1 --json | jq -r '.results[0].id')
cli-web-unsplash photos download "$ID" --size regular -o sunset.jpg
# A photographer's most popular photos
cli-web-unsplash users photos unsplash --order-by popular --per-page 5 --json
```
## JSON output
Every command accepts `--json` and returns the data directly (search: `{"total", "total_pages", "results": [...]}`; download: `{"photo_id", "size", "file", "bytes"}`). Errors return `{"error": true, "code": "...", "message": "..."}`.
## Utilities
`cli-web-unsplash doctor [--json]` self-diagnoses the local setup (install, auth, dependencies). `cli-web-unsplash mcp-serve` serves the commands as MCP tools over stdio.
## Agent tips
- Some results have `premium: true` (Unsplash+ only) — skip those when the user wants freely usable images.
- Use `urls.regular` for web-quality embeds and `urls.raw` for full resolution.
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 17a73e91a713 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95pexels-cli
Searches and downloads free stock photos and videos from Pexels via the cli-web-pexels command-line tool — keyword search with orientation/size/color filters, photo and video details, downloads, photographer profiles, and collections. Use when the user asks about Pexels, free or… - 95pexels-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,… - 95unsplash-image
Search for images on Unsplash and download them. Optionally add text overlay (title/subtitle) to the image. Use when the user asks to find a stock photo, search for an image, get an Unsplash image, or download a photo with text. - 100unsplash-photo-search-by-topic-collection-and-creator
Searches Unsplash by keyword or browses a curated topic, numbered collection, or photographer's portfolio, returning photo dimensions, orientation, license, and photographer credit. Output fields: title, photographerName, orientation, width, likes and more, as JSON rows. Use it… - 90unsplash-asset-images
Use when you need to pick high-quality Unsplash images for product/design assets (avatars, headshots, portraits, large website backgrounds, and abstract wallpapers) and output real Unsplash URLs plus practical instructions for producing the right resolutions and aspect ratios… - 90unsplash-asset-images
Use when you need to pick high-quality Unsplash images for product/design assets (avatars, headshots, portraits, large website backgrounds, and abstract wallpapers) and output real Unsplash URLs plus practical instructions for producing the right resolutions and aspect ratios…