Documentation

Integration Guide

Add URL-based OG image generation to your website in under 2 minutes. MyOG detects the page content and brand automatically.

1

Add the meta tag

Pick a layout (optional):

MyOG detects content and branding automatically. The layout only controls composition.

Add this to your <head> for pages you want OG images generated:

<meta property="og:image" content="https://api.myog.social/og?url={yourURL}&template=screenshot-right" />

Replace {yourURL} with your page URL.

The a account hint is optional and appears here when available. The url parameter is required; template is optional.

Or try without modifying your site.

2

How it works

1

Add your domain

Add your domain to the dashboard so we can verify requests.

2

Add the meta tag

Include the OG image meta tag in your page's head.

3

We detect the page

When someone shares your URL, we detect the title, description, brand signals, logo, colors, and page imagery.

4

Generate and cache

MyOG composes the OG image and caches it for 7 days for fast delivery.

CMS

Platform Guides

Step-by-step instructions for popular platforms:

Using a different platform? Press the Get help button. For debugging notes, see the Open Graph articles.

API

API Reference

GEThttps://api.myog.social/og

Parameters

url is required. a and template are optional; content and branding are detected automatically.

url

The full URL of your page

Required · String

a

Account hint, shown in snippets when you are signed in and it is available

Optional · String

template

Layout choice, such as screenshot-right or brand

Optional · String

Ready to get started?

Setup takes less than 2 minutes.

Already have an account?

5c5e512e103f189148a01e387ffb76c1ad18e1fc