Quick Start

Generate your first OG image in under 30 seconds. No API key needed.

Step 1 — Choose a Template

ogmint ships with 15 built-in templates. Each is optimized for a different use case. See the full list on the Templates page.

Popular choices:

  • blog — Blog posts and articles
  • minimal — Clean, text-focused cards
  • social — Social media share cards
  • product — Product launch announcements

Step 2 — Build the URL

Construct a GET request with your template and content:

Request URL
https://ogmint.app/api/og?template=blog&title=My+First+OG+Image&author=Jane+Doe&tag=Tutorial

Step 3 — Use It

Drop the URL into your HTML <meta> tags:

HTML
<meta property="og:image" content="https://ogmint.app/api/og?template=blog&title=My+Post" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://ogmint.app/api/og?template=blog&title=My+Post" />

Step 4 — Short URLs (Cleaner)

Use the /i/ prefix for cleaner URLs:

Short URL Format
https://ogmint.app/i/blog?title=My+Post&author=Jane
↕ same as ↕
https://ogmint.app/api/og?template=blog&title=My+Post&author=Jane

Step 5 — Customize Colors

Override default colors with hex values (without #):

Custom Colors
https://ogmint.app/i/blog?title=Dark+Mode&bgColor=0a0a0f&textColor=f0f0f8&accentColor=6366f1

Or use a built-in color palette: midnight, paper, forest, sunset, ocean.

Using Palettes
https://ogmint.app/i/blog?title=Forest+Theme&palette=forest
💡 Tip
Want persistent CDN storage, webhooks, and dedup? Check out the V2 Render API.

Next: API Reference

For the full list of parameters, validation rules, and response formats, see the V1 API Reference.