Web Image Optimizer
Web Image Optimizer: Resizes one image so its longest side is at most max_width pixels (never enlarging it) and encodes it as WebP at the given quality. Transparency is kept. Metadata is not carried over, so a JPEG's EXIF orientation is not applied.
Answeringour last check, 2026-10-10
1 of 1checks answered this week
721 msmedian answer time
$0.01listed price per call
$0.01price 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://baconservices.com/api/agent-commerce/v1/capabilities/web-image-optimizer/execute
| Category | Image and media |
|---|---|
| Provider host | baconservices.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.01 | 721 ms |
Example input (from the provider)
{
"body": {
"image_url": "https://baconservices.com/assets/img/demos/background-remover-before.png",
"max_width": 1600,
"quality": 80
},
"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,
"description": "Give exactly one of image_url or image_base64. The same request body must be sent again with the PAYMENT-SIGNATURE header.",
"properties": {
"image_base64": {
"contentEncoding": "base64",
"description": "The image bytes, base64-encoded.",
"type": "string"
},
"image_url": {
"description": "A public https URL of a PNG, JPEG or WebP image.",
"format": "uri",
"type": "string"
},
"max_width": {
"default": 1600,
"description": "Longest side of the output, in pixels.",
"maximum": 4096,
"minimum": 64,
"type": "integer"
},
"quality": {
"default": 80,
"description": "WebP quality.",
"maximum": 95,
"minimum": 40,
"type": "integer"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}