OG Image Automation

Automate OG Image Generation

Create dynamic Open Graph images for blog posts, landing pages, and social sharing automatically.

No credit card required • 50 free API credits

Why Automate OG Image Generation?

Every page you publish needs an OG image for social sharing—blog posts, product pages, landing pages, documentation. Creating these manually is tedious and often gets skipped.

With Templated, generate OG images dynamically based on page content. When someone shares your blog post on Twitter or LinkedIn, they see a beautiful, on-brand preview with the actual title and description—generated automatically.

How It Works

Three steps to automated OG images

Design Your Template

Create an OG image template (1200x630) with your branding, title placeholder, and optional author/category elements.

Integrate with Your Site

Use our API or signed URLs to generate OG images on-the-fly. Pass page title, description, and metadata as parameters.

Dynamic Generation

OG images are generated automatically when pages are shared. No manual work needed—every page gets a unique, professional preview.

Generate OG Images via API

A simple POST request to generate Open Graph images

fetch('https://api.templated.io/v1/render', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
template: 'your-og-template-id',
layers: {
title: {
text: 'How to Build a REST API with Node.js'
},
description: {
text: 'A complete guide to building production-ready APIs'
},
author: {
text: 'Jane Smith'
},
category: {
text: 'Engineering'
},
author_avatar: {
image_url: 'https://example.com/authors/jane.jpg'
}
}
})
})
.then(res => res.json())
.then(data => console.log(data.render_url));

Popular OG Image Use Cases

Blog Posts

Generate unique OG images for every blog post with title, author, and category automatically.

Product Pages

Create product-specific social previews with product images, prices, and key features.

Documentation

Generate doc page previews with page titles and section information for developer docs.

Landing Pages

Create campaign-specific OG images for marketing landing pages and lead magnets.

User Profiles

Generate personalized social cards for user profiles, portfolios, and public pages.

Event Pages

Create event-specific previews with date, time, speakers, and registration info.

What our customers say

People love how great our product works and how we're always there to help

Rated 4.6 on

"Brilliant piece of software. Reasonably priced (vs Canva's outrageously expensive API), and despite a few intricacies with the editor, a really fully-featured document generation API. Really great support too from Pedro, the founder!"

August 17, 2025
JB

Jacob Burns

"Great customer service. Templated is a great tool and easy to work with, and their API just makes sense. It's fast, and great for automating visuals. What really stands out is their customer service quick replies, actually helpful, and clearly invested in their users. Smart product, built right."

March 17, 2025
BS

Brix Studio

"Life-saving and incredibly intuitive! This app is absolutely phenomenal! It literally saved my life and my automations on MAKE. The idea behind it is brilliant, and the execution is flawless. It's extremely intuitive, making it super easy to work with, even for those who aren't tech experts. The user-friendly interface and seamless functionality make automation effortless. I highly recommend it to anyone looking for a reliable and efficient solution!"

March 17, 2025
Filipe Souza Profile Photo

Filipe Souza

Basic Invitation

"Great time to value. It's simple to use, it does what it says on the tin, not obscure pricing or documentation - everything is as you expect it, and they have great customer service!"

March 13, 2025
EB

Elias Benussi

"After comparing several similar options, I ultimately chose Templated. I'm really enjoying its ease of use and impressive performance!"

December 19, 2024
Siddharth Elango Profile Photo

Siddharth Elango

"I love it. Great. I use it for a business purposes and works very well with make.com."

December 16, 2024
J

Jakub

"Templated is a game-changing innovation in programmatic design! So many use cases here, this a better option than Canva because they make their API private to enterprise customers only. Can't to see what the future has in store for this amazing company."

December 16, 2024
AR

Antonio Romero

"Great Customer service. A cool guy name Pedro start the conversation with me, as first I though It was an bot so I chat with him in my first language and took a moment for me to realise he is a real person (LOL), shout to them for taking their client even small issue!"

December 16, 2024
K

Kiennguyrn

"This is a clever idea, especially in concert with programmatic (AI-generated) SEO."

17 January 2024
Ryan Hoover Profile Photo

Ryan Hoover

Creator of ProductHunt

"The editor is easy to use, very similar to Canva and the API is simple enough to integrate on the backend."

20 February 2024
Halem Wenderson Profile Photo

Halem Wenderson

Developer at Telvetto

"Very useful service and great support team."

28 October 2024
John Allison Profile Photo

John Allison

Developer

"I have so many ideas running through my head right now of use cases I can do with your API using Bubble.io."

17 January 2024
Jesus Vazquez Profile Photo

Jesus Vazquez

Founder of Hustling Labs

"The possibilities with Templated are endless. The templates are super easy to set up and incredibly versatile. I plan to use this for various solutions in my own apps as well as my clients' apps in the future."

15 April 2024
Mike Mathisen Profile Photo

Mike Mathisen

No-code developer

"Love the tool and love the support from Pedro. The best of templated is how easy it is to create new templates!"

21 October 2024
Borja Pallasá YouTube Profile Photo

Borja Pallasá

No-code & AI YouTuber

Frequently Asked Questions

What size should OG images be?

The standard OG image size is 1200x630 pixels with a 1.91:1 aspect ratio. This works well across Facebook, Twitter, LinkedIn, and Slack. Templated supports any dimensions if you need different sizes.

Can I use signed URLs instead of the API?

Yes! Signed URLs let you generate OG images via URL parameters without making API calls. Perfect for static site generators and edge rendering. The image is generated and cached on first request.

How do I integrate with Next.js or Vercel?

Use our API in your getServerSideProps or API routes, or use signed URLs directly in your meta tags. We have examples for Next.js, Astro, Gatsby, and other frameworks in our docs.

Are OG images cached?

When using signed URLs, images are cached after the first generation. For API calls, you can store the rendered URL and reuse it. This keeps costs low and response times fast.

Can I include author photos or avatars?

Absolutely! Add an image layer for author avatars. Pass the avatar URL via the API and it's included in the generated OG image. Works great for blog posts and user profiles.

Is there a free tier for testing?

Yes! Sign up and get 50 free API credits to test OG image generation. No credit card required. This is enough to fully test your workflow before committing to a paid plan.

Ready to automate your OG images?

Start generating dynamic social cards automatically. 50 free API credits, no credit card required.

No credit card required
Start Free Trial