Create, manage, and generate HTML templates for PDF generation with AI assistance
Get all templates for authenticated user
Create a new HTML template
Retrieve a specific template by ID
Update an existing template
Remove a template
Use AI to generate a template from a text description
Upload a PDF and let AI convert it to an HTML template
Use Handlebars: Templates support Handlebars syntax for dynamic content: {{variable}}, {{#each items}}...{{/each}}
CSS for PDF: Use inline styles or <style> tags. Avoid external stylesheets.
Page Breaks: Use page-break-after: always CSS property to control pagination.
AI Generation: The AI can convert existing PDFs or generate templates from descriptions. Review and customize generated templates for best results.