mnapis

整卡渲染

?format=png|pdf &width=320–1200。标题+文字+摘录图+插图+独立脑图手写的合成长图/PDF。超 3600 万像素拒绝。用于看整卡/视觉校对,不代批量文本读取。代价最高,按需用。

GET
/notes/{id}/render

?format=png|pdf &width=320–1200。标题+文字+摘录图+插图+独立脑图手写的合成长图/PDF。超 3600 万像素拒绝。用于看整卡/视觉校对,不代批量文本读取。代价最高,按需用。

Authorization

bearerAuth
AuthorizationBearer <token>

安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。

In: header

Path Parameters

id*string

卡片 noteid

Query Parameters

format?string

png|pdf

Value in

  • "png"
  • "pdf"
width?integer

320–1200

Response Body

curl -X GET "https://example.com/notes/string/render"
Empty