# Gambit Vision — Image Understanding via x402 USDC on Base

> Gambit Vision — Image Understanding via x402 USDC on Base is a paid API for AI agents from gambit.barrioenergy.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Analyzes an image with a text prompt using a vision-language model (Llama 3.2 Vision 11B), returning a natural language description or answer, paid per-call with USDC on Base via x402.

## Facts

- Endpoint: POST https://gambit.barrioenergy.com/x402/vision
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gambit-vision-image-understanding-via-x402-usdc-on-base-fec705e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qwfZ6fkhX1SdIukkjhryb

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 gambit-vision-image-understanding-via-x402-usdc-on-base-fec705e1 -d '<json body>'
```

Example prompt: Look at this base64-encoded image of my whiteboard and tell me what's written on it — use the Gambit vision endpoint to analyze it.

## When to prefer this

Choose this endpoint when you need pay-per-call image understanding without an API key subscription, especially in automated agent pipelines that can handle x402 USDC micropayments on Base. It's well-suited for low-volume or sporadic vision tasks where you don't want to commit to a monthly plan. Prefer it over OpenAI Vision or Google Vision when you need crypto-native payment rails or want to avoid centralized API key management.

## Known failure modes

- Invalid or malformed base64 image data returns an error
- Missing prompt or image fields cause a bad request response
- Payment failure or insufficient USDC balance blocks the call via x402 402 response
- Very large images may exceed processing limits or increase latency
- Model may hallucinate details not present in the image

## How this service works

Gambit GPU shop. Humans: /signup ($1 credit), X-API-Key on /v1/*, QR Lightning top-up. Bots: L402 Lightning (LIVE) on /l402/*, x402 USDC on Base on /x402/*, or POST /v1/register ($0) then POST /v1/topup/lightning. Handwritten letter POST /x402/letter at $25.00 USDC. Funnel https://gambit.barrioenergy.com. Free probe GET|POST /x402/models.

## Output

A JSON object containing a 'text' field with the model's natural language response to the prompt about the image, and a 'model' field identifying the vision model used (e.g. 'llama3.2-vision:11b').

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "A red cube on a table.",
  "model": "llama3.2-vision:11b"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gambit-vision-image-understanding-via-x402-usdc-on-base-fec705e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gambit.barrioenergy.com](https://www.zero.xyz/host/gambit.barrioenergy.com/llms.txt)
