It grades its own pagination
autolayout re-renders until overflow, blank pages and orphan headings are gone, then returns a score out of 100 and every remaining issue with its page and its bounding box.
Token and base URL stay in this browser (localStorage) and are never
copied into the code examples. No token? Ask for one.
AI SmartTalk internal service · Rust · pandoc · WeasyPrint
Markdown, HTML or Tera templates in. Paginated PDF, PNG preview, merge, watermark and AES-256 encryption out. One JSON API, one container.
The API serves AI SmartTalk teams and products: every call needs a token. Request access.
— endpoints, one contract: binary PDF by default, a download URL when you ask for the file to be saved.
Most engines hand you a file and leave you to discover the split table. This one grades what it produced, shows it, and can seal it.
autolayout re-renders until overflow, blank pages and orphan headings are gone, then returns a score out of 100 and every remaining issue with its page and its bounding box.
POST /api/preview returns the pages as PNG — one page, a range, or a contact sheet. An agent that writes markdown blind can finally see what it wrote.
POST /api/diff answers with a pixel verdict, page by page. A renderer change that moves a single heading no longer passes for identical.
No SDK: HTTP and JSON, plus your token in the X-API-Key header.
Without client_id/pdf_name, the response body is the PDF itself.
With both fields, the response becomes {"download_url": …} and the file stays served by the service.
Every /api/* needs X-API-Key. Only /api/health and /download stay open. Get a token.
/api/convert
Internal service
md-to-pdf runs for AI SmartTalk products and teams. It is not open self-service: every integration gets its own token.
One mail with the project and the expected volume. Answer within one working day.
contact+mdtopdf@aismarttalk.techThe token stays in this browser and is used by every console request.
The console sends real requests with your token and hands you back the equivalent curl.
X-API-Key header or
Authorization: Bearer on every /api/*. Only
/api/health and /download/<client_id>/<pdf_name>
answer without authentication.