unsplash
bởi brokenwatch24
Image & Video GenerationTóm tắt
Search, browse, and download high-quality free photos from Unsplash's library of millions of images.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- Unsplash developer account (free) at unsplash.com/developers
- Unsplash Access Key obtained by registering an application in the developer dashboard
Cài đặt
clawhub install brokenwatch24/unsplashChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.