view_image
Open any image, video cover frame, or PDF/Office first page as a JPEG capped at 1568 px on the long edge.
Instructions
Look at a file as an image: any image format (JPEG, PNG, WebP, HEIC, RAW…), a video's cover frame, or the first page of a PDF or converted Office document. Returns a JPEG of at most 1568 px on the long edge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | absolute node path instead of node_id | |
| node_id | No | file node UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| width | Yes | ||
| height | Yes | ||
| source | Yes | image, video_cover or pdf_page |