Quick Start#
Make your first API call with curl:
curl -X POST https://api.htmlpix.com/render \
-H "Authorization: Bearer hpx_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"html": "<div style=\"padding: 40px; background: #fff;\"><h1>Hello World</h1></div>",
"width": 800,
"height": 400,
"format": "png"
}' \
--output image.pngWhat's Next?#
- Get your API key from the dashboard
- Read about authentication
- Explore the full API reference