Quickstart
Start rendering HTML and URL to PDF or image in minutes.
Quickstart
Use the API endpoints below:
POST /api/pdffor PDF outputPOST /api/imagefor PNG/JPG output
URL to PDF
curl -X POST "https://shipany2-pdf-sandbox.vercel.app/api/pdf" \
-H "content-type: application/json" \
-d '{"url":"https://example.com"}' \
--output out.pdfHTML to PNG
curl -X POST "https://shipany2-pdf-sandbox.vercel.app/api/image" \
-H "content-type: application/json" \
-d '{"html":"<html><body><h1>Hello</h1></body></html>","type":"png"}' \
--output out.png