{
  "x402Version": 2,
  "id": 32748,
  "slug": "32748",
  "resource": "https://agent.pocket.network/v1/image-transform",
  "description": "Inspect, analyze or transform a public HTTPS image: metadata, resize, crop, rotate, convert, compress, color and filter adjustments, masks, composition, text annotation and tile packages. POST /v1/image with image_url, operation and params. Transforms answer a temporary HTTPS URL to the result, kept one hour, never image bytes. Pay per request in USDC; no account, no API key.",
  "type": "http",
  "serviceName": "Pocket Network",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789841442/bazaar-icons/3cd57aad9bac9307.png",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF732ea490c5766071785a2310523f7fA2CEbB829",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "description": "For POST /v1/image, a JSON object with ok, operation and input (width, height, format, source_bytes). Analyses add their data; transforms add output with width, height, format, bytes, url and expires_in_seconds. A refused request answers ok false with a failure code, e.g. UNSAFE_URL.",
            "type": "object"
          },
          "portal": {
            "properties": {
              "provenance": {
                "const": "third-party-supplier"
              },
              "schemaCheck": {
                "enum": [
                  "passed",
                  "undeclared",
                  "unchecked"
                ]
              },
              "serviceId": {
                "const": "image-transform"
              }
            },
            "required": [
              "provenance",
              "serviceId",
              "schemaCheck"
            ],
            "type": "object"
          }
        },
        "required": [
          "portal",
          "data"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "image_url": "",
            "operation": "adaptive_threshold"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {},
            "portal": {
              "provenance": "third-party-supplier",
              "schemaCheck": "passed",
              "serviceId": "image-transform"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "The body of POST /v1/image. Each operation has its own params schema, with ranges and examples, in https://image.pokt.online/openapi.json. Inputs must be public HTTPS URLs; limits are 50 MB download, 50 MP decoded and 25 MB output, and multi-input operations take up to eight images, 20 MP combined.",
                "properties": {
                  "image_url": {
                    "description": "The public HTTPS image to read.",
                    "maxLength": 8192,
                    "type": "string"
                  },
                  "operation": {
                    "description": "What to do with the image (default inspect).",
                    "enum": [
                      "adaptive_threshold",
                      "add_background",
                      "animation_info",
                      "apply_mask",
                      "auto_orient",
                      "blur",
                      "brightness",
                      "colorspace",
                      "compare",
                      "composite",
                      "compress",
                      "contact_sheet",
                      "contrast",
                      "convert",
                      "convolve",
                      "crop",
                      "deepzoom",
                      "detect_format",
                      "difference",
                      "dilate",
                      "dominant_color",
                      "draw_circle",
                      "draw_line",
                      "draw_rect",
                      "draw_text",
                      "edge_detect",
                      "emboss",
                      "entropy",
                      "erode",
                      "extract_alpha",
                      "extract_channel",
                      "extract_frame",
                      "extract_page",
                      "flatten",
                      "flip",
                      "gamma",
                      "grayscale",
                      "grid",
                      "hist_equalize",
                      "histogram",
                      "hue",
                      "inspect",
                      "invert",
                      "join",
                      "laplacian",
                      "local_equalize",
                      "median",
                      "merge_channels",
                      "metadata",
                      "morphology",
                      "normalize",
                      "optimize",
                      "overlay",
                      "pad",
                      "page_info",
                      "pdf_to_image",
                      "pixel_sample",
                      "pyramid",
                      "rank_filter",
                      "resize",
                      "rotate",
                      "saturation",
                      "sharpen",
                      "smartcrop",
                      "stats",
                      "strip_metadata",
                      "threshold",
                      "thumbnail",
                      "tile",
                      "tint",
                      "trim",
                      "watermark"
                    ],
                    "type": "string"
                  },
                  "params": {
                    "description": "The operation's parameters, e.g. {width, height, fit, format} for resize. Operations that need none take {}.",
                    "type": "object"
                  }
                },
                "required": [
                  "image_url"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "description": "For POST /v1/image, a JSON object with ok, operation and input (width, height, format, source_bytes). Analyses add their data; transforms add output with width, height, format, bytes, url and expires_in_seconds. A refused request answers ok false with a failure code, e.g. UNSAFE_URL.",
                    "type": "object"
                  },
                  "portal": {
                    "properties": {
                      "provenance": {
                        "const": "third-party-supplier"
                      },
                      "schemaCheck": {
                        "enum": [
                          "passed",
                          "undeclared",
                          "unchecked"
                        ]
                      },
                      "serviceId": {
                        "const": "image-transform"
                      }
                    },
                    "required": [
                      "provenance",
                      "serviceId",
                      "schemaCheck"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "portal",
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "documents",
    "image-transform",
    "rest",
    "bazaar"
  ],
  "sourceHost": "agent.pocket.network",
  "lastUpdated": "2026-10-13T13:13:26.852Z",
  "quality": {
    "calls30d": 40,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T13:13:26.654Z"
  },
  "metadata": {
    "serviceName": "Pocket Network",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789841442/bazaar-icons/3cd57aad9bac9307.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "image_url": "",
              "operation": "adaptive_threshold"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {},
              "portal": {
                "provenance": "third-party-supplier",
                "schemaCheck": "passed",
                "serviceId": "image-transform"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "description": "The body of POST /v1/image. Each operation has its own params schema, with ranges and examples, in https://image.pokt.online/openapi.json. Inputs must be public HTTPS URLs; limits are 50 MB download, 50 MP decoded and 25 MB output, and multi-input operations take up to eight images, 20 MP combined.",
                  "properties": {
                    "image_url": {
                      "description": "The public HTTPS image to read.",
                      "maxLength": 8192,
                      "type": "string"
                    },
                    "operation": {
                      "description": "What to do with the image (default inspect).",
                      "enum": [
                        "adaptive_threshold",
                        "add_background",
                        "animation_info",
                        "apply_mask",
                        "auto_orient",
                        "blur",
                        "brightness",
                        "colorspace",
                        "compare",
                        "composite",
                        "compress",
                        "contact_sheet",
                        "contrast",
                        "convert",
                        "convolve",
                        "crop",
                        "deepzoom",
                        "detect_format",
                        "difference",
                        "dilate",
                        "dominant_color",
                        "draw_circle",
                        "draw_line",
                        "draw_rect",
                        "draw_text",
                        "edge_detect",
                        "emboss",
                        "entropy",
                        "erode",
                        "extract_alpha",
                        "extract_channel",
                        "extract_frame",
                        "extract_page",
                        "flatten",
                        "flip",
                        "gamma",
                        "grayscale",
                        "grid",
                        "hist_equalize",
                        "histogram",
                        "hue",
                        "inspect",
                        "invert",
                        "join",
                        "laplacian",
                        "local_equalize",
                        "median",
                        "merge_channels",
                        "metadata",
                        "morphology",
                        "normalize",
                        "optimize",
                        "overlay",
                        "pad",
                        "page_info",
                        "pdf_to_image",
                        "pixel_sample",
                        "pyramid",
                        "rank_filter",
                        "resize",
                        "rotate",
                        "saturation",
                        "sharpen",
                        "smartcrop",
                        "stats",
                        "strip_metadata",
                        "threshold",
                        "thumbnail",
                        "tile",
                        "tint",
                        "trim",
                        "watermark"
                      ],
                      "type": "string"
                    },
                    "params": {
                      "description": "The operation's parameters, e.g. {width, height, fit, format} for resize. Operations that need none take {}.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "image_url"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "description": "For POST /v1/image, a JSON object with ok, operation and input (width, height, format, source_bytes). Analyses add their data; transforms add output with width, height, format, bytes, url and expires_in_seconds. A refused request answers ok false with a failure code, e.g. UNSAFE_URL.",
                      "type": "object"
                    },
                    "portal": {
                      "properties": {
                        "provenance": {
                          "const": "third-party-supplier"
                        },
                        "schemaCheck": {
                          "enum": [
                            "passed",
                            "undeclared",
                            "unchecked"
                          ]
                        },
                        "serviceId": {
                          "const": "image-transform"
                        }
                      },
                      "required": [
                        "provenance",
                        "serviceId",
                        "schemaCheck"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "portal",
                    "data"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent.pocket.network",
    "manifest_name": "agent.pocket.network",
    "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": {
      "data": {},
      "portal": {
        "provenance": null,
        "schemaCheck": "passed",
        "serviceId": null
      }
    },
    "type": "string"
  }
}