Comparison
ogimagex vs og-image.vercel.app
The classic demo popularised the "OG image as URL" idea. ogimagex is the modern take: more templates, faster rendering, and better defaults.
og-image.vercel.app was released as a Vercel demo — one template, a small handful of knobs, and Chromium screenshotting under the hood. It's a great proof of concept but hasn't been meaningfully updated in years.
ogimagex is built from scratch on TanStack Start and resvg-wasm. No headless browser, no cold starts — just SVG → PNG at the edge, with 18 templates and a live playground.
Feature-by-feature
| Feature | ogimagex | og-image.vercel.app |
|---|---|---|
| Templates | 18 | 1 |
| Rendering | SVG + resvg-wasm | Headless Chromium |
| Cold-start delay | None | Frequent |
| PNG output | ✓ | ✓ |
| SVG output | ✓ | — |
| Live playground UI | ✓ | Basic form |
| URL params for typography, colors | ✓ | Limited |
| Actively maintained | ✓ | — |
| Open source | ✓ | ✓ |
Migrating from og-image.vercel.app
Swap the origin and pick a template. Example:
# Before https://og-image.vercel.app/Hello%20World.png?theme=dark # After https://ogimagex.xyz/api/public/og/simple?title=Hello+World&accent=%237c3aed