x402AgentTools

🎨OG Image Generator

Generate a 1200×630 social-card PNG from a title and description — the image size every link-preview crawler expects. Rendered server-side with satori and returned as a base64 data URI, ready to embed in meta tags or download.

🔌 Server-side tool

This tool runs on the server (it fetches third-party URLs directly and cannot run in your browser). Use the paid JSON API below — the worked examples show real server-side results and refresh automatically.

Worked examples

Live examples refresh automatically — call the API for guaranteed-fresh results.

Machine API (x402)

$0.005 / call

This tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.

GET /api/v1/dev/og-image?title=AgentTools%20Hub%20is%20live&description=54%20paid%20tools%20for%20AI%20agents&theme=dark HTTP/1.1
Host: localhost:3000

→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)

{
  "tool": "dev/og-image",
  "input": {"title":"AgentTools Hub is live","description":"54 paid tools for AI agents","theme":"dark"},
  "result": { "value": null, "answer": "" }
}

Agent docs: /llms.txt · OpenAPI spec · integration guide

About this tool

Generate Open Graph social-card images programmatically: a branded 1200×630 PNG rendered from your title and description with satori, returned as both a downloadable data URI and an embed snippet. Deterministic — the same input always renders the same card.

Frequently asked questions

What can I use the image for?

og:image meta tags on blog posts, launch announcements, documentation hero cards — anywhere link previews need an image without a designer.

Related tools