Documentation Index
Fetch the complete documentation index at: https://docs.supernote.com/llms.txt
Use this file to discover all available pages before exploring further.
This API belongs to
PluginNoteAPI and can only be called in NOTE.| Parameter | Type | Description |
|---|---|---|
notePath | string | NOTE file path |
page | number | Page index (starts from 0) |
layer | number | Layer index. -1 indicates the background layer, 0 indicates the main layer, and 1~3 indicate custom layers |
imagePath | string | Output path for the thumbnail image |
APIResponse<boolean>:result === trueindicates the layer thumbnail image was generated successfully