Appearance
List Templates
Get available templates and their configurations.
Endpoint
GET /api/templatesHeaders
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
| Field | Type | Description |
|---|---|---|
id | string | Template identifier for API requests |
name | string | Human-readable template name |
themes | array | Available color themes |
Example
bash
curl https://ogimageapi.io/api/templatesAvailable 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