DocMiral
DocMiral is a document generation platform that lets you create, manage, and export professional documents from reusable HTML and Tailwind CSS templates. The API gives you full programmatic control over the entire document lifecycle, from template design to final file output. With the Documents API you can create documents from any template, inject field data as a JSON object, apply layout…
DocMiral endpoints
| Method | Endpoint | Description |
|---|---|---|
| Documents | ||
| POST |
buildDocumentImage /entities/{id}/build/image |
Renders one page of the document as a PNG and returns a pre-signed URL. |
| POST |
buildDocumentPdf /entities/{id}/build/pdf |
Renders the document and returns a pre-signed URL to the generated PDF file. |
| PUT |
updateDocument /entities/{id} |
|
| GET |
getDocument /entities/{id} |
|
| POST |
createDocument /entities/ |
Creates a new document from a template. Supply field data and layout settings inside the `data` object. Set `init` to true to create an empty document without any data. |
| POST |
cloneDocument /entities/{id}/clone |
|
| GET |
listDocuments /entities |
|
| DELETE |
deleteDocument /entities/{id} |
|
| POST |
buildDocumentPptx /entities/{id}/build/pptx |
Renders the document and returns a pre-signed URL to the generated PowerPoint file. |
| Templates | ||
| POST |
buildTemplatePdf /templates/{id}/build/pdf |
Renders the template with default/empty data and returns a pre-signed URL to the PDF. |
| DELETE |
deleteTemplate /templates/{id} |
|
| GET |
listTemplates /templates |
|
| GET |
getTemplateSchema /templates/schema/{id} |
Returns the variable schema for a template so you know which fields to populate when creating a document. Supports Standard, JSON Schema, and OpenAI-compatible output formats. |
| POST |
cloneTemplate /templates/{id}/clone |
|
| POST |
buildTemplateImage /templates/{id}/build/image |
Renders every page of the template as PNG images and returns a list of pre-signed URLs, one per page. |
| GET |
getTemplate /templates/{id} |
|
| PUT |
updateTemplate /templates/{id} |
|
| POST |
createTemplate /templates/ |
Creates a new HTML/Tailwind CSS template. Use "suggest" as the name value to auto-generate a name. |
| Categories | ||
| GET |
listCategories /categories |
|
| TARS AI | ||
| POST |
tarsExtractText /tars/extract-text |
Uploads a document file and returns the extracted plain text. |
| POST |
tarsParseCV /tars/parse-cv |
Extracts structured data from a CV or resume PDF uploaded as a file. |
| POST |
tarsChat /tars/chat-layerer |
Uses natural language to fill the fields of a document. Provide the document ID and a plain-English description of the data, for example: "Name is Alice, she works at Google as a… |
| POST |
tarsSmartClone /tars/smartclone |
Clones a document and uses AI to transform its content based on a natural language instruction. Optionally assigns the clone to a category. |
DocMiral pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $8 / month | — |
|
| ULTRA | $79 / month | — |
|