# 24K Labs Image Metadata Extractor

> 24K Labs Image Metadata Extractor 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, color mode, aspect ratio, transparency flag, and byte size for a given image.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/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-extractor-68d1c28c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0xwDmt-fes1vBjW_dt6Zc

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-extractor-68d1c28c -d '<json body>'
```

Example prompt: Can you check this image for me — https://example.com/photo.jpg — and tell me its format, dimensions, aspect ratio, whether it has transparency, and how many bytes it is?

## When to prefer this

Choose this endpoint when you need lightweight, structured metadata about an image — format, dimensions, mode, aspect ratio, transparency, and byte size — without performing heavier operations like object detection or OCR. It is ideal for pre-processing checks (e.g. validating upload requirements), audit pipelines, or any workflow where you need image properties quickly and cheaply at $0.002 per call.

## Known failure modes

- Invalid or unreachable image URL returns an error
- Unsupported image format returns a format error
- Network timeout if the image host is slow to respond
- Extremely large images may exceed processing limits
- Malformed request body missing the image reference returns a 400-level error

## How this service works

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

## Output

Returns a structured object containing the image format (e.g. PNG, JPEG, WEBP, GIF, BMP), pixel dimensions (width × height), color mode (e.g. RGB, RGBA, grayscale), aspect ratio, a boolean indicating transparency support, and the file's 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-extractor-68d1c28c/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)
