get_asset_thumbnail
Retrieve base64-encoded thumbnails or previews for photos and videos in your Immich library. Specify asset ID and size (thumbnail or preview) to get image data and MIME type.
Instructions
Get a base64-encoded thumbnail for a single asset. Returns JSON with 'data' (base64 string) and 'type' (mime type). Size can be 'thumbnail' (250px, fast) or 'preview' (1440px, larger).
Args:
asset_id: The unique ID of the asset.
size: 'thumbnail' (250px) or 'preview' (1440px). Default: thumbnail.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| size | No | thumbnail |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |