تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

unsplash

بواسطة brokenwatch24

Image & Video Generation
716التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 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

الإخراج

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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط