OG Image API - Free Open Graph Generator
Create branded Open Graph images for social sharing. Pass a title and optional description, pick a light or dark theme, set an accent color, and include your logo URL. The API returns a ready-to-use PNG you can serve as your og:image meta tag.
Code examples
curl -X POST https://api.botoi.com/v1/og/generate \
-H "Content-Type: application/json" \
-d '{"title":"Ship faster with the Botoi API","description":"150+ developer endpoints, zero infrastructure to manage.","theme":"dark","color":"#3b82f6","logo":"https://botoi.com/logo.png"}'When to use this API
Dynamic blog post previews
Generate a unique OG image for every blog post at publish time. Pass the post title and excerpt to the API, cache the resulting PNG on your CDN, and every social share gets a branded preview without manual design work.
SaaS dashboard share cards
When users share a report or dashboard link, generate an OG image on the fly that includes the report title and a summary stat. Recipients see a rich preview instead of a generic fallback.
E-commerce product cards
Create social preview images for product pages by passing the product name, price, and brand color. Each product link shared on Twitter, Slack, or LinkedIn renders a polished card.
Frequently asked questions
What dimensions does the generated OG image use?
Can I use a custom font?
How do I serve this as my og:image tag?
Is the response cached?
What happens if I omit the description?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.