# RelayStation OG Image Generator

> RelayStation OG Image Generator is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Renders social/Open Graph card PNG images with titles, colors, and branding for use in link previews

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/generate/og-image
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-og-image-generator-13f6f286
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LOL3ZkHQ3aL6TJO_iQaq5

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 relaystation-og-image-generator-13f6f286 -d '<json body>'
```

Example prompt: Generate an OG card PNG for my article titled 'The Future of AI Agents' using a dark navy background with white text and my brand accent color #FF6B35.

## When to prefer this

Choose this endpoint when you need a programmatic, pay-per-call OG/social card image generated on demand without managing a headless browser or design template infrastructure. Ideal for dynamic content pipelines — blog posts, product pages, newsletters — where each link needs a unique branded preview PNG. Priced at $0.0005/call (1¢ minimum via x402), it suits high-volume or automated workflows where spinning up a custom image rendering service is not cost-effective.

## Known failure modes

- Missing required title field returns a 400 error
- Invalid or unreachable logo/image URL causes rendering failure
- Unsupported color format (e.g. invalid hex) may cause default fallback or error
- Payment insufficient (below 1¢ x402 minimum) results in 402 Payment Required
- Oversized text titles may be truncated or overflow the card layout

## How this service works

$0.0005/call. Render social/OG card PNGs — titles, colors, branding — for links that get clicked. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

A PNG image file (binary or URL) representing the rendered Open Graph / social card, sized for standard link preview dimensions, incorporating the supplied title, colors, and branding elements.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "theme": {
       "enum": [
        "light",
        "dark"
       ],
       "type": "string"
      },
      "title": {
       "type": "string",
       "maxLength": 200,
       "minLength": 1
      },
      "width": {
       "type": "integer",
       "maximum": 2000,
       "minimum": 600
      },
      "height": {
       "type": "integer",
       "maximum": 1200,
       "minimum": 300
      },
      "subtitle": {
       "type": "string",
       "maxLength": 300
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "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/relaystation-og-image-generator-13f6f286/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
