Docweave vs APITemplate.io

Docweave is an MCP-native PDF and document-generation API: one REST call — or one MCP tool call — turns HTML, a URL, or a template + JSON into a PDF, billed per document rather than per page or credit. APITemplate.io is a template-based PDF and image generation API with a drag-and-drop editor; if you are evaluating it for an AI agent workflow or want per-document pricing instead of credit tiers, that is the main reason to look at Docweave.

Where Docweave differs

 DocweaveAPITemplate.io
MCP-native toolgenerate_pdf, open source (npx @docweave/mcp)REST API
Pricing modelPer documentSee provider docs/pricing
SourcesHTML, URL, template + JSONTemplate + JSON (drag-and-drop editor)
RenderingChromiumSee provider docs/pricing

Switching from APITemplate.io

The request shape is familiar — POST a source, get a file back:

curl https://docweave.dev/api/v1/pdf \
  -H "Authorization: Bearer dw_live_your_key" \
  -H "Content-Type: application/json" \
  -H "Accept: application/pdf" \
  -d '{
    "source": { "type": "html", "html": "<h1>Invoice #1024</h1>" },
    "options": { "format": "A4", "margin": "20mm" }
  }' \
  --output invoice.pdf

FAQ

Is Docweave a drop-in APITemplate.io alternative?

For template-based document generation, the shape is familiar: you send data to a template and get a rendered file back. Docweave accepts raw HTML, a URL, or a template + JSON, renders with Chromium, and returns the PDF. The main additions are a first-class MCP server and per-document pricing.

What does Docweave offer that a template-based PDF API does not?

An open-source, MCP-native generate_pdf tool (npx @docweave/mcp) that any MCP client — Claude, Cursor, and others — can call directly, alongside the usual template + JSON workflow, so an AI agent can generate a document with one tool call instead of HTTP plumbing.

How does pricing compare?

Many template and image generation APIs bill per credit or per generated file across tiers. Docweave bills per document, so a long report and a one-page receipt are priced the same way. Check APITemplate.io's current pricing page for exact numbers.

Can I use Docweave from an AI agent?

Yes. Add the Docweave MCP server and your agent gets a generate_pdf tool, with built-in idempotency (an idempotencyKey) so retries never double-generate the same document.

Try the MCP-native PDF API.

Get an API key