O

Open Graph Image Generator · Generate

by Open Graph Image Generator

POSTBase

$0.01

per call · USD Coin on Base

Generate ready-to-use 1200x630 Open Graph / social preview images from text for content, marketing, and publishing agents. Provide a title plus optional subtitle and category badge, pick a built-in theme (dark, light, midnight, forest, sunset), and receive a base64 PNG sized exactly for og:image and twitter:card. Pure server-side rendering with no external calls and no shell access.

Endpoint

POST https://og.bip-rep.com/generate

5

Calls / 30d

2

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://og.bip-rep.com/generate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "badge": "blog",
    "subtitle": "Pay-per-call APIs for AI agents on Base",
    "theme": "dark",
    "title": "Launching the x402 Gateway"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://og.bip-rep.com/generate" \
  -H "Content-Type: application/json" \
  -d '{"badge":"blog","subtitle":"Pay-per-call APIs for AI agents on Base","theme":"dark","title":"Launching the x402 Gateway"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "height": 630,
  "latency_ms": 45,
  "png_base64": "iVBORw0KGgoAAAANSUhEUgAA...",
  "size_bytes": 18234,
  "theme": "dark",
  "width": 1200
}

Payment details

Pay to0x46830a57ca3806ec71b981e063dc39ca2a3c6fb0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Open Graph Image Generator & similar services