snapdiff_html_to_image
Render HTML and CSS to an image for social cards, OG images, and email headers without a hosted URL.
Instructions
Render HTML/CSS directly to an image. Use this to generate social cards, OG images, email headers, or any visual from code without needing a hosted URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The HTML to render | |
| css | No | CSS to apply | |
| width | No | Viewport width. Default 1200 | |
| height | No | Viewport height. Default 630 (OG image standard) |