Open-source OG image generation with 8 templates, custom fonts, and batch generation.
ShotOG is an API for generating Open Graph images programmatically, deployed on an edge network. It exposes GET and POST endpoints to create images from parameters such as title, subtitle, eyebrow text, author, and template, with output as PNG or SVG at configurable dimensions. A batch endpoint generates up to 20 images in a single request, returning base64-encoded data URIs.
The API supports multiple templates (basic, blog, product, social, event, changelog, testimonial, announcement) and allows customization of background, text, and accent colors, custom fonts via URL, and avatar or logo images depending on template. Response headers report cache status and render timing broken down by SVG generation and PNG conversion steps.
Access is via an API key passed through a header or query parameter, with self-service key creation and a usage-check endpoint. A demo mode without a key allows 10 requests per day; authenticated free-tier keys have a 500 request monthly limit. A TypeScript/JavaScript SDK is available via npm, offering both URL generation and direct image buffer generation.
Yes, self-service API keys start on a free tier with a 500 monthly request limit, and demo mode without a key allows 10 requests/day.
It's a REST API usable via curl or HTTP requests, with an official TypeScript/JavaScript SDK available via npm.
Pass your API key via the X-Api-Key header or api_key query parameter.
Yes, the /v1/og/batch endpoint generates up to 20 images in a single request and returns JSON with base64 data URIs.
It's aimed at developers who need to generate Open Graph images programmatically, for example for blog posts or product pages.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
This API helps you remove background from any image.
Image Background removal.
Photo optimization.
Stock Photos and Videos.
Image management solutions like optimization, manipulation, hosting.
Compress, convert, and optimize images automatically with adaptive AI tuning.