Convert and compress images to WebP, AVIF, JPEG or PNG
Convert and compress images to WebP, AVIF, JPEG or PNG. Optimize and shrink photos for web and CDN delivery from any image URL.
10000 (raw units)
price
6
calls / 30d
3
unique payers
2026-09-17
updated
Provider
imgopt.use.x402atlas.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5a45010395d62e9C4A8a0931bDe0493AACA4f657",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x5a45010395d62e9C4A8a0931bDe0493AACA4f657",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x5a45010395d62e9C4A8a0931bDe0493AACA4f657",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "media-processing",
"info": {
"input": {
"body": {
"format": "webp",
"image_url": "https://www.gstatic.com/webp/gallery/1.jpg",
"quality": 80
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"format": {
"description": "Output format: webp, jpeg, jpg, png or avif (default webp)",
"enum": [
"webp",
"jpeg",
"jpg",
"png",
"avif"
],
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image to optimize",
"type": "string"
},
"quality": {
"description": "Encoding quality 1..100 (default 80)",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"image_url"
]
},
"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"
},
"tags": [
"webp",
"image-optimization",
"compress-image",
"convert-image",
"avif",
"png-to-webp",
"jpg-to-webp",
"image-cdn"
]
}
}Use it
curl
curl "https://imgopt.use.x402atlas.com/optimize" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://imgopt.use.x402atlas.com/optimize");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://imgopt.use.x402atlas.com/optimize")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/9054.json, and this resource appears in /discovery/resources and /discovery/search.