{
  "x402Version": 2,
  "id": 36807,
  "slug": "36807",
  "resource": "https://api.vextorium.com/v1/image-convert",
  "description": "Convert and resize an image (URL or base64) to WebP, JPEG or PNG keeping aspect ratio and stripping EXIF/GPS metadata; returns base64 and a data URI with the size saving.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Web Intelligence",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "4000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "4000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "base64": {
            "type": [
              "string",
              "null"
            ]
          },
          "bytes_original": {
            "type": [
              "number",
              "null"
            ]
          },
          "bytes_result": {
            "type": [
              "number",
              "null"
            ]
          },
          "data_uri": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "type": [
              "string",
              "null"
            ]
          },
          "high": {
            "type": [
              "number",
              "null"
            ]
          },
          "savings_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "width": {
            "type": [
              "number",
              "null"
            ]
          },
          "without_metadata": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "format": "webp",
            "url": "https://vextorium.com/og.png",
            "width": 300
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "base64": "UklGRvAUAABXRUJQVlA4IOQUAADwWACdASosAZ4APmEwlEckIyIhI5YaWIAMCWVu3rlmUJFxcErf0X4AyZuAB4nHSX8wH6yfrH7s39o9UX4ge4B/Wv8V6xH+Z9hv9sfYJ/U70uf3G+Dv+1/7P9wvgJ/ZP/760D1G7U/8D9WPr3+H/Mf138n/6LzeOTf9b+VXuX/Ffr7+U/tX7gflf81f6TwV+Cf956gX4//J/8H+af999NP6T97rlXmBeoPyn/Wf4/93PMx/p/Qv6j/578yPoA/j39E/0v5u/3r4d/yvgYfe…",
            "bytes_original": 166630,
            "bytes_result": 5368,
            "data_uri": "data:image/webp;base64,UklGRvAUAABXRUJQVlA4IOQUAADwWACdASosAZ4APmEwlEckIyIhI5YaWIAMCWVu3rlmUJFxcErf0X4AyZuAB4nHSX8wH6yfrH7s39o9UX4ge4B/Wv8V6xH+Z9hv9sfYJ/U70uf3G+Dv+1/7P9wvgJ/ZP/760D1G7U/8D9WPr3+H/Mf138n/6LzeOTf9b+VXuX/Ffr7+U/tX7gflf81f6TwV+Cf956gX4//J/8H+af999NP6T97rlXmBeoPyn/Wf4/93PMx/p/Qv6j/578yPo…",
            "format": "webp",
            "high": 158,
            "savings_pct": 96.8,
            "width": 300,
            "without_metadata": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "base64_img": {
                    "type": "string"
                  },
                  "format": {
                    "enum": [
                      "webp",
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "high": {
                    "type": "integer"
                  },
                  "quality": {
                    "description": "10-100 (default 82)",
                    "type": "integer"
                  },
                  "url": {
                    "type": "string"
                  },
                  "width": {
                    "type": "integer"
                  }
                },
                "required": []
              },
              "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": {
                  "base64": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "bytes_original": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "bytes_result": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "data_uri": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "format": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "high": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "savings_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "without_metadata": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "image",
    "webp",
    "resize",
    "optimization",
    "media",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-08T06:15:25.719Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:15:25.501Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "format": "webp",
              "url": "https://vextorium.com/og.png",
              "width": 300
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "base64": "UklGRvAUAABXRUJQVlA4IOQUAADwWACdASosAZ4APmEwlEckIyIhI5YaWIAMCWVu3rlmUJFxcErf0X4AyZuAB4nHSX8wH6yfrH7s39o9UX4ge4B/Wv8V6xH+Z9hv9sfYJ/U70uf3G+Dv+1/7P9wvgJ/ZP/760D1G7U/8D9WPr3+H/Mf138n/6LzeOTf9b+VXuX/Ffr7+U/tX7gflf81f6TwV+Cf956gX4//J/8H+af999NP6T97rlXmBeoPyn/Wf4/93PMx/p/Qv6j/578yPoA/j39E/0v5u/3r4d/yvgYfe…",
              "bytes_original": 166630,
              "bytes_result": 5368,
              "data_uri": "data:image/webp;base64,UklGRvAUAABXRUJQVlA4IOQUAADwWACdASosAZ4APmEwlEckIyIhI5YaWIAMCWVu3rlmUJFxcErf0X4AyZuAB4nHSX8wH6yfrH7s39o9UX4ge4B/Wv8V6xH+Z9hv9sfYJ/U70uf3G+Dv+1/7P9wvgJ/ZP/760D1G7U/8D9WPr3+H/Mf138n/6LzeOTf9b+VXuX/Ffr7+U/tX7gflf81f6TwV+Cf956gX4//J/8H+af999NP6T97rlXmBeoPyn/Wf4/93PMx/p/Qv6j/578yPo…",
              "format": "webp",
              "high": 158,
              "savings_pct": 96.8,
              "width": 300,
              "without_metadata": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "base64_img": {
                      "type": "string"
                    },
                    "format": {
                      "enum": [
                        "webp",
                        "jpeg",
                        "png"
                      ],
                      "type": "string"
                    },
                    "high": {
                      "type": "integer"
                    },
                    "quality": {
                      "description": "10-100 (default 82)",
                      "type": "integer"
                    },
                    "url": {
                      "type": "string"
                    },
                    "width": {
                      "type": "integer"
                    }
                  },
                  "required": []
                },
                "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": {
                    "base64": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "bytes_original": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_result": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "data_uri": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "format": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "high": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "savings_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "width": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "without_metadata": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "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": {
      "base64": "string",
      "bytes_original": 0,
      "bytes_result": 0,
      "data_uri": "string",
      "format": "string",
      "high": 0,
      "savings_pct": 0,
      "width": 0,
      "without_metadata": true
    },
    "type": "string"
  }
}