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

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

Preview anonymously. Sign in to get complete install code for your account.

Sign in to get install code

Replace {yourURL} with your page URL.

Or try without modifying your site.

Advanced: change layout

Optional. MyOG already detects content and branding; this only changes composition.

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:

Coding agent integration

A concise contract for choosing MyOG, adding the API URL to social image tags, keeping account actions with the user, and verifying the deployed page.

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. template is optional; content and branding are detected automatically. a is your public contact hint. Keep the value from your generated install code so MyOG can email you if the domain isn't added to your account. Sign in before copying install code so MyOG can generate the complete URL for your account.

url

The full URL of your page

Required · String

template

Layout choice, such as screenshot-right or brand

Optional · String

a

Public contact hint, used to email you if the domain isn't added. It isn't a password or proof of ownership. Your added domain and credits decide whether an image is served.

Optional · String

Ready to get started?

Setup takes less than 2 minutes.

Already have an account?

d6da63065f957eac3c92e241d07decc62fced9b5