1 min readfrom Photography

CLI tools for Pexels and Unsplash — search and download stock photos from the terminal

Built CLI wrappers for both Pexels and Unsplash. Useful if you need to batch-download reference images, automate asset pipelines, or just search without the browser.

Pexels:

cli-web-pexels photos search "golden hour portrait" --limit 20 --json cli-web-pexels photos download <photo-id> --size original cli-web-pexels videos search "ocean waves" --limit 10 cli-web-pexels collections list 

Unsplash:

cli-web-unsplash photos search "minimalist architecture" --orientation landscape cli-web-unsplash photos download <photo-id> --size full cli-web-unsplash collections get <collection-id> 

Both sites use Cloudflare protection, so both CLIs use curl_cffi to pass the bot checks. Downloads include the full metadata (photographer, license, dimensions, color palette).

Open source: - Pexels: https://github.com/ItamarZand88/CLI-Anything-WEB/tree/main/pexels - Unsplash: https://github.com/ItamarZand88/CLI-Anything-WEB/tree/main/unsplash

submitted by /u/zanditamar
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#health and wellness
#luxury photography
#fashion photography
#wellness photography
#Pexels
#Unsplash
#CLI tools
#stock photos
#command line
#search
#download
#metadata
#batch-download
#photo-id
#asset pipelines
#curl_cffi
#photographer
#license
#dimensions
#color palette