# x402image

> x402 image tools (USDC/Base): remove_background/upscale $0.02, resize/optimize $0.005; URL in/out

- name: org.x402image/image
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 74/100 flags: no-repository
- quality: 85/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/org.x402image%2Fimage
- tools: https://api.protogrid.dev/v1/servers/org.x402image%2Fimage/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "image": {
      "type": "http",
      "url": "https://x402image.org/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 96
- freshness: 65
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-90% ~updated-97d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 85/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 86 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 6 of 6 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: remove_background (destructiveHint, idempotentHint); upscale (destructiveHint, idempotentHint); resize (destructiveHint, idempotentHint); …
- pass `tools.token_cost`: about 1,200 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 6, about 1,200 tokens to load them all
- tool set hash: 7b18bcd0b1e21718a6484d8c651e4f91
- badge: [![protogrid quality](https://protogrid.dev/badge/org.x402image/image.svg)](https://protogrid.dev/servers/org.x402image/image)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://x402image.org/mcp (streamable-http, auth none, reachable true, uptime30d 0.8981481)

## Packages

_none_

## Tools (6)

- `optimize`: Convert format and/or compress an image. $0.005 per call. Input: an image via source URL. Params: format (webp|avif|jpeg|png|gif); quality (1-100, default 85 — lower is smaller). At least one of format/quality is required. Output: the optimized image as a short-lived signed URL.
- `process`: Apply an ordered pipeline of image ops in a single paid call: one payment, one output. Price is the sum of the included ops’ prices — call without payment to get a 402 quote. Input: source (image URL), steps (ordered [{op, params}], e.g. [{"op":"remove_background"},{"op":"resize","params":{"width":800}}]). Call service_info for the available ops and their per-op prices. Output: the processed image as a short-lived signed URL.
- `remove_background`: Remove an image's background, isolating the subject (BiRefNet AI segmentation). $0.02 per call. Input: an image via source URL. Params: background (optional fill color for the removed area, e.g. 'white'; omit for a transparent cutout — use a PNG/WebP output to keep transparency). Output: the cut-out image as a short-lived signed URL.
- `resize`: Resize or crop an image to an exact width/height. $0.005 per call. Input: an image via source URL. Params: width, height (pixels); fit (scale-down|contain|pad|squeeze|cover|crop); gravity (auto|face|left|right|top|bottom|center|entropy — focal point for cover/crop, use 'face' to keep faces); background (fill color for 'pad', e.g. 'white' or 'rgba(0,0,0,0)' for transparent). At least one of width/height is required. Output: the transformed image as a short-lived signed URL.
- `service_info`: Free. Returns x402image service metadata and the list of paid image tools with their per-call USD prices. No payment or input required. Call this first to discover capabilities and pricing.
- `upscale`: Upscale an image with AI super-resolution (ESRGAN) for sharper enlargement. $0.02 per call. Input: an image via source URL. Params: width and/or height (target pixels; at least one required). Output: the enlarged image as a short-lived signed URL.
