Convert
Document Conversion API
Convert raw HTML or Markdown strings directly into formatted PDF documents or native Microsoft Word (.docx) files without requiring external office suites.
POST/v1/convert/pdfCost: 3 Credits
Provide raw HTML or Markdown. The service compiles typography styling and produces a vector-rendered PDF document.
curl -X POST https://api-rendernest.duckdns.org/v1/convert/pdf \
-H "Authorization: Bearer wf_live_xxxx" \
-H "Content-Type: application/json" \
-d '{
"markdown": "# Monthly Report\n\n### Executive Summary\nAll targets exceeded.",
"title": "Monthly Performance Report"
}'POST/v1/convert/docxCost: 5 Credits
Parses headings, paragraphs, bullet lists, bold and code text, compiling them into a binary Microsoft Word (.docx) document.
curl -X POST https://api-rendernest.duckdns.org/v1/convert/docx \
-H "Authorization: Bearer wf_live_xxxx" \
-H "Content-Type: application/json" \
-d '{
"markdown": "# Architecture Spec\n\n- Component A\n- Component B",
"title": "Architecture Specification"
}'{
"success": true,
"request_id": "req_1725432190_1a2b3c",
"data": {
"file_url": "https://api-rendernest.duckdns.org/api/storage/converted/ws_demo/req_1725432190_1a2b3c.docx?expires=...",
"format": "docx",
"file_size_bytes": 14208
}
}