← All templates

Tweet Card image generator

Clean tweet-like cards for embedding posts in articles, newsletters and docs — without third-party embed scripts slowing your pages down.

Tweet Card template example generated by OpenGraphAPI

Example URL

https://api.opengraphapi.com/v1/card?template=tweet&title=Just%20replaced%20my%20whole%20image%20pipeline%20with%20one%20URL.&subtitle=Sarah%20Chen&meta=@sarahbuilds&bg=paper

Parameters

ParameterRole in this template
titletitle(text)
subtitlesubtitle(author)
metameta(@handle)
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