flash-sale

Flash sale OG image template

A giant discount on a full accent-coloured background with diagonal stripes, the sale name and when it ends.

Flash sale Open Graph image template rendered by Shareglint
Flash sale template at square size (1080×1080)
Flash sale template at portrait size (1080×1350)
Flash sale template at story size (1080×1920)
Flash sale template at pinterest size (1000×1500)
Flash sale 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 time-limited sales, Black Friday and app-wide promotions. The whole frame is your accent colour, the discount is the largest thing on it and the end time sits on a dark pill so the urgency reads at thumbnail size. Text colour adapts to the accent, so a yellow brand gets dark type automatically.

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
discount text The discount, e.g. 70%. Long values shrink to fit. default: 50% 70%
off_label text Word printed after the discount, e.g. OFF. default: OFF —
title text Name of the sale, e.g. Flash sale. default: Flash sale —
subtitle text What is on sale, e.g. Everything sitewide. Everything sitewide, today only
ends text When the sale ends, e.g. Ends tonight at 23:59. Ends tonight at 23:59
cta text Call to action on the button. default: Shop the sale —
site text Your domain or a short URL. aurora-audio.com
logo image URL Shop logo, shown next to the site address. —
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #facc15 #facc15
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": "flash-sale",
    "modifications": {
        "discount": "70%",
        "subtitle": "Everything sitewide, today only",
        "ends": "Ends tonight at 23:59",
        "site": "aurora-audio.com"
    }
}'

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/flash-sale.png?discount=70%25&ends=Ends%20tonight%20at%2023%3A59&site=aurora-audio.com&subtitle=Everything%20sitewide%2C%20today%20only&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/flash-sale/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More OG image templates

All templates →