Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

unsplash

bởi brokenwatch24

Image & Video Generation
716Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: Find 3 landscape photos of forests and return small preview URLs

AGENT
  1. 1

    Call /search/photos with query=forest, orientation=landscape, per_page=3

  2. 2

    Parse results array to extract photo IDs and urls.small fields

  3. 3

    Call /photos/:id/download for each result to comply with API guidelines

  4. 4

    Return preview URLs alongside photographer names and profile links

ĐẦU RA

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/unsplash

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết