{"uid":"cap_fZJDOMOzhDBj3KXkYE2pp","slug":"og-image-card-renderer-8dc39841","name":"OG Image Card Renderer","description":"Render a Open Graph link preview card (1200x630) as PNG with exact typography. The text in the output is exactly the text supplied — no garbled lettering, unlike diffusion models. Responds with the raw 1200x630 PNG bytes, not JSON.","url":"https://x402render-u5vwpxpyua-uc.a.run.app/og-image","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bg":{"type":"string"},"cta":{"type":"string"},"ink":{"type":"string"},"url":{"type":"string"},"accent":{"type":"string"},"kicker":{"type":"string"},"bullets":{"type":"array","items":{"type":"string"}},"headline":{"type":"string","description":"Main text; \\n for line breaks"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yA4WvLP3SA-JqDLZZy2CT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a pixel-perfect 1200x630 Open Graph link preview card as a PNG with exact, legible typography — no AI-garbled text.","exampleAgentPrompt":"Generate an Open Graph preview card for my blog post — headline 'The Future of AI Agents\\nIs Already Here', kicker 'Deep Dive', a CTA of 'Read More', bullets ['Built on x402', 'Agent-native payments', 'No API keys'], dark background (#0f0f0f), white ink, and a purple accent (#7c3aed).","exampleUseCases":[{"title":"Blog post social sharing card","prompt":"Create an OG preview image for my new article with the headline 'How to Build Profitable AI Agents\\nIn 30 Days', kicker 'Tutorial', CTA 'Start Now', bullets ['Step-by-step guide', 'No prior ML needed', 'Free starter template'], white background, black ink, and a blue accent (#2563eb)."},{"title":"Product launch link preview","prompt":"Make a 1200x630 Open Graph card for our product launch — headline 'Introducing Spark\\nThe AI Copilot for Finance', kicker 'Launch Day', CTA 'Try Free', background color #1e293b, white ink, and orange accent (#f97316), with bullets ['Real-time portfolio insights', 'One-click rebalancing', 'Bank-grade security']."},{"title":"Newsletter issue preview card","prompt":"Render an OG image for this week's newsletter issue: headline 'Weekly Roundup\\n5 Things You Missed', kicker 'Issue #42', no CTA, bullets ['AI funding hits record', 'Open source wins', 'Remote work rebounds'], light gray background (#f8fafc), dark ink (#111827), teal accent (#0d9488)."}],"resultDescription":"Raw PNG image bytes (not JSON) for a 1200x630 pixel Open Graph card with exactly the supplied headline, kicker, CTA, bullets, and color scheme rendered with crisp vector-quality typography — ready to serve as an og:image meta tag asset.","failureModes":["Missing or empty headline may produce a blank or malformed card","Invalid hex color strings may cause a rendering error or fallback to defaults","Very long headline text may overflow the card layout","Network timeout on the Cloud Run cold-start if the container hasn't warmed up","Payment failure (x402 protocol) if USDC balance is insufficient for the $0.03 fee"],"whenToPreferThis":"Choose this endpoint when you need programmatically generated Open Graph cards with guaranteed typographic accuracy — especially when diffusion-model image generators would garble text. Ideal for automating social preview images for blogs, newsletters, product pages, or any URL that needs a polished og:image without a design tool. Prefer this over AI image generators when exact text rendering is a hard requirement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:56:38.537Z","isFirstParty":false}