---
title: "Transform Image"
method: GET
path: "/api/v1/media/transform"
tags: ["media"]
---

# Transform Image

`GET /api/v1/media/transform`

## Request

- Base URL: `https://mcp.fless.io` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.fless.io/api/v1/media/transform`
- Auth: none declared

Return a resized/re-encoded image variant, cached on disk.

Responses are immutable (1-year cache). Unknown/escaped paths or
unsupported extensions return 404; render failures return 500.

## Query parameters

- `path` string, required: Source path relative to the data dir, e.g. uploads/blog/images/abc.png
- `w` integer: Target width in CSS pixels (height auto-scaled).
- `format` string: Output format: webp | jpeg | png.

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fless/apis/apartment-hunting-platform.md) · [All operations](https://skmtc.dev/fless/apis/apartment-hunting-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fless/apis/apartment-hunting-platform/revisions/f542b37a2fcf?raw)
