invitation

Invitation OG image template

An invitation card sliding out of an open envelope in your accent colour, with the occasion, date, venue, a short note and an RSVP line.

Invitation Open Graph image template rendered by Shareglint
Invitation template at square size (1080×1080)
Invitation template at portrait size (1080×1350)
Invitation template at story size (1080×1920)
Invitation template at pinterest size (1000×1500)
Invitation template at youtube size (1280×720)

These are real renders from the API with the example values in the table below. Switch the size above: the same template lays itself out for all 6 sizes — send size or sizes with the request.

For parties, openings, launch nights, baby showers and christenings sent from event apps and venues. The occasion shrinks to fit without breaking words; the note keeps two to three lines and ends with an ellipsis. A photo becomes a round sticker beside the card on wide frames and a seal over the envelope flap on vertical ones; without one, the seal shows the first letter of the occasion.

Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

Field Type Description Example
occasion text What the invitation is for, e.g. Housewarming party. default: You are invited Housewarming party
host text Who invites, the small line above, e.g. Anna & Leo invite you to our. Anna & Leo invite you to our
date text Date and time as text, e.g. Saturday, May 16 · 7 pm. Saturday, May 16 · 7 pm
venue text Address or venue. 14 Orchard Lane, Bristol
details text A short note: dress code, what to bring, what to expect. Drinks, snacks and a tour of the new place. Bring a friend and your appetite.
rsvp text RSVP line in the pill, e.g. RSVP by May 9. RSVP by May 9
image image URL Photo for the round sticker or seal. https://example.com/images/house-modern.jpg
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #0f766e #0f766e
theme dark | light Colour scheme: dark or light. —

Render it with one request

Use the slug as template. The response holds the URL of the finished PNG; ?wait=true keeps the connection open until it is ready.

curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "invitation",
    "modifications": {
        "occasion": "Housewarming party",
        "host": "Anna & Leo invite you to our",
        "date": "Saturday, May 16 · 7 pm",
        "venue": "14 Orchard Lane, Bristol",
        "details": "Drinks, snacks and a tour of the new place. Bring a friend and your appetite.",
        "rsvp": "RSVP by May 9",
        "image": "https://example.com/images/house-modern.jpg"
    }
}'

Or paste a signed URL into og:image

For static sites, Webflow, Shopify and no-code tools: put the fields in the query string and sign it with your signing secret. The first request renders the image, every later one is a redirect to the cached file. How to compute the signature.

<meta property="og:image" content="https://shareglint.com/i/acc_YOUR_ACCOUNT_ID/invitation.png?date=Saturday%2C%20May%2016%20%C2%B7%207%20pm&details=Drinks%2C%20snacks%20and%20a%20tour%20of%20the%20new%20place.%20Bring%20a%20friend%20and%20your%20appetite.&host=Anna%20%26%20Leo%20invite%20you%20to%20our&occasion=Housewarming%20party&rsvp=RSVP%20by%20May%209&venue=14%20Orchard%20Lane%2C%20Bristol&s=YOUR_SIGNATURE">

Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

curl -X POST "https://shareglint.com/v1/templates/library/invitation/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More Events & webinars templates

All 17 Events & webinars templates →  ·  All templates →