get_thumbnails_batch
Retrieve base64-encoded thumbnails for any list of asset IDs to display search results or ad-hoc photo collections without needing an album.
Instructions
Get base64-encoded thumbnails for arbitrary asset IDs without needing an album. Use this to visually display search results or any ad-hoc set of photos. For album-based thumbnails, use get_album_thumbnails. For a single photo, use get_asset_thumbnail. Read-only.
Args:
asset_ids: List of asset UUIDs to fetch thumbnails for.
size: 'thumbnail' (250px) or 'preview' (1440px). Default: 'thumbnail'.
limit: Max thumbnails to return (1-50, default 20). Only the first N IDs are fetched.
Returns: JSON with thumbnails array (each with asset_id, base64 data, filename, date).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | thumbnail | |
| limit | No | ||
| asset_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |