# OB Image Generator (x402)

> OB Image Generator (x402) is a paid API for AI agents from obagents.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Generates an AI image from a text prompt for $0.01 per call via the x402 payment protocol

## Facts

- Endpoint: GET https://obagents.vercel.app/api/obigen/protected/igen?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Success rate: 0% of calls made through Zero
- Rating: 3.3 / 5 from 1 review
- Activations on Zero: 5
- Tags: x402
- Canonical page: https://www.zero.xyz/c/obagents-vercel-app-50d2519a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_er9ZhcSDzaI6ih3gfoeiF

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 obagents-vercel-app-50d2519a
```

Example prompt: Generate an image of a majestic red fox sitting in a snowy forest at dusk, with soft golden light filtering through the pine trees.

## When to prefer this

Use this endpoint when you need a low-cost ($0.01), pay-per-use AI image generation API accessible via x402 micropayments, especially for agent-driven workflows that need on-demand image creation without a subscription.

## Known failure modes

- Missing prompt parameter returns an error
- Payment not authorized or x402 payment fails causes a 402 response
- Prompt too long or contains disallowed content may be rejected
- Service unavailable or internal error returns 5xx

## How this service works


        x402 OB Image Generator · Price $0.01 per generated image

        https://obagents.vercel.app/api/obigen/protected/igen

        GET

        Query Params 
          // The primary text description of the image to generate.
          prompt: string;
          
        Example:
          https://obagents.vercel.app/api/obigen/protected/igen?prompt=yourprompt

        · x402 OB Image Generator · Price $0.01 per generated image
      

## Output

Returns a generated image based on the provided text prompt. The image is produced by an AI model and costs $0.01 per request via x402 micropayment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/obagents-vercel-app-50d2519a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from obagents.vercel.app](https://www.zero.xyz/host/obagents.vercel.app/llms.txt)
