---
title: "Real storage savings of next-gen image formats"
method: POST
path: "/v1/tools/image_format_savings"
---

# Real storage savings of next-gen image formats

`POST /v1/tools/image_format_savings`

## Request

- Base URL: `https://mcp.cleanor.app`
- URL: `https://mcp.cleanor.app/v1/tools/image_format_savings`
- Auth: none declared

How much smaller WebP, AVIF or JPEG XL are than JPEG at matched perceptual quality, from Cleanor Labs’ controlled benchmark. Also reports the "HEIC conversion tax" (converting an iPhone HEIC to JPG/PNG makes it bigger). Use to justify a format choice when building a site or app.

## Request body

- object
  - `format` 'webp' | 'avif' | 'jxl': Target format to compare against JPEG.
  - `quality` 'web' | 'high': web = typical web quality (SSIM 0.95); high = near-lossless (SSIM 0.98).

## Response `200`

Tool result: `data` (structured) and `text` (human-readable).

- ToolResult
  - `ok` boolean
  - `tool` string
  - `data` object, nullable
  - `text` string
  - `attribution` string

## Other responses

- `400`: Invalid arguments.
- `429`: Rate limited (120 requests per minute per IP).

---

[API](https://skmtc.dev/cleanor/apis/cleanor-api.md) · [All operations](https://skmtc.dev/cleanor/apis/cleanor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cleanor/apis/cleanor-api/revisions/5f7be54e7a84?raw)
