# GEDX402 DETR-ResNet-50 Object Detection

> GEDX402 DETR-ResNet-50 Object Detection is a paid API for AI agents from ged-x402-media.jvalamis.workers.dev, paid per call via x402, $0.0042/call, status unknown (last checked 2026-09-14).

Detects and localizes objects in a base64-encoded image using the DETR-ResNet-50 model, returning bounding boxes, labels, and confidence scores — paid per call with USDC via x402.

## Facts

- Endpoint: GET https://ged-x402-media.jvalamis.workers.dev/v1/detect/detr-resnet-50
- Price: $0.0042/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-detr-resnet-50-object-detection-ab14b03a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PoD6cw1yJUPc3XgIzPm2H

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gedx402-detr-resnet-50-object-detection-ab14b03a
```

Example prompt: Can you detect all the objects in this image and tell me what's there along with where each one is located? Here's the base64-encoded image: [base64string]

## When to prefer this

Choose this endpoint when you need serverless, pay-per-call object detection without managing API keys or subscriptions — especially when your agent already holds USDC on Base, Polygon, Arbitrum, World, or Solana. Ideal for one-off image analysis tasks or pipelines that need to detect and localize multiple object classes in a scene using a proven transformer-based model (DETR-ResNet-50).

## Known failure modes

- Invalid or malformed base64 image returns an error response
- Image too large may time out or be rejected by the worker
- Payment failure (insufficient USDC balance or unsupported chain) results in HTTP 402
- Non-image data passed as the image field causes a model inference error
- Unsupported image format may result in a decode error

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

Returns a JSON array of detections, each containing a bounding box (as [x1, y1, x2, y2] pixel coordinates), a human-readable label (e.g. 'person', 'car', 'dog'), and a confidence score between 0 and 1. Costs $0.0042 USDC per call, charged automatically via x402 on Base, Polygon, Arbitrum, World, or Solana — no API key required.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "detections": [
   {
    "box": [
     0,
     0,
     100,
     200
    ],
    "label": "person",
    "score": 0.95
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-detr-resnet-50-object-detection-ab14b03a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-media.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-media.jvalamis.workers.dev/llms.txt)
