Api Endpoint

Tanod imagepeek

imagepeek (Tanod) thumbnails: 1-8 sizes of an image. Use when several thumbnail sizes (1-8) of one image are needed at once. Add output=url for a 24 h link.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/image/thumbnail
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
thumbnail, image-thumbnail, resize-image, image, imagepeek, image-resize, exif

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "2000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
288 ms
Average latency
1189 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "auto_orient": {
          "default": true,
          "description": "Apply the EXIF orientation first.",
          "type": "boolean"
        },
        "fit": {
          "default": "cover",
          "description": "cover (default: fill each size, cropping the overflow) or contain (fit inside, no crop).",
          "enum": [
            "cover",
            "contain"
          ],
          "type": "string"
        },
        "format": {
          "anyOf": [
            {
              "enum": [
                "png",
                "jpeg",
                "webp",
                "gif",
                "tiff",
                "bmp",
                "ico",
                "avif"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Output format (default: the input's; ICO in, PNG out)."
        },
        "gravity": {
          "default": "center",
          "description": "cover: the part to keep (default center; north, southeast, ...).",
          "enum": [
            "center",
            "north",
            "south",
            "east",
            "west",
            "northwest",
            "northeast",
            "southwest",
            "southeast"
          ],
          "type": "string"
        },
        "image_base64": {
          "anyOf": [
            {
              "maxLength": 13333464,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url."
        },
        "quality": {
          "anyOf": [
            {
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Encoder quality 1-100 (lossy formats)."
        },
        "sizes": {
          "description": "1-8 {width, height}.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "height": {
                "maximum": 4096,
                "minimum": 1,
                "type": "integer"
              },
              "width": {
                "maximum": 4096,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "width",
              "height"
            ],
            "type": "object"
          },
          "maxItems": 8,
          "minItems": 1,
          "type": "array"
        },
        "upscale": {
          "default": false,
          "description": "Allow thumbnails larger than the input (default false).",
          "type": "boolean"
        },
        "url": {
          "anyOf": [
            {
              "maxLength": 2048,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64."
        }
      },
      "required": [
        "sizes"
      ],
      "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"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "auto_orient": {
              "default": true,
              "description": "Apply the EXIF orientation first.",
              "type": "boolean"
            },
            "fit": {
              "default": "cover",
              "description": "cover (default: fill each size, cropping the overflow) or contain (fit inside, no crop).",
              "enum": [
                "cover",
                "contain"
              ],
              "type": "string"
            },
            "format": {
              "anyOf": [
                {
                  "enum": [
                    "png",
                    "jpeg",
                    "webp",
                    "gif",
                    "tiff",
                    "bmp",
                    "ico",
                    "avif"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Output format (default: the input's; ICO in, PNG out)."
            },
            "gravity": {
              "default": "center",
              "description": "cover: the part to keep (default center; north, southeast, ...).",
              "enum": [
                "center",
                "north",
                "south",
                "east",
                "west",
                "northwest",
                "northeast",
                "southwest",
                "southeast"
              ],
              "type": "string"
            },
            "image_base64": {
              "anyOf": [
                {
                  "maxLength": 13333464,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url."
            },
            "quality": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Encoder quality 1-100 (lossy formats)."
            },
            "sizes": {
              "description": "1-8 {width, height}.",
              "items": {
                "additionalProperties": false,
                "properties": {
                  "height": {
                    "maximum": 4096,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "width": {
                    "maximum": 4096,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "width",
                  "height"
                ],
                "type": "object"
              },
              "maxItems": 8,
              "minItems": 1,
              "type": "array"
            },
            "upscale": {
              "default": false,
              "description": "Allow thumbnails larger than the input (default false).",
              "type": "boolean"
            },
            "url": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64."
            }
          },
          "required": [
            "sizes"
          ],
          "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"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "final_url": {
              "type": "string"
            },
            "images": {
              "items": {
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "content_type": {
                    "type": "string"
                  },
                  "data_base64": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string"
                  },
                  "height": {
                    "type": "integer"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "requested": {
                    "type": "object"
                  },
                  "sizes": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "width": {
                    "type": "integer"
                  }
                },
                "required": [
                  "format",
                  "bytes",
                  "width",
                  "height",
                  "data_base64"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "input": {
              "properties": {
                "animated": {
                  "type": "boolean"
                },
                "bytes": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "frames": {
                  "type": "integer"
                },
                "has_alpha": {
                  "type": "boolean"
                },
                "height": {
                  "type": "integer"
                },
                "width": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "operation": {
              "type": "string"
            },
            "source": {
              "type": "object"
            },
            "source_url": {
              "type": "string"
            },
            "total_bytes": {
              "type": "integer"
            }
          },
          "required": [
            "operation",
            "input",
            "notes",
            "images",
            "total_bytes"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}