For Agents
Generate PDF documents from HTML templates or XSL-FO, concatenate multiple PDFs, convert pages to images, and overlay text onto existing PDF files.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the PdfBroker.io API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with PdfBroker.io API.
Generate PDF documents from HTML using wkhtmltopdf rendering engine
Generate PDF documents from HTML using WeasyPrint rendering engine
Render XSL-FO templates into PDF with full formatting support
GET STARTED
Use for: I need to generate a PDF from an HTML template, I want to create a PDF from an XSL-FO template, Convert a PDF page to an image for thumbnail display, Concatenate three PDF documents into one file
Not supported: Does not handle PDF parsing, OCR, data extraction, or form filling — use for PDF generation from templates and basic utility operations only.
PdfBroker.io API generates PDF documents from HTML (via wkhtmltopdf and WeasyPrint engines), XSL-FO templates with optional XSLT transforms, and provides utilities for concatenating multiple PDFs, converting PDFs to images, and writing text strings onto existing PDF pages. The API uses OAuth 2.0 client credentials authentication and returns generated files as downloadable binary responses.
Apply XSLT transformations before XSL-FO rendering for dynamic content
Concatenate multiple PDF files into a single document
Convert PDF pages to image format for preview and thumbnail generation
Write text strings at specified coordinates onto existing PDF pages
Patterns agents use PdfBroker.io API for, with concrete tasks.
★ HTML to PDF Report Generation
Generate professional PDF documents from HTML templates with CSS styling. PdfBroker offers two rendering engines: wkhtmltopdf (POST /api/pdf/wkhtmltopdf) for webkit-based rendering with JavaScript support, and WeasyPrint (POST /api/pdf/weasyprint) for CSS3-compliant rendering with better print media support. Both accept HTML content and return the generated PDF as a binary download, enabling automated report, invoice, and certificate generation.
Generate a PDF invoice from HTML content via POST /api/pdf/wkhtmltopdf with the HTML body containing styled invoice data and return the PDF binary
XSL-FO Template Rendering
Render complex documents from XSL-FO templates for enterprise document generation workflows. POST /api/pdf/xslfo accepts XSL-FO markup and produces formatted PDF output. POST /api/pdf/xslfowithtransform first applies an XSLT stylesheet to transform XML data into XSL-FO, then renders the result. This enables data-driven document generation from XML sources with full typographic control.
Submit an XSL-FO template via POST /api/pdf/xslfo and return the rendered PDF document for a structured report layout
PDF Assembly and Modification
Combine multiple PDF files and overlay text content for document preparation workflows. POST /api/pdf/pdfconcat merges multiple PDFs in order. POST /api/pdf/pdfwritestring places text at specific X/Y coordinates on existing pages for stamping dates, reference numbers, or approval text. POST /api/pdf/pdftoimage converts pages to images for preview generation.
Concatenate a cover page PDF and a report body PDF via POST /api/pdf/pdfconcat, then write 'APPROVED' at coordinates (400, 50) on page 1 via POST /api/pdf/pdfwritestring
AI Agent Document Generation via Jentic
AI agents use the PdfBroker API through Jentic to generate PDF documents from HTML or XSL-FO templates without managing OAuth token flows. Agents search by intent, receive typed schemas for generation operations, and execute with Jentic handling the client_credentials token exchange and injection. This enables automated document generation for invoices, reports, and certificates.
Search Jentic for 'generate PDF from HTML', load the schema for POST /api/pdf/wkhtmltopdf, and execute with HTML content to produce a downloadable PDF
8 endpoints — pdfbroker.
METHOD
PATH
DESCRIPTION
/api/pdf/wkhtmltopdf
Generate PDF from HTML using wkhtmltopdf
/api/pdf/weasyprint
Generate PDF from HTML using WeasyPrint
/api/pdf/xslfo
Render PDF from XSL-FO template
/api/pdf/xslfowithtransform
Apply XSLT then render XSL-FO to PDF
/api/pdf/pdfconcat
Concatenate multiple PDF files
/api/pdf/pdftoimage
Convert PDF pages to images
/api/pdf/pdfwritestring
Write text at coordinates on a PDF
/api/pdf
Get API info and available options
/api/pdf/wkhtmltopdf
Generate PDF from HTML using wkhtmltopdf
/api/pdf/weasyprint
Generate PDF from HTML using WeasyPrint
/api/pdf/xslfo
Render PDF from XSL-FO template
/api/pdf/xslfowithtransform
Apply XSLT then render XSL-FO to PDF
/api/pdf/pdfconcat
Concatenate multiple PDF files
Three things that make agents converge on Jentic-routed access.
Credential isolation
PdfBroker OAuth 2.0 client credentials are stored encrypted in the Jentic vault. Jentic handles the token exchange at login.pdfbroker.io/connect/token and injects Bearer tokens automatically.
Intent-based discovery
Agents search by intent (e.g., 'generate PDF from HTML template') and Jentic returns matching PdfBroker operations with typed schemas specifying content format and rendering options.
Time to first call
Direct PdfBroker integration: 1-2 days for OAuth setup, engine selection, and response handling. Through Jentic: under 30 minutes — search, load schema, execute with automatic token management.
Alternatives and complements available in the Jentic catalogue.
Specific to using PdfBroker.io API through Jentic.
What authentication does the PdfBroker.io API use?
The PdfBroker.io API uses OAuth 2.0 with the client_credentials grant type. You exchange your client ID and secret for an access token at https://login.pdfbroker.io/connect/token with scope 'pdfbroker', then include the token in the Authorization header. Through Jentic, this token flow is handled automatically.
What is the difference between wkhtmltopdf and WeasyPrint engines?
POST /api/pdf/wkhtmltopdf uses a WebKit-based renderer that supports JavaScript execution and browser-like rendering. POST /api/pdf/weasyprint uses a CSS3-compliant renderer optimized for print media queries and paged media standards. Choose wkhtmltopdf for dynamic content and WeasyPrint for precise print layouts.
What are the rate limits for the PdfBroker.io API?
PdfBroker.io applies per-token rate limits based on your subscription plan. Standard plans support up to 50 PDF generations per minute. XSL-FO rendering with XSLT transforms may take longer per request due to processing complexity.
How do I generate a PDF from HTML through Jentic?
Search Jentic for 'create PDF from HTML template', load the schema for POST /api/pdf/wkhtmltopdf, and execute with your HTML content in the request body. Jentic handles the OAuth token exchange and returns the generated PDF binary for download or storage.
Can I add text to an existing PDF?
Yes. POST /api/pdf/pdfwritestring accepts an existing PDF and writes text at specified X/Y coordinates on a given page. This is useful for adding stamps, dates, reference numbers, or approval text without regenerating the entire document.
/api/pdf/pdftoimage
Convert PDF pages to images
/api/pdf/pdfwritestring
Write text at coordinates on a PDF
/api/pdf
Get API info and available options