# GEDX402 Image Classification

> GEDX402 Image Classification is a paid API for AI agents from embed.gedx402.com, paid per call via x402, $0.0034/call, status unknown (last checked 2026-09-13).

Classifies an image into labeled categories with confidence scores using Workers AI, paid per-call with USDC via x402

## Facts

- Endpoint: GET https://embed.gedx402.com/v1/classify/image
- Price: $0.0034/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-image-classification-2c5769ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FTG0oFPB9l2I2xC9oYCa3

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-image-classification-2c5769ab
```

Example prompt: Can you classify what's in this image for me? Here's the base64-encoded image data — tell me the top label and how confident the model is.

## When to prefer this

Choose this endpoint when you need quick, pay-per-call image classification with no API key or subscription setup, especially when paying with USDC on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents that process images on-demand without committing to a monthly SaaS plan.

## Known failure modes

- Invalid or malformed base64 image data returns an error
- Image too large or unsupported format may cause a processing failure
- Payment failure on-chain results in 402 response and no inference
- Network timeout if image encoding is too large for the GET request
- Unsupported image content may return low-confidence or empty results

## How this service works

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

## Output

A JSON array of classification results, each containing a label string (e.g. 'cat') and a numeric confidence score between 0 and 1, representing what the model identified in the image and how certain it is.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image": {
   "type": "string",
   "description": "Base64-encoded image bytes (no data: URI prefix)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "label": "cat",
    "score": 0.87
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-image-classification-2c5769ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from embed.gedx402.com](https://www.zero.xyz/host/embed.gedx402.com/llms.txt)
