82trust / 100

Generate

by Open Graph Image Generator in News & content

x402 APIPassing, checked 2 h ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
247 ms typical, 318 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -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"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fog.bip-rep.com%2Fgenerate
const res = await pay("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"}),
});
console.log(await res.json());

Example input

{
  "badge": "blog",
  "subtitle": "Pay-per-call APIs for AI agents on Base",
  "theme": "dark",
  "title": "Launching the x402 Gateway"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402318 ms$0.01
6 h agoPassed402252 ms$0.01
10 h agoPassed402281 ms$0.01
13 h agoPassed402214 ms$0.01
18 h agoPassed402230 ms$0.01
20 h agoPassed402225 ms$0.01
24 h agoPassed402396 ms$0.01
29 h agoPassed402247 ms$0.01