Skip to content
Fourohtwo

Web tools

rengi.dev/v1/web-tools/og-image

Web tools: Open Graph card from a title: 1200x630 for link previews (also Twitter, square and story sizes), three layouts, your colours, logo and photo. Long titles shrink to fit and are never cut off. Returns the image and the meta tags. Full schema: https://rengi.dev/v1/web-tools/schema

BaseSolanaAnswering
POSThttps://rengi.dev/v1/web-tools/og-image

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://rengi.dev/v1/web-tools/og-image", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"accent":"#d9480f","eyebrow":"Engineering blog","footer":"forge.rengi.dev","subtitle":"Caching, parallel tests and one flag nobody had read about.","template":"classic","theme":"dark","title":"How we cut our build time from 14 minutes to 90 seconds"}),
});
console.log(await res.json());

Example input

{
  "accent": "#d9480f",
  "eyebrow": "Engineering blog",
  "footer": "forge.rengi.dev",
  "subtitle": "Caching, parallel tests and one flag nobody had read about.",
  "template": "classic",
  "theme": "dark",
  "title": "How we cut our build time from 14 minutes to 90 seconds"
}

More from Rengi ForgeProvider status