Getting Started with HTML/CSS to Image
Setup means authenticating with HTTP Basic auth using an API ID and API key from the dashboard, then sending either raw HTML/CSS or a public URL as the render source -- there's no SDK you have to fully adopt, just a small set of predictable request parameters.
Practical Details
Because pages render inside an actual headless Chrome instance, CSS, web fonts, and JavaScript behave the same way they would for a real site visitor, so what you preview in a browser is what you'll get in the rendered image.
Actionable Considerations
- Grab your API ID and key from the dashboard before writing any integration code
- Decide whether to send raw HTML/CSS or a public URL as your render source, depending on your use case
- Switch output format (PNG, JPG, WebP, PDF) just by changing the file extension on the image URL, without a separate config step
