Hacker News

Show HN: OG Image API – Generate social preview images with JSON

Hey HN! I built this because I was tired of manually creating OG images for every blog post and side project.

How it works: - Send a POST request with JSON (title, subtitle, template, etc.) - Get back a PNG in ~50-100ms - No Puppeteer, no browser automation — uses node-canvas for fast server-side rendering

Live demo on the homepage (no signup needed). Free tier includes 10 images/month.

I'm launching on Product Hunt today too, but honestly HN feedback is what I care about most. Would love to hear: - What templates would be useful? - Any features missing?

Happy to answer questions about the tech stack!