get_asset_thumbnail
Retrieve a base64-encoded thumbnail or preview image for a single photo asset by its UUID. Use size parameter to choose between fast thumbnail (250px) or higher quality preview (1440px).
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 |
|---|---|---|---|
| size | No | thumbnail | |
| asset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |