Compress an image to a quality setting or byte budget
Compress an image to a quality setting or byte budget. Use when an image must be shrunk to a quality level or a maximum file size. Add output=url for a 24 h link.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
294 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://tanod.dev/v1/image/compress
| Category | Image and media |
|---|---|
| Provider host | tanod.dev |
| Networks | eip155:137, eip155:42161, eip155:56, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.003 | 354 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 204 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 289 ms |
| 2026-11-23 | valid payment request | 402 | $0.003 | 464 ms |
| 2026-11-22 | valid payment request | 402 | $0.003 | 289 ms |
| 2026-11-21 | valid payment request | 402 | $0.003 | 294 ms |
| 2026-11-20 | valid payment request | 402 | $0.003 | 320 ms |
| 2026-11-19 | valid payment request | 402 | $0.003 | 214 ms |
| 2026-11-18 | valid payment request | 402 | $0.003 | 220 ms |
| 2026-11-17 | valid payment request | 402 | $0.003 | 205 ms |
| 2026-11-16 | valid payment request | 402 | $0.003 | 189 ms |
| 2026-11-15 | valid payment request | 402 | $0.003 | 353 ms |
| 2026-11-14 | valid payment request | 402 | $0.003 | 307 ms |
| 2026-11-13 | valid payment request | 402 | $0.003 | 289 ms |
| 2026-11-12 | valid payment request | 402 | $0.003 | 452 ms |
| 2026-11-11 | valid payment request | 402 | $0.003 | 302 ms |
| 2026-11-10 | valid payment request | 402 | $0.003 | 448 ms |
| 2026-11-09 | valid payment request | 402 | $0.003 | 190 ms |
| 2026-11-08 | valid payment request | 402 | $0.003 | 310 ms |
| 2026-11-07 | valid payment request | 402 | $0.003 | 291 ms |
| 2026-11-06 | valid payment request | 402 | $0.003 | 298 ms |
| 2026-11-05 | valid payment request | 402 | $0.003 | 215 ms |
| 2026-11-04 | valid payment request | 402 | $0.003 | 298 ms |
| 2026-11-03 | valid payment request | 402 | $0.003 | 304 ms |
| 2026-11-02 | valid payment request | 402 | $0.003 | 290 ms |
| 2026-11-01 | valid payment request | 402 | $0.003 | 360 ms |
| 2026-10-31 | valid payment request | 402 | $0.003 | 479 ms |
| 2026-10-29 | valid payment request | 402 | $0.003 | 380 ms |
Example input (from the provider)
{
"body": {
"max_bytes": 150000,
"url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"auto_orient": {
"default": true,
"type": "boolean"
},
"colors": {
"default": null,
"maximum": 256,
"minimum": 2,
"type": [
"integer",
"null"
]
},
"fit": {
"default": "quality",
"enum": [
"quality",
"downscale"
],
"type": "string"
},
"format": {
"anyOf": [
{
"enum": [
"jpeg",
"png",
"webp",
"avif"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"image_base64": {
"default": null,
"maxLength": 13333464,
"type": [
"string",
"null"
]
},
"keep_icc": {
"default": true,
"type": "boolean"
},
"lossless": {
"default": false,
"type": "boolean"
},
"max_bytes": {
"default": null,
"maximum": 15000000,
"minimum": 1000,
"type": [
"integer",
"null"
]
},
"min_side": {
"default": 256,
"maximum": 32768,
"minimum": 1,
"type": "integer"
},
"output": {
"default": "base64",
"enum": [
"base64",
"url"
],
"type": "string"
},
"progressive": {
"default": false,
"type": "boolean"
},
"quality": {
"default": null,
"maximum": 100,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"url": {
"default": null,
"maxLength": 2048,
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}