# HTML/CSS to Image MCP

Vendor: HTML/CSS to Image  
Category: developer-tools  
Auth: API_KEY  
Composio slug: `htmlcss_to_image`

HTML/CSS to Image converts HTML, CSS, public web pages, and reusable templates into images and PDFs through an API.

## Tools

- **Create Image** — Create a hosted image from HTML/CSS or an internet-reachable webpage, including authenticated pages using request headers. Use GET_IMAGE afterward to download, resize, crop, or convert it.
- **Create Image from Template** — Create an image from a reusable template using the latest version or an explicitly selected version.
- **Create Images Batch** — Create 1 to 25 hosted images from HTML/CSS or internet-reachable webpages in one request, including authenticated pages using shared or per-image headers. Requires an account plan that supports batch creation.
- **Create Template** — Create a reusable Handlebars HTML/CSS image template. WARNING: the template is persistent because the API exposes no delete operation, and a free account can hold only one template.
- **Delete Image** — Permanently delete one generated image and clear its HCTI CDN cache. Copies previously written to external storage are not deleted.
- **Delete Images Batch** — Permanently delete multiple generated images and clear their HCTI CDN caches. Copies previously written to external storage are not deleted.
- **Get or Transform Image** — Download a generated image by ID, optionally converting its format, resizing it, or cropping it.
- **Get Usage** — Return recent hourly, daily, monthly, and billing-period image usage for the connected account.
- **List Templates** — List reusable image templates owned by the connected account, including their current version, source, and render settings.
- **Update Template** — Create a new version of an existing template using replacement Handlebars HTML and optional CSS or render settings.

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect HTML/CSS to Image.
3. Authorise through api_key.
4. Teammates can now @-mention HTML/CSS to Image tools in chat.

---
Last verified: 2026-09-04T02:00:56.012Z  
Canonical URL: https://switchy.build/directory/mcps/htmlcss-to-image