Skip to content

List Templates

Get available templates and their configurations.

Endpoint

GET /api/templates

Headers

No authentication required for this endpoint.

Response

Success (200)

json
{
  "templates": [
    {
      "id": "default",
      "name": "Default",
      "themes": ["dark", "light"]
    },
    {
      "id": "minimal",
      "name": "Minimal",
      "themes": ["dark", "light"]
    },
    {
      "id": "vibrant",
      "name": "Vibrant",
      "themes": ["dark", "light"]
    }
  ]
}

Fields

FieldTypeDescription
idstringTemplate identifier for API requests
namestringHuman-readable template name
themesarrayAvailable color themes

Example

bash
curl https://ogimageapi.io/api/templates

Available Templates

Default

The standard template with gradient backgrounds and dot patterns.

Features:

  • Gradient background
  • Subtle dot pattern overlay
  • Accent bar on left edge
  • Balanced typography

Best for: Blog posts, articles, general content

Minimal

Clean, distraction-free design with solid backgrounds.

Features:

  • Solid color background
  • No patterns
  • Larger title text
  • Maximum readability

Best for: Professional content, announcements, product pages

Vibrant

Bold, energetic design with rich gradients and grid patterns.

Features:

  • Multi-color gradient
  • Grid pattern overlay
  • Vibrant accent colors
  • Eye-catching style

Best for: Marketing content, event promotions, social campaigns

Theme Comparison

Dark Theme

  • Deep, rich backgrounds
  • White/light text
  • Professional, modern feel
  • Works well on all platforms

Light Theme

  • Clean, bright backgrounds
  • Dark text
  • Fresh, approachable feel
  • Great for light-themed sites

Generate stunning Open Graph images programmatically.