Document & Asset Engine for AI agents
One API fordocuments & assets
PDF generation and screenshot capture — through a simple API. Built on Cloudflare Workers. Works with your code and your AI agents.
api.macstrong.net
curl -X POST https://api.macstrong.net/pdf \
-H "Authorization: Bearer ms_your_key" \
-H "Content-Type: application/json" \
-d '{"html":"<h1>Invoice #1042</h1><p>Total: $299</p>",
"options":{"format":"A4"}}'Two endpoints. One API key.
Everything hits api.macstrong.net
PDF Generation
POST /pdfHTML or URL to pixel-perfect PDFs. Custom fonts, headers/footers, page formats, margins. Perfect for invoices, reports, and exports.
PDF to Image
POST /pdf-to-imgConvert PDFs to high-quality images. Perfect for thumbnails, previews, and visual processing pipelines.
AI-NATIVE
Give your AI agentsdocument superpowers
MacStrong ships as an AgentSkill — drop it into any AI coding agent and it can generate PDFs and convert documents on its own. No glue code needed.
- Works with Claude Code, OpenClaw, Codex, and any MCP-compatible agent
- Self-describing API — agents read the skill and know what to do
- AGENT.md at macstrong.net/AGENT.md for instant context
quick start
# Generate a PDF
curl -X POST https://api.macstrong.net/pdf \
-H "Authorization: Bearer ms_your_key" \
-H "Content-Type: application/json" \
-d '{"html":"<h1>Hello</h1>"}'
# Convert PDF to image
curl -X POST https://api.macstrong.net/pdf-to-img \
-H "Authorization: Bearer ms_your_key" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/doc.pdf"}'Simple, credit-based pricing
Start free. Scale when you need to.
Popular
Pro
$19/mo
14-day free trial
- 5,000 credits/month
- Priority rendering
- Custom fonts & templates
10 credits per request · Free tier = 100 requests/month