{"uid":"cap_EJ6Mrc8dYtLlFC7xWJdJ5","slug":"x-twitter-card-png-renderer-30e16444","name":"X/Twitter Card PNG Renderer","description":"Render a X / Twitter card (1200x675) 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 1200x675 PNG bytes, not JSON.","url":"https://x402render-u5vwpxpyua-uc.a.run.app/twitter-card?utm_source=zero.xyz","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_yxB31VBkZKrHba8S9h1sY","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 1200x675 Twitter/X card image as a raw PNG with exact, pixel-perfect typography from supplied text fields.","exampleAgentPrompt":"Make me a Twitter card PNG with the headline 'Ship Faster\\nWith Less Toil', a dark navy background, white ink, an orange accent, the kicker 'Engineering Blog', bullet points 'No YAML', 'No vendor lock-in', 'One command deploy', and the CTA 'Read the post'.","exampleUseCases":[{"title":"Blog post Twitter link preview","prompt":"Create a 1200x675 Twitter card PNG for my new blog post — headline 'The Future of Async APIs\\nIs Already Here', kicker 'Dev Blog', bullets 'x402 protocol', 'Pay-per-call pricing', 'Zero setup', CTA 'Read now', dark gray background, white text, blue accent."},{"title":"Product launch announcement card","prompt":"Render a Twitter card for our product launch: headline 'Introducing Orbit 2.0\\nYour AI Copilot', background color #0f172a, ink #f8fafc, accent #6366f1, kicker 'Product News', bullets 'Faster than ever', 'Multimodal support', 'Free tier available', and CTA 'Try it free'."},{"title":"Newsletter promotion social image","prompt":"Generate a Twitter/X card image for promoting our weekly newsletter — headline 'This Week in AI\\nWhat You Missed', kicker 'The Digest', three bullets: '5 papers worth reading', 'Tool of the week', 'Community picks', CTA 'Subscribe', white background, black ink, red accent."}],"resultDescription":"Raw PNG image bytes (1200x675 pixels) representing the rendered Twitter/X card. The response is not JSON — it is the binary PNG file directly, ready to save or upload. Text is rendered with exact, lossless typography matching the input strings, with no AI-induced character distortion.","failureModes":["Missing or empty headline may produce a blank or malformed card","Invalid hex color strings for bg, ink, or accent may cause rendering errors or fallback to defaults","Extremely long headline text may overflow the card boundaries","Network timeout on the cloud run endpoint if under cold-start latency","Non-UTF-8 characters in text fields may not render as expected","Bullets array with too many items may clip off the card edge"],"whenToPreferThis":"Choose this endpoint when you need pixel-perfect, guaranteed-legible text on a 1200x675 social card — especially when diffusion-model image generators would garble or hallucinate the lettering. It is the right choice for programmatic generation of Twitter/X link preview cards, OG images, or announcement graphics where exact headline and bullet text must be reproduced faithfully. Prefer it over general-purpose AI image generators any time typographic accuracy is non-negotiable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:33:11.743Z","isFirstParty":false,"canonicalSlug":"x-twitter-card-png-renderer-30e16444"}