# Relaystation Image Metadata

> Relaystation Image Metadata is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Reads and returns dimensions, format, and EXIF presence for an image URL before processing

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/image/metadata
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-image-metadata-044f94d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DcJCsig5GrvfvIs6uoaPY

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 relaystation-image-metadata-044f94d8 -d '<json body>'
```

Example prompt: Before I resize it, can you check the dimensions, format, and whether EXIF data is present for this image: https://example.com/photo.jpg?

## When to prefer this

Choose this endpoint when you need a lightweight, cheap pre-flight check on an image before committing to heavier processing (resizing, conversion, OCR). It is ideal when you only need dimensions, format, and EXIF presence — not pixel-level analysis or content understanding. At $0.0005/call it is the lowest-cost way to gate downstream image workflows.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Unsupported image format may not return all fields
- Network timeout if remote image URL is slow to respond
- Non-image URLs (HTML pages, PDFs) will fail or return partial data

## How this service works

$0.0005/call. Read dimensions, format, and EXIF presence — inspect before you process. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the image's pixel dimensions (width and height), file format (e.g. JPEG, PNG, WebP), and a flag indicating whether EXIF metadata is present in the image.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {}
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-image-metadata-044f94d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
