render_html_to_pdf
Render an HTML document to a PDF, returned base64-encoded.
html is a complete HTML string. Inline any images, fonts and CSS as
data: URIs — external http(s) resources are not fetched, and no
JavaScript is executed (HTML + CSS only). Returns
{"pdf_base64": "<base64-encoded PDF>", "pages": <page count>}.
Costs one credit. For documents larger than 256 KB, use the REST API
(POST /v1/render).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||