Generate PDFs with one API call
Professional-looking PDFs, from a sentence or your text.
No HTML templates.
Page breaks, tables and signatures, always in place.
In a few lines, in Python or TypeScript
One call with the format and what you want (or your Markdown). Doconda waits until it is ready and gives you the file and its PDF.
from doconda import Doconda
doconda = Doconda() # DOCONDA_API_KEY
doc = doconda.documents.create(format="pdf", prompt="A sales proposal for a client, with a table of contents and a price table")
doc["status"] # "ready"
open("document.pdf", "wb").write(doconda.documents.download(doc["id"], "pdf"))From your AI platform
Frequently asked questions
How do I generate a PDF by API?
With one call to POST /v1/documents with format: "pdf" and a prompt or your Markdown. With the SDK: doconda.documents.create(format="pdf", prompt="…"). You get the link to the PDF.
Can I get the Word file too?
Yes: with format: "docx" you get the editable Word file and its PDF at once.
Does it review PDFs I already have?
Yes: upload it and ask for operation: "review". It finds scanned pages without text, a missing title or language and amounts in words that don't match the figures.
How much does it cost?
Creating a document costs from €0.30, depending on quality; reviewing one, €0.03; reading a file to Markdown is free. You get €5 of credit when you sign up and there is no subscription.