# 2s — the (most) everything API

> 2s — the (most) everything API is a paid API for AI agents from 2s.io, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-15).

## Facts

- Endpoint: POST https://2s.io/api/ai/image
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-ai-image-873c0398
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q7XZNepl19w4j49HRdIIZ

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 api-ai-image-873c0398 -d '<json body>'
```

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer"
  },
  "size": {
   "type": "string"
  },
  "model": {
   "type": "string",
   "description": "Gateway image model id."
  },
  "prompt": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-ai-image-873c0398/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
