Documentation
Add URL-based OG image generation to your website in under 2 minutes. MyOG detects the page content and brand automatically.
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.
Add your domain
Add your domain to the dashboard so we can verify requests.
Add the meta tag
Include the OG image meta tag in your page's head.
We detect the page
When someone shares your URL, we detect the title, description, brand signals, logo, colors, and page imagery.
Generate and cache
MyOG composes the OG image and caches it for 7 days for fast delivery.
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.
Ghost
Code injection
WordPress
Official plugin or code snippet
Jekyll / GitHub Pages
Head template
Shopify
Liquid snippet for Online Store themes
Webflow
Custom head code for static and CMS pages
Squarespace
Page header code injection
Wix
Advanced SEO tags and Velo notes
Framer
Metadata and social image workflow
Next.js
App Router metadata API
Nuxt
useSeoMeta and route helpers
SvelteKit
load data plus <svelte:head>
Astro
Reusable Head.astro component
Gatsby
Head API SEO component
Eleventy
Layout snippet with page.url
Hugo
Open Graph partial override
Docusaurus
themeConfig metadata and MDX head
Rails
ERB layout helper with request URL
Django
Template block using request URL
React Router
Route meta export for Framework Mode
Laravel
Blade layout snippet with URL helpers
Using a different platform? Press the Get help button. For debugging notes, see the Open Graph articles.
https://api.myog.social/ogurl is required. template is optional; content and branding are detected automatically. Sign in before copying install code so MyOG can generate the complete URL for your account.
urlThe full URL of your page
Required · String
templateLayout choice, such as screenshot-right or brand
Optional · String
Setup takes less than 2 minutes.
Already have an account?
9355e1d0af85531fec59b28108cfa489a0cb1a32