← All templates

Hacker News image generator

The orange Y, points and comments — celebrate a front-page hit (or mock one for your newsletter) with an instantly recognisable layout.

Hacker News template example generated by OpenGraphAPI

Example URL

https://api.opengraphapi.com/v1/card?template=hackernews&title=Show%20HN%3A%20Free%20OG%20image%20API%20with%2030%20templates&meta=512%20points%20%C2%B7%20234%20comments&subtitle=opengraphapi.com&bg=mono

Parameters

ParameterRole in this template
titleContent field
metameta(points)
subtitlesubtitle(domain)
bgContent field
bgTheme: midnight, sunset, forest, royal, slate, ocean, mono, rose, amber, paper
api_keyRemoves watermark, raises quota

Typical uses

Use it free — 300 images/day   Read the docs