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.png

What's Next?#

  1. Get your API key from the dashboard
  2. Read about authentication
  3. Explore the full API reference