Skip to content

Templates Overview

OG Image API includes 10 professionally designed templates covering every major use case.

MVP Templates (Always Available)

TemplateIDBest ForDimensions
Title + SubtitledefaultBlog posts, articles1200×630
Blog PostblogContent marketing1200×630
Product CardproductE-commerce1200×630
Profile CardprofileTeam pages, directories1200×630
Real EstaterealestateProperty listings1200×630
E-commerce GridgridProduct collections1200×630

Advanced Templates

TemplateIDBest ForDimensions
Stats CardstatsDashboards, metrics1200×630
EventeventWebinars, conferences1200×630
Social SharesocialViral content1200×630
Meme GeneratormemeMarketing memes1200×630

Themes

Every template supports both themes:

Dark Theme

  • Deep, rich background colors
  • White/light text for contrast
  • Professional, modern aesthetic
  • Best for: tech, SaaS, developer content

Light Theme

  • Clean, bright backgrounds
  • Dark text on light backgrounds
  • Fresh, approachable feel
  • Best for: lifestyle, corporate, general content

Choosing the Right Template

┌─────────────────────────────────────────────────────────────┐
│                    What are you creating?                    │
└─────────────────────────────────────────────────────────────┘

          ┌───────────────────┼───────────────────┐
          │                   │                   │
     ┌────▼────┐        ┌────▼────┐        ┌────▼────┐
     │  Blog   │        │Commerce │        │ Business│
     │ Content │        │         │        │         │
     └────┬────┘        └────┬────┘        └────┬────┘
          │                  │                  │
    ┌─────┴─────┐      ┌─────┴─────┐      ┌─────┴─────┐
    │           │      │           │      │           │
┌───▼───┐  ┌───▼───┐  ┌───▼───┐  ┌───▼───┐  ┌───▼───┐
│default│  │ blog  │  │product│  │ grid  │  │ stats │
└───────┘  └───────┘  └───────┘  └───────┘  └───────┘
 Simple     Author    Single    Multiple   Metrics
  post       info     product   products   & KPIs

Template Fields Reference

Common Fields (All Templates)

FieldTypeDescription
titlestringMain headline text
subtitlestringSecondary descriptive text
themestringdark or light
logo_urlstringBrand logo URL

Template-Specific Fields

Blog Template

json
{
  "author_name": "string",
  "author_avatar_url": "string",
  "reading_time": "string"
}

Product Template

json
{
  "product_image_url": "string",
  "price": "string",
  "original_price": "string",
  "brand": "string",
  "rating": "number (0-5)",
  "badge": "string"
}

Profile Template

json
{
  "name": "string",
  "role": "string",
  "avatar_url": "string",
  "tagline": "string"
}

Real Estate Template

json
{
  "property_image_url": "string",
  "address": "string",
  "price": "string",
  "beds": "number",
  "baths": "number",
  "sqft": "string"
}

Stats Template

json
{
  "stat_value": "string",
  "stat_label": "string",
  "trend_icon": "up|down|neutral",
  "trend_value": "string"
}

Event Template

json
{
  "date": "string",
  "time": "string",
  "location": "string",
  "speaker_name": "string",
  "speaker_avatar_url": "string"
}

Grid Template

json
{
  "grid_images": ["url1", "url2", "url3", "url4"],
  "grid_title": "string"
}

Meme Template

json
{
  "image_url": "string",
  "caption_top": "string",
  "caption_bottom": "string"
}

Image Specifications

All templates generate images with these specifications:

PropertyValue
Width1200px
Height630px
FormatPNG
Color SpacesRGB
Aspect Ratio1.91:1

Platform Compatibility

Generated images are optimized for:

PlatformDimensionsStatus
Twitter/X1200×630✅ Optimal
Facebook1200×630✅ Optimal
LinkedIn1200×630✅ Optimal
Discord1200×630✅ Optimal
Slack1200×630✅ Optimal
WhatsApp1200×630✅ Optimal
iMessage1200×630✅ Optimal

Typography

All templates use carefully selected fonts:

ElementFontWeightSize Range
TitleInterBold (700)48-64px
SubtitleInterRegular (400)24-32px
BodyInterRegular (400)18-24px
CaptionInterMedium (500)14-18px

Next Steps

Generate stunning Open Graph images programmatically.