get_asset_thumbnail
Get a base64-encoded thumbnail for an asset by asset ID. Options: 'thumbnail' (250px) or 'preview' (1440px). Returns JSON with data and type fields.
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 |