get_asset_thumbnail
Retrieve a base64-encoded thumbnail or preview image for a specific asset by its UUID. Choose between fast thumbnail or higher-quality preview size.
Instructions
Get a base64-encoded thumbnail image for a single asset. Use this to visually inspect one photo. For multiple photos, use get_thumbnails_batch (by IDs) or get_album_thumbnails (by album). Read-only.
Args:
asset_id: The asset's UUID.
size: 'thumbnail' (250px, fast) or 'preview' (1440px, higher quality). Default: 'thumbnail'.
Returns: JSON with 'data' (base64 string) and 'type' (MIME type, e.g. 'image/jpeg').Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| size | No | thumbnail |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |