/og-card
vs /og-hero-image
- /og-hero-image: AI creative via Gemini. Use for one-off hero art.
- /og-card: consistent templates via Satori. Use for branded systems.
Templates
- blog: title + author + date + brand colors
- product: logo + tagline + screenshot
- changelog: version + highlights
- comparison: product vs competitor
Process
- Read
brand-profile.yamlfor colors/fonts when present. - Select a template and pass required fields.
- Render via
skills/og-card/scripts/generate-card.ts. - Emit a 1200x630 PNG.
Prerequisites
pnpm add @vercel/og satori sharp
Usage
/og-card blog "Title" by Author
/og-card product for heartbeat
Output
og-[template]-[slug].png at 1200x630