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

  1. 1

    Design Your Template

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

  2. 2

    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.

  3. 3

    Dynamic Generation

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

Connect with Your Favorite Tools

Multiple ways to generate OG images automatically

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.7

"Business pressures now demand almost a 24x7 operation. The difference between choosing one SaaS product or another isn't just down to the technical capabilities of each, but down to their responsiveness when it doesn't quite work. In this case, an issue blocked us from being able to use the platform as intended. Within minutes of using the live chat, the issue was not only reproduced but correctly identified. Within the hour, the hot fix had been coded, tested and applied - unblocking the bottleneck and allowing us to carry on working. This is exceptional and the reason why I can't recommend this company enough - I'm so impressed and very grateful for their hard work. Keep it up!"

March 12, 2026
J

Jason

"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

"We were looking for tools to help our users create and edit images with templates. We tried options like Canva, but Templated.io turned out to be the perfect choice for our product. It offers an easy API to render images, and its embed editor lets us provide our users with a full editing experience without having to create complex frontend components. It's a really great tool!"

September 16, 2025
H

Harish

"We integrate Templated.io into our portal for custom flyer generation. The editor is amazing, and the Canva import tool is exactly what we were looking for. Massive shoutout to Pedro for the technical support. He responds incredibly fast and fixes issues in no time. Highly recommended!"

June 9, 2026
YZ

Yuan Zhuang

"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

"Very reliable platform. Almost no errors ever. Easy to setup templates and use the API. And AMAZING support!"

March 24, 2026
LP

Lawrence Perera

"We booked the "Scale" package to use it as a "print product editor" and we are amazed by the features and the support! Pedro replies to every question and also implemented small hints to the API for better functions on our request. Absolutly great Software and Service!"

December 18, 2025
SR

Sven Rißmann

südheide.media

"Templated.io is basically a an API-first graphics content designer which makes it super easy to programmatically create document and image assets. It has most basic features and it is robust and "just works". The Make.com app really makes it super simple to incorporate into automation workflows. What sets templated.io apart the most is Pedro and his super fast and service minded, solutions oriented responses."

May 26, 2025
S

Siavash

"Amazing API, perfect support and a lot of new features on a monthly basis."

November 26, 2025
KS

Kalina Staykova

"Currently working through an implementation of Templated.io and the customer service has been spectacular!!! I get near immedate response and near immediate remedies. It's glorious. I wish other companies were like this!!! Strong recommendation!"

July 17, 2026
Tracy C Profile Photo

Tracy C

"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

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