A discount sticker that beats over turning rays, a shining button and a ticker running along the bottom.
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 flash sales and promo codes. Everything moves in a loop that closes seamlessly, so the GIF never jumps when it starts over. A still format renders the sticker, title and button as a regular sale card.
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 | Discount on the sticker, e.g. -30%. default: 50% | 70% |
off_label |
text | Word under the discount, e.g. OFF. default: OFF | — |
title |
text | The main headline. default: Flash sale | — |
subtitle |
text | One line under the title, e.g. Everything sitewide, today only. | Everything sitewide, today only |
ends |
text | When the sale ends, on a chip, 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 |
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. | — |
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": "animated-sale-pulse",
"modifications": {
"discount": "70%",
"subtitle": "Everything sitewide, today only",
"ends": "Ends tonight at 23:59",
"site": "aurora-audio.com"
}
}'
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/animated-sale-pulse.png?discount=70%25&ends=Ends%20tonight%20at%2023%3A59&site=aurora-audio.com&subtitle=Everything%20sitewide%2C%20today%20only&s=YOUR_SIGNATURE">
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/animated-sale-pulse/copy" \
-H "Authorization: Bearer sk_live_YOUR_KEY"