PDFs and screenshots for AI workflows

Turn model output into PDF reports or capture web pages for visual review. Use the same Doczilla API from your app or agent.

Prompt for your coding assistant
Use the Doczilla API docs at https://docs.doczilla.app/llms.txt.

Build a Node.js function that renders a PDF report from a reusable HTML template. Pass the report content as template data, read DOCZILLA_API_KEY on the server, and return the PDF bytes.

Generate a PDF report

Pass a summary or other structured output into an HTML template. Set the page size, margins, and headers in your render request.

POST /v1/pdf

Capture a screenshot

Capture a URL or HTML as an image for visual review. Set the viewport and choose an element or the full page.

POST /v1/screenshot