# 24K Labs Image Metadata Analyzer

> 24K Labs Image Metadata Analyzer is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns format, dimensions, mode, aspect ratio, transparency flag, and byte size for a given image.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/image-metadata
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-image-metadata-analyzer-a400e809
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_75w21AlOC1jwSmDqxEqdI

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 24k-labs-image-metadata-analyzer-a400e809 -d '<json body>'
```

Example prompt: Can you inspect this image at https://example.com/photo.jpg and tell me its format, dimensions, aspect ratio, whether it has transparency, and how large it is in bytes?

## When to prefer this

Use this endpoint when you need quick, structured metadata about an image — format, dimensions, aspect ratio, transparency, and byte size — without performing any transformation or generation. Ideal for pre-upload validation, asset auditing, or feeding image specs into downstream logic. Prefer this over general-purpose vision AI endpoints when you need deterministic, structured metadata rather than semantic image understanding.

## Known failure modes

- Image URL is unreachable or returns a non-image response — returns an error indicating fetch failure
- Unsupported image format — returns an error for formats outside supported set
- Malformed or corrupted image data — returns a parse/decode error
- Missing required input (no image provided) — returns a validation error
- Network timeout fetching remote image URL

## How this service works

Report format, dimensions, mode, aspect ratio, transparency, and byte size of an image.

## Output

Returns a structured report including: image format (e.g. PNG, JPEG, WEBP), pixel dimensions (width × height), color mode (e.g. RGB, RGBA, L), aspect ratio, whether the image has transparency, and file byte size.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "width": 8,
  "height": 8
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-image-metadata-analyzer-a400e809/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
