{
  "x402Version": 2,
  "id": 35787,
  "slug": "35787",
  "resource": "https://tanod.dev/v1/image/convert",
  "description": "imagepeek (Tanod) image conversion: PNG, JPEG, WebP, GIF, TIFF, BMP, ICO or AVIF.",
  "type": "http",
  "serviceName": "Tanod imagepeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "bytes": {
            "type": "integer"
          },
          "content_type": {
            "type": "string"
          },
          "data_base64": {
            "type": "string"
          },
          "final_url": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "height": {
            "type": "integer"
          },
          "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"
          },
          "width": {
            "type": "integer"
          }
        },
        "required": [
          "operation",
          "input",
          "notes",
          "format",
          "content_type",
          "bytes",
          "width",
          "height",
          "data_base64"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "to": "webp",
            "url": "https://tanod.dev/icon.png"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bytes": 1864,
            "content_type": "image/webp",
            "data_base64": "UklGRkAHAABXRUJQ... (trimmed: 2,488 base64 characters in the reply)",
            "final_url": "https://tanod.dev/icon.png",
            "format": "webp",
            "height": 256,
            "input": {
              "animated": false,
              "bytes": 2183,
              "format": "png",
              "frames": 1,
              "has_alpha": true,
              "height": 256,
              "width": 256
            },
            "notes": [],
            "operation": "convert",
            "source": {
              "library": "Pillow",
              "license": "MIT-CMU (HPND)",
              "url": "https://python-pillow.org"
            },
            "source_url": "https://tanod.dev/icon.png",
            "width": 256
          },
          "type": "json"
        }
      },
      "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 (default true).",
                    "type": "boolean"
                  },
                  "background": {
                    "anyOf": [
                      {
                        "pattern": "^(#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?|transparent)$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Alpha is flattened onto this for jpeg/bmp (#ffffff)."
                  },
                  "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."
                  },
                  "lossless": {
                    "default": false,
                    "description": "webp only.",
                    "type": "boolean"
                  },
                  "optimize": {
                    "default": false,
                    "description": "png only.",
                    "type": "boolean"
                  },
                  "progressive": {
                    "default": false,
                    "description": "jpeg only.",
                    "type": "boolean"
                  },
                  "quality": {
                    "anyOf": [
                      {
                        "maximum": 100,
                        "minimum": 1,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Encoder quality 1-100 for lossy formats (default: per format)."
                  },
                  "to": {
                    "description": "png, jpeg, webp, gif, tiff, bmp, ico or avif.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "gif",
                      "tiff",
                      "bmp",
                      "ico",
                      "avif"
                    ],
                    "type": "string"
                  },
                  "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": [
                  "to"
                ],
                "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": {
                  "bytes": {
                    "type": "integer"
                  },
                  "content_type": {
                    "type": "string"
                  },
                  "data_base64": {
                    "type": "string"
                  },
                  "final_url": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string"
                  },
                  "height": {
                    "type": "integer"
                  },
                  "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"
                  },
                  "width": {
                    "type": "integer"
                  }
                },
                "required": [
                  "operation",
                  "input",
                  "notes",
                  "format",
                  "content_type",
                  "bytes",
                  "width",
                  "height",
                  "data_base64"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "imagepeek",
    "image",
    "image-resize",
    "exif",
    "favicon",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-08T21:21:13.718Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T21:21:13.288Z"
  },
  "metadata": {
    "serviceName": "Tanod imagepeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "to": "webp",
              "url": "https://tanod.dev/icon.png"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "bytes": 1864,
              "content_type": "image/webp",
              "data_base64": "UklGRkAHAABXRUJQ... (trimmed: 2,488 base64 characters in the reply)",
              "final_url": "https://tanod.dev/icon.png",
              "format": "webp",
              "height": 256,
              "input": {
                "animated": false,
                "bytes": 2183,
                "format": "png",
                "frames": 1,
                "has_alpha": true,
                "height": 256,
                "width": 256
              },
              "notes": [],
              "operation": "convert",
              "source": {
                "library": "Pillow",
                "license": "MIT-CMU (HPND)",
                "url": "https://python-pillow.org"
              },
              "source_url": "https://tanod.dev/icon.png",
              "width": 256
            },
            "type": "json"
          }
        },
        "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 (default true).",
                      "type": "boolean"
                    },
                    "background": {
                      "anyOf": [
                        {
                          "pattern": "^(#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?|transparent)$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Alpha is flattened onto this for jpeg/bmp (#ffffff)."
                    },
                    "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."
                    },
                    "lossless": {
                      "default": false,
                      "description": "webp only.",
                      "type": "boolean"
                    },
                    "optimize": {
                      "default": false,
                      "description": "png only.",
                      "type": "boolean"
                    },
                    "progressive": {
                      "default": false,
                      "description": "jpeg only.",
                      "type": "boolean"
                    },
                    "quality": {
                      "anyOf": [
                        {
                          "maximum": 100,
                          "minimum": 1,
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Encoder quality 1-100 for lossy formats (default: per format)."
                    },
                    "to": {
                      "description": "png, jpeg, webp, gif, tiff, bmp, ico or avif.",
                      "enum": [
                        "png",
                        "jpeg",
                        "webp",
                        "gif",
                        "tiff",
                        "bmp",
                        "ico",
                        "avif"
                      ],
                      "type": "string"
                    },
                    "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": [
                    "to"
                  ],
                  "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": {
                    "bytes": {
                      "type": "integer"
                    },
                    "content_type": {
                      "type": "string"
                    },
                    "data_base64": {
                      "type": "string"
                    },
                    "final_url": {
                      "type": "string"
                    },
                    "format": {
                      "type": "string"
                    },
                    "height": {
                      "type": "integer"
                    },
                    "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"
                    },
                    "width": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "operation",
                    "input",
                    "notes",
                    "format",
                    "content_type",
                    "bytes",
                    "width",
                    "height",
                    "data_base64"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "bytes": 0,
      "content_type": "string",
      "data_base64": "string",
      "final_url": "string",
      "format": "string",
      "height": 0,
      "input": {
        "animated": true,
        "bytes": 0,
        "format": "string",
        "frames": 0,
        "has_alpha": true,
        "height": 0,
        "width": 0
      },
      "notes": [
        "string"
      ],
      "operation": "string",
      "source": {},
      "source_url": "string",
      "width": 0
    },
    "type": "string"
  }
}