gift-card

Gift card OG image template

A glossy gift card with a chip, your logo and the amount, tilted next to a headline and a call to action.

Gift card Open Graph image template rendered by Shareglint
Gift card template at square size (1080×1080)
Gift card template at portrait size (1080×1350)
Gift card template at story size (1080×1920)
Gift card template at pinterest size (1000×1500)
Gift card 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 gift card campaigns before holidays and birthdays. The card is drawn as a real object — gradient, shine, chip and rounded corners — in your accent colour, with the amount and the recipient printed on it, so the image explains the product before anyone reads the copy.

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
amount text Card value, e.g. $100. default: $50 $100
title text Headline next to the card. default: Give the gift of choice The present they actually want
message text One line under the headline. Delivered by email in seconds. Never expires.
recipient text Name printed on the card, e.g. For Maya. For Maya
label text Small label on the card, e.g. Gift card. default: Gift card —
brand text Shop name printed on the card. Northwind Store
cta text Call to action on the button. Buy a gift card
site text Your domain or a short URL. northwind.shop
logo image URL Shop logo printed on the card. https://example.com/images/logo-northwind.png
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #8b5cf6 #8b5cf6
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": "gift-card",
    "modifications": {
        "amount": "$100",
        "title": "The present they actually want",
        "message": "Delivered by email in seconds. Never expires.",
        "recipient": "For Maya",
        "brand": "Northwind Store",
        "cta": "Buy a gift card",
        "site": "northwind.shop",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'

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/gift-card.png?amount=%24100&brand=Northwind%20Store&cta=Buy%20a%20gift%20card&message=Delivered%20by%20email%20in%20seconds.%20Never%20expires.&recipient=For%20Maya&site=northwind.shop&title=The%20present%20they%20actually%20want&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/gift-card/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More OG image templates

All templates →