Render a document
render_documentProduce a real .docx or .xlsx file from structured content and return it as base64. Send format ("docx"|"xlsx") plus exactly ONE of: blocks (array of {type:"title"|"heading"|"text"|"mono"|"table", text, level?, headers?, rows?}), markdown (string), sheets (array of {name, rows:[{...}] or rows:[[...]] with columns:[...]}), or templateId + values. Optional filename. Free for the first 5 documents a month on an API key sent as X-API-Key, then $0.25 per document via x402 -- an unpaid call over that returns a real HTTP 402 challenge. Dry run free at POST /sandbox/execute/render-document. Full schema and limits: call list_offerings with section "documents".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| filename | No | ||
| walletAddress | No |