curl -X POST https://html2png.dev/api/convert \ -H "Content-Type: application/json" \ -d '{ "html": "...", "width": 1200, "height": 630, "format": "png" }'
Ready for preview. Click generate above.