🖼️

OG Image Generator API

Generate stunning Open Graph images programmatically. Perfect for dynamic social media cards, blog post previews, and branded link sharing.

API Endpoint

POST /v1/og-image

Parameters

Name Type Required Description
titlestringYesMain title text for the OG image
descriptionstringNoSubtitle or description text
themestringNoColor theme (light, dark, gradient)
logostringNoURL to logo image to include

Quick Example

curl -X POST "https://api.toolcenter.dev/v1/og-image" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "My Blog Post", "description": "A great article", "theme": "gradient"}' \
  --output og-image.png

Features

  • Custom templates with title, description, and branding
  • Dynamic text rendering with multiple fonts
  • Custom backgrounds, colors, and logos
  • Optimized 1200×630 output for all platforms
  • Instant generation — no headless browser needed

Use Cases

Auto-generate social cards for blog posts

Dynamic preview images for product pages

Branded link sharing on social media

Email campaign header images

Start Using OG Image Generator API for Free

500 free API calls per month. No credit card required.

Get Started Free