POST /v1/capabilities/{id}/run, or use it as a step in a
workflow.
Prices are on the live catalogue — they change, and a stale price here would be
worse than none.
document.convert_format
document → document · Billed per request
Convert documents between formats: markdown ↔ HTML ↔ DOCX ↔ PDF ↔ EPUB ↔ LaTeX.
When to use
- Generate PDFs from markdown for reports, invoices, or documentation.
- Export DOCX for users who need to edit in Word.
- Convert to HTML for embedding content in web pages.
- Produce EPUB for e-reader distribution.
Inputs & outputs
Parameters
Examples
Markdown → PDF with table of contents
Markdown URL → DOCX
Pricing
Billed per conversion. PDF conversions are slightly higher due to rendering cost. See pricing dashboard for current rates.Related capabilities
document.extract_text— extract markdown from PDF/DOCX before convertingdocument.render_slides— render markdown as a slide deck instead of a document
Examples
Markdown → PDF with TOCdocument.extract_text
document → text · Billed per request
Parse PDF, DOCX, HTML, and other document formats into structured markdown or JSON, with optional OCR for scanned pages.
When to use
- Extract content from PDFs (reports, contracts, invoices) for downstream text processing.
- OCR scanned documents — force OCR on image-only PDFs where no selectable text layer exists.
- Normalize to markdown for ingestion into RAG pipelines or LLM context windows.
Inputs & outputs
The document is named ONE of two ways — set exactly one:
Both spellings of a file we hold are workspace-scoped. AThe document type. For a stored file it comes from the file’s own recorded type (sniffed from its bytes at upload), so nothing has to be declared. For an external URL it is read from the extension, and a URL that ends in none — nogs://object or a file id belonging to another workspace is a404, never a read. What actually reaches the extraction worker is a short-lived signedhttpsURL for that one object, minted per call and never persisted.
.pdf, .docx, .pptx, .xlsx, .html, .png, .jpg, .tif — is refused
with 400 unsupported_mime. Upload it and pass file_id instead.
Parameters
Examples
PDF with auto-OCR → markdown
Force OCR on scanned invoice → JSON
A file you uploaded
POST /v1/files returns a file_id; pass it directly. No extension is needed —
the stored type is used.
A document a previous step produced
Pricing
Billed per page processed. OCR pages are billed at a higher rate than text-layer extraction. See pricing dashboard for current rates.Related capabilities
document.convert_format— convert the extracted markdown to HTML, DOCX, or PDFdocument.render_slides— render markdown as a slide deck
Examples
PDF with auto-OCR → markdowndocument.render_slides
document → document · Billed per request
Convert a Marp-flavoured markdown file into a slide deck: PDF, PPTX, or interactive HTML.
When to use
- Generate presentation PDFs from markdown for sharing or printing.
- Export PPTX for further editing in PowerPoint or Keynote.
- Build HTML decks for self-hosted or embedded presentations.
Inputs & outputs
Parameters
Examples
16:9 PDF deck with default theme
PPTX with Gaia theme from URL
Pricing
Billed per slide rendered. See pricing dashboard for current rates.Related capabilities
document.convert_format— convert plain markdown to PDF/DOCX (non-slide layout)document.extract_text— extract content from existing PDF presentations