# 24K Labs AI Image Analysis

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

Analyzes an image using Claude AI and returns a natural language description of its visual content, paying per request with USDC on Base L2.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/analyze-image
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-ai-image-analysis-de8b9263
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DbQLheibvwN9xTJsPJcbq

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-ai-image-analysis-de8b9263 -d '<json body>'
```

Example prompt: Can you analyze this screenshot of our analytics dashboard and describe what charts and UI elements you see in it? I'll send you the image URL.

## When to prefer this

Choose this endpoint when you need pay-per-request image analysis without committing to a subscription or managing API keys. Ideal for agents operating with crypto wallets on Base L2 (USDC) that need occasional image understanding at $0.08 per call. Best for UI screenshots, dashboards, photos, and other visual content that needs a natural language description.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Missing required 'code' field (which appears to carry the image content) causes a 4xx response
- Insufficient USDC balance or payment failure via x402 protocol blocks the request
- Image too large or unsupported format may cause processing failure
- Rate limiting or model unavailability from upstream Claude provider

## How this service works

Analyze images: objects, text, context, and visual details.

## Output

Returns a JSON object with the model used (e.g. claude-haiku-4-5), a natural language description of the image contents, and the number of tokens consumed. Example: {model: 'claude-haiku-4-5', result: 'The image shows a dashboard with a sidebar nav, main chart area...', tokens_used: 240}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string",
   "description": "Primary input content"
  },
  "context": {
   "type": "string",
   "description": "Optional context or instructions"
  },
  "language": {
   "type": "string",
   "description": "Programming language (code services)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "claude-haiku-4-5",
  "result": "The image shows a dashboard with a sidebar nav, main chart area...",
  "tokens_used": 240
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-ai-image-analysis-de8b9263/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)
