---
title: "Render an image"
method: GET
path: "/v1/image/{id}"
tags: ["Images"]
---

# Render an image

`GET /v1/image/{id}`

## Path parameters

- `id` string, required

## Query parameters

- `width` integer, nullable
- `height` integer, nullable
- `dpi` integer, nullable
- `dl` '1' | '0', nullable
- `aspect_ratio` string, nullable
- `x_origin` string, nullable
- `y_origin` string, nullable
- `x_1` string, nullable
- `x_2` string, nullable
- `y_1` string, nullable
- `y_2` string, nullable
- `crop_width` string, nullable — Use either a number, a percentage like 30.5% or a px measure like 100px.
- `crop_height` string, nullable

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `408` — Request Timeout
- `410` — Gone
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/htmlcsstoimage/apis/html-css-to-image-api.md) · [All operations](https://skmtc.dev/htmlcsstoimage/apis/html-css-to-image-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/htmlcsstoimage/html-css-to-image-api/revisions/07d679e7b124/schema)
