---
title: "Transform HTML into an Image"
method: POST
path: "/v1/{collection}/image"
---

# Transform HTML into an Image

`POST /v1/{collection}/image`

Use this endpoint to transform a design's HTML into an Image, which can be used for thumbnails and  similar purposes. Compatible with Email and Page builder.

## Path parameters

- `collection` string, required

## Request body

- object
  - `file_type` string, required — A string field for file_type
  - `size` string, required — A string field for size
  - `html` string, required — A string field for html

## Response `200`

Successful response

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/beefree/apis/transform-html-into-an-image.md) · [All operations](https://skmtc.dev/beefree/apis/transform-html-into-an-image/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beefree/transform-html-into-an-image/revisions/c4c9e473b3ac/schema)
