unsplash
由 brokenwatch24 提供
Image & Video Generation简介
Search, browse, and download high-quality free photos from Unsplash's library of millions of images.
描述
该技能的功能
Provides access to Unsplash's photo library via their REST API. Supports searching by keyword, color, and orientation, fetching random photos, browsing collections, and retrieving full photo metadata with dynamic image URLs and blur hash placeholders.
Images are served directly from Unsplash's CDN and support dynamic resizing via URL parameters, so you never need to download and reprocess full-resolution files.
何时使用
- Finding a hero image for a blog post by keyword
- Pulling a random nature photo for a daily wallpaper script
- Searching black-and-white portrait photos for a design mockup
- Browsing a curated Unsplash collection for editorial content
- Getting photographer attribution details before publishing
示例工作流
User asks: Find 3 landscape photos of forests and return small preview URLs
- 1
Call /search/photos with query=forest, orientation=landscape, per_page=3
- 2
Parse results array to extract photo IDs and urls.small fields
- 3
Call /photos/:id/download for each result to comply with API guidelines
- 4
Return preview URLs alongside photographer names and profile links
3 forest landscape preview URLs with photographer attribution ready for display
前置要求
- Unsplash developer account (free) at unsplash.com/developers
- Unsplash Access Key obtained by registering an application in the developer dashboard
安装
clawhub install brokenwatch24/unsplash运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。