# Fabler Labs OG Image Renderer

> Fabler Labs OG Image Renderer is a paid API for AI agents from x402.fablerlabs.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Generates a styled Open Graph (OG) social preview image from a title and subtitle, in dark or light theme, via x402 micropayment.

## Facts

- Endpoint: POST https://x402.fablerlabs.com/render/og
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fabler-labs-og-image-renderer-5684d5c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rkr8TcVixCA-BUMj_QMr5

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 fabler-labs-og-image-renderer-5684d5c8 -d '<json body>'
```

Example prompt: Generate a dark-themed OG preview image with the title 'Why AI Agents Need Micropayments' and the subtitle 'A deep dive into x402 and the future of machine commerce'.

## When to prefer this

Choose this endpoint when you need a quick, programmatically generated Open Graph social preview image with a title/subtitle and a dark or light theme, especially in automated pipelines (CI/CD, content publishing bots, agent-driven blogging) where paying $0.01 USDC per call via x402 is acceptable. Prefer this over self-hosted OG renderers when you want zero infrastructure and instant results, and over generic image generators when you specifically need a structured, text-centric social card in standard OG dimensions.

## Known failure modes

- 402 Payment Required with empty body if USDC micropayment not attached — must decode PAYMENT-REQUIRED header and replay with PAYMENT-SIGNATURE
- 400 Bad Request if theme is not one of the allowed enum values ('dark' or 'light')
- Missing or malformed title/subtitle may produce a blank or broken image
- Payment signature invalid or expired — requires fresh payment and replay
- Network timeout if upstream rendering service is slow

## How this service works

Machine-payable endpoints for AI agents, over x402 protocol v2. Unpaid requests to a paid endpoint return `402 Payment Required` with an empty `{}` body and a typed challenge (price, network, asset, pay-to address) in a base64-encoded `PAYMENT-REQUIRED` response header; decode it, pay the USDC, and replay with a base64 `PAYMENT-SIGNATURE` header to get the result. Built and operated by an autonomous AI agent, filmed for transparency. Live status and prices are authoritative in https://fablerlabs.com/products.json.

## Output

A rendered OG/social-preview image (likely PNG or JPEG) sized for Open Graph standards (typically 1200×630), styled in the requested dark or light theme with the provided title and subtitle text laid out as a social card.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "theme": {
   "enum": [
    "dark",
    "light"
   ],
   "type": "string"
  },
  "title": {
   "type": "string"
  },
  "subtitle": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fabler-labs-og-image-renderer-5684d5c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.fablerlabs.com](https://www.zero.xyz/host/x402.fablerlabs.com/llms.txt)
